Skip to content

Commit 481dd13

Browse files
committed
Add two-column grid layout with spacing
1 parent 57c0984 commit 481dd13

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

Wireframe/style.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,19 @@ As well as useful links to learn more */
2626
}
2727
/* ====== Base Elements ======
2828
General rules for basic HTML elements in any context */
29+
30+
* {
31+
box-sizing: border-box;
32+
}
33+
2934
body {
3035
background: var(--paper);
3136
color: var(--ink);
3237
font: var(--font);
3338

3439
}
3540

36-
* {
37-
box-sizing: border-box;
38-
}
41+
3942

4043
header {
4144
max-width: var(--container);
@@ -66,6 +69,11 @@ a {
6669
transition: all 0.3s ease;
6770
}
6871

72+
a:hover {
73+
background-color: color-mix(in oklab, var(--paper)90%, white);
74+
transform: scale(1.02);
75+
}
76+
6977
img,
7078
svg {
7179
width: 100%;

0 commit comments

Comments
 (0)