This repository has been archived by the owner on Jul 29, 2023. It is now read-only.
forked from kencx/startpage
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathstyle.css
163 lines (136 loc) · 2.23 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
@import url(https://fonts.googleapis.com/css2?family=Source+Code+Pro);
:root {
--color-bg: #2e3440;
--color-bg-light: #3b4252;
--color-fg: #d8dee9;
--color-link-hover: #8fbcbb;
--color-link: #81a1c1;
--font-family: "Source Code Pro", monospace;
}
* {
box-sizing: border-box;
text-transform: lowercase;
}
html,
body {
overflow: hidden;
background: var(--color-bg);
color: var(--color-fg);
font-family: var(--font-family);
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
header {
width: 100%;
height: 100%;
position: absolute;
}
header div#img {
width: 60%;
height: 100%;
padding: auto;
display: flex;
justify-content: center;
align-items: center;
}
header div#img img {
width: 25vw;
}
main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: absolute;
width: 50%;
height: 100%;
position: absolute;
right: 0;
}
main #content {
left: 0;
position: absolute;
width: 85%;
height: 50%;
display: flex;
flex-direction: column;
justify-content: space-evenly;
text-align: center;
}
main #head {
text-align: left;
}
main #links {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
main #links section {
margin: 0 15px;
}
form {
font-size: 2.15vw;
white-space: nowrap;
}
form input {
width: 75%;
display: inline-block;
border: none;
background-color: var(--color-bg-light);
padding: 10px;
color: var(--color-fg);
font-family: var(--font-family);
font-size: 2vw;
border-radius: 8px;
}
form input:focus {
outline: none;
}
footer {
position: absolute;
bottom: 0;
right: 0;
font-size: 0.75vw;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
}
footer * {
height: min-content;
}
ul {
text-align: center;
padding: 0;
}
li {
font-size: 0.9vw;
list-style-type: none;
margin-bottom: 10px;
}
a {
text-decoration: none;
color: var(--color-link);
transition-duration: 0.2s;
}
a:hover {
color: var(--color-link-hover);
transition-duration: 0.2s;
}
.blinking {
animation: opacity 1s ease-in-out infinite;
opacity: 1;
}
@keyframes opacity {
0% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}