Skip to content

Commit 781622d

Browse files
changed font and modified css
1 parent a5d2e63 commit 781622d

1 file changed

Lines changed: 30 additions & 6 deletions

File tree

Wireframe/style.css

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,39 @@ As well as useful links to learn more */
1616
https://web.dev/articles/min-max-clamp
1717
https://scrimba.com/learn-css-variables-c026
1818
====== Design Palette ====== */
19+
20+
@import url("https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap");
21+
1922
:root {
2023
--paper: oklch(7 0 0);
2124
--ink: color-mix(in oklab, var(--color) 5%, black);
22-
--font: 100%/1.5 system-ui;
25+
--font: 100%/1.5 "Permanent Marker", bold;
2326
--space: clamp(6px, 6px + 2vw, 15px);
2427
--line: 1px solid;
2528
--container: 1280px;
2629
}
30+
31+
h1,
32+
header p
33+
{
34+
text-align: center;
35+
}
36+
2737
/* ====== Base Elements ======
2838
General rules for basic HTML elements in any context */
29-
body {
39+
body{
3040
background: var(--paper);
3141
color: var(--ink);
3242
font: var(--font);
43+
text-transform: uppercase;
3344
}
45+
3446
a {
3547
padding: var(--space);
3648
border: var(--line);
3749
max-width: fit-content;
50+
color: var(--color)
51+
3852
}
3953
img,
4054
svg {
@@ -49,11 +63,13 @@ main {
4963
max-width: var(--container);
5064
margin: 0 auto calc(var(--space) * 4) auto;
5165
}
52-
footer {
53-
position: fixed;
54-
bottom: 0;
66+
footer,
67+
footer hr {
68+
margin-top: auto;
5569
text-align: center;
70+
min-width: span 2 ;
5671
}
72+
5773
/* ====== Articles Grid Layout ====
5874
Setting the rules for how articles are placed in the main element.
5975
Inspect this in Devtools and click the "grid" button in the Elements view
@@ -65,7 +81,7 @@ main {
6581
display: grid;
6682
grid-template-columns: 1fr 1fr;
6783
gap: var(--space);
68-
> *:first-child {
84+
> *:nth-child(1) {
6985
grid-column: span 2;
7086
}
7187
}
@@ -87,3 +103,11 @@ article {
87103
grid-column: span 3;
88104
}
89105
}
106+
107+
article h2{
108+
margin-bottom:0px;
109+
}
110+
111+
article p {
112+
margin-top:4px;
113+
}

0 commit comments

Comments
 (0)