-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
202 lines (173 loc) · 3.6 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
:root {
--main-bg-color: #282828;
--main-off-bg-color: #303030;
--main-select-color: #484848;
--main-fg-color: #ebdbb2;
--main-red-color: #cc241d;
--main-orange-color: #d65d0e;
--main-yellow-color: #d79921;
--main-green-color: #98971a;
--margin-body: 7%;
--footer-height: 50px;
}
.green {
color: var(--main-green-color);
}
.yellow {
color: var(--main-yellow-color);
}
.orange {
color: var(--main-orange-color);
}
.red {
color: var(--main-red-color);
}
@font-face {
font-family: 'Inconsolata';
src: url("./res/Inconsolata-Regular.ttf");
font-weight: 400;
font-style: monospace;
}
@font-face {
font-family: 'Inconsolata';
src: url("./res/Inconsolata-Bold.ttf");
font-weight: 700;
font-style: monospace;
}
::-moz-selection { /* Code for Firefox */
background: var(--main-select-color);
}
::selection {
background: var(--main-select-color);
}
.center {
text-align: center;
}
.footer a {
margin-right:30px;
}
.content-inside {
padding: 20px;
padding-bottom: 50px;
min-height:calc(100vh - 250px);
}
.footer {
height: var(--footer-height);
bottom: calc(var(--footer-height) + 20px);
position: fixed;
width: 100%;
z-index: 0;
}
#project-container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
width: 100%;
}
b {
font-weight: 700 !important;
}
.project {
padding: 0px 20px 0px 20px;
margin: 40px;
width: 600px;
min-width: 240px;
background: var(--main-off-bg-color);
-webkit-box-shadow: 23px 24px 15px -10px rgba(20,20,20,1);
-moz-box-shadow: 23px 24px 15px -10px rgba(20,20,20,1);
box-shadow: 23px 24px 15px -10px rgba(20,20,20,1);
font-size: 0.9rem;
}
.hash-list {
list-style-type: '# ';
list-style-position: outside;
padding: 10px 0 10px 0;
color: var(--main-orange-color);
}
ul li {
margin: 10px 25px;
}
.hash-list li:first-child {
color: var(--main-green-color);
font-weight: 700 !important;
}
.gt-list {
list-style-type: '> ';
list-style-position: outside;
padding: 10px 0 10px 0;
}
.gt-list p {
display: inline-block;
}
html {
scroll-behavior: smooth;
font-family: 'Inconsolata', monospace;
font-size: 1.15rem;
background: var(--main-bg-color)!important;
}
html, body {
margin: 0;
height: 100%;
}
.section {
width: calc(100% - calc(var(--margin-body) * 2));
margin-left: var(--margin-body);
margin-right: var(--margin-body);
padding-top: 80px;
margin-bottom: calc(var(--footer-height) + 60px);
min-height: calc(100vh - 80px - var(--footer-height) - 60px);
color: var(--main-fg-color);
background: linear-gradient(to bottom, transparent 0%, var(--main-bg-color) 10%, var(--main-bg-color) 92%, transparent 100%);
position: sticky;
display: inline-block;
z-index: 1;
}
.section a {
padding-right: 30px;
}
.section h2 {
text-align: center;
}
#navbar {
z-index: 2;
display: flex;
justify-content: space-around;
overflow: hidden;
position: fixed;
top: 0;
width: 100%;
background-color: var(--main-bg-color);
}
#navbar ul {
list-style-type: none;
padding: 0;
overflow: hidden;
}
#navbar li {
margin: 0;
float: left;
margin-left: 6px;
margin-right: 6px;
}
#navbar a {
margin: 0;
float: left;
display: block;
border-bottom: solid 5px;
border-color: var(--main-bg-color);
text-align: center;
padding: 6px 13px 3px 13px;
font-size: 1.15rem;
}
a {
color: var(--main-yellow-color);
-o-transition: .2s;
-ms-transition: .2s;
-moz-transition: .2s;
transition: .2s;
outline: 0;
}
a:hover {
color: var(--main-red-color);
top: 100%;
}