This repository was archived by the owner on Jan 12, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
96 lines (78 loc) · 1.93 KB
/
style.css
File metadata and controls
96 lines (78 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
:root {
/* Define the main color in HEX */
--main-color: #275317; /* Main color */
/* Define a complementary color */
--complementary-color: #213e17; /* Complementary color */
/* Gray color definition */
--gray: #353535; /* Equivalent to hsl(200, 20%, 50%) */
}
body {
display: flex;
flex-flow: column;
min-height: 100vh;
margin: 0;
font: 120%/1.5 'JetBrains Mono', system-ui, sans-serif; /* Updated font */
}
a {
color: #4A6B1D; /* Equivalent to hsl(120, 50%, 40%) */
}
a:where(:visited) {
color: #4A6B1D; /* Equivalent to hsl(120, 50%, 40%) */
}
pre, code {
font-family: 'JetBrains Mono', Consolas, "Liberation Mono", Menlo, Courier, monospace; /* Updated font */
}
input, select, textarea {
font: inherit;
}
body > header,
nav,
main,
body > footer {
padding: 1.5rem clamp(1rem, 50vw - 20rem, 20vw);
}
body > header {
background: var(--main-color);
color: white;
text-align: center;
}
body > header h1 {
margin: 0;
font-size: 500%;
}
body > header h1::before {
content: "";
display: inline-block;
vertical-align: middle;
width: 2em;
height: 2em;
margin-right: .1em;
background: url(logo.svg) center / contain no-repeat;
transition: .4s;
filter: drop-shadow(0 0 white);
}
/* Media queries and other styles remain unchanged */
body > footer {
background: #489148; /* This can remain as is for transparency */
}
/* Update footer links */
body > footer a {
color: inherit; /* Inherits the default link color */
}
/* Update navigation styles */
nav {
display: flex;
padding-top: 0;
padding-bottom: 0;
background: var(--complementary-color); /* Using complementary color */
}
nav > a {
flex: 1;
padding: .4em .5em;
color: white;
font-weight: bold;
}
nav > a:hover {
background: linear-gradient(to right, var(--main-color), var(--complementary-color));
}
/* Additional styles remain unchanged */