Skip to content

Commit 9d5fe84

Browse files
committed
edit style
1 parent 3bf756a commit 9d5fe84

1 file changed

Lines changed: 4 additions & 19 deletions

File tree

Wireframe/style.css

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ header {
22
text-align: center;
33
}
44
:root {
5-
--paper: oklch(7 0 0);
6-
--ink: color-mix(in oklab, var(--color) 5%, black);
75
--font: 100%/1.5 system-ui;
86
--space: clamp(6px, 6px + 2vw, 15px);
97
--line: 1px solid;
@@ -15,20 +13,13 @@ body {
1513
color: var(--ink);
1614
font: var(--font);
1715
}
18-
a {
19-
padding: var(--space);
20-
border: var(--line);
21-
max-width: fit-content;
22-
}
16+
2317
img,
2418
svg {
2519
width: 100%;
2620
object-fit: cover;
2721
}
28-
main {
29-
max-width: var(--container);
30-
margin: 0 auto calc(var(--space) * 4) auto;
31-
}
22+
3223
footer {
3324
bottom: 0;
3425
text-align: center;
@@ -49,20 +40,14 @@ article {
4940
text-align: left;
5041
display: grid;
5142
grid-template-columns: var(--space) 1fr var(--space);
52-
> * {
53-
grid-column: 2/3;
54-
}
43+
5544
> img {
5645
grid-column: span 3;
5746
height: 300px;
5847
width: 100%;
5948
object-fit: cover;
6049
}
6150
}
62-
.container {
63-
display: flex;
64-
gap: 20px;
65-
align-items: flex-end;
66-
}
51+
6752

6853

0 commit comments

Comments
 (0)