-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
140 lines (121 loc) · 2.59 KB
/
style.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
134
135
136
137
138
139
140
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
:root {
--background-color-1: #303030;
--background-color-2: #404038;
--text-color-1: #cccccc;
--text-color-2: #ffffff;
--accent-color: #ffdd00;
}
body {
background-color: var(--background-color-1);
color: var(--text-color-1);
font-family: "Raleway", sans-serif;
margin: 0;
padding: 0;
}
nav {
font-family: "Share Tech Mono", monospace;
display: flex;
justify-content: space-between;
align-items: center;
background-color: var(--background-color-2);
padding: 1rem;
margin: 1rem;
}
.navbar-left {
color: var(--accent-color);
font-size: 1.5rem;
}
.navbar-right {
list-style: none;
display: flex;
gap: 1rem;
margin: 0;
padding: 0;
}
.navbar-right li a {
color: var(--text-color-2);
text-decoration: none;
font-size: 1rem;
padding: 0.5rem;
}
.navbar-right li:hover {
color: var(--accent-color);
/* background-color: var(--background-color-1); */
}
.container {
display: flex;
justify-content: center;
align-items: center;
margin: 2rem;
}
.description {
color: var(--text-color-1);
margin: 1rem;
padding: 1rem;
width: 50%;
max-width: 300px;
/* background-color: var(--background-color-2); */
}
h1 {
font-family: "Share Tech Mono", monospace;
font-size: 2rem;
color: var(--accent-color);
}
h2, h3 {
font-family: "Share Tech Mono", monospace;
color: var(--text-color-2);
}
h1.title {
font-size: 3rem;
text-align: center;
margin: 2rem;
}
#laptop-svg {
/* fill: var(--accent-color); */
height: 10rem;
max-width: 500px;
}
.screenshot {
max-width: 300px;
}
.repo-link {
color: var(--accent-color);
text-decoration: none;
}
.hamburger {
display: none;
font-size: 1.5rem;
cursor: pointer;
color: var(--accent-color);
}
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.description {
width: 100%;
}
.navbar-right {
display: none;
flex-direction: column;
width: 100%;
position: absolute;
top: 100px;
left: 0;
background-color: var(--background-color-2);
}
.navbar-right.show {
display: flex;
}
.navbar-right li {
text-align: center;
padding: 1rem 0;
width: 100%;
}
.hamburger {
display: block;
}
}