-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
133 lines (113 loc) · 2.38 KB
/
main.css
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import "nord.css";
:root {
--sans-serif: Montserrat, sOxygen, Ubuntu, Cantarell, "Open Sans",
"Helvetica Neue", sans-serif;
--monospace: "Jetbrains Mono", monospace;
}
body {
font-family: var(--monospace);
color: white;
text-align: center;
}
h1#hero-typed {
font-size: 5em !important;
}
p#hero-typed {
font-size: 1.7em;
}
h1 {
font-size: 4em;
}
p {
font-size: 1.5em;
}
nav {
top: 0;
position: fixed;
width: 100%;
z-index: 9;
}
nav ul div {
display: flex;
list-style-type: none;
background-color: var(--nord7);
padding: 10px;
margin-right: 40px;
border-radius: 51vh;
/* box-shadow:
0 0 7px #fff,
0 0 10px #fff,
0 0 21px #fff,
0 0 42px #0fa,
0 0 82px #0fa,
0 0 92px #0fa,
0 0 102px #0fa,
0 0 151px #0fa; */
box-shadow:
0px 0px 2px rgba(143, 188, 187, 0.5),
0px 0px 4px rgba(143, 188, 187, 0.5),
0px 0px 8px rgba(143, 188, 187, 0.5),
0px 0px 16px rgba(143, 188, 187, 0.5);
}
nav ul div:first-child {
float: left;
}
nav ul div:last-child {
float: right;
}
nav ul div:last-child li {
padding: 0 15px;
}
nav ul div:first-child li {
padding: 0 10px;
}
nav ul div li a {
color: var(--nord1);
}
#hamburger {
display: none;
}
.section:not(.section:first-child) {
padding: 0 20vw;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Section styles */
.section:nth-child(odd) {
background-color: var(--nord0);
}
.section:nth-child(even) {
background-color: var(--nord1);
}
/* Responsive Media Queries */
@media only screen and (max-width: 900px) {
/* Hiding the inline list elements on the right */
nav ul div li {
display: none;
}
nav ul div:first-child li {
display: block;
}
#hamburger {
display: flex;
flex-direction: column;
}
#hamburger span {
width: 35px;
height: 5px;
background-color: var(--nord1);
border-radius: 51vh;
}
#hamburger span:first-child,
#hamburger span:nth-child(2) {
margin-bottom: 4px;
}
/* #hamburger span:last-child {
marg: 5px 0px;
} */
}