-
Notifications
You must be signed in to change notification settings - Fork 10
/
style.css
117 lines (99 loc) · 2.16 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
@font-face {
font-family: "Open Sans";
src: url("./assets/OpenSans-Regular.ttf") format("truetype");
}
* {
padding: 0;
margin: 0;
}
body {
overflow: hidden;
background: var(--color-bg);
}
#container {
height: 100vh;
min-height: 100vh;
}
#main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: calc(100vh - 30px);
}
@media only screen and (max-width: 600px) {
#container #main .links * {
display: none;
}
}
#container #main .links {
text-align: center;
width: 50vw;
max-width: 280px;
}
#container #main .links .border {
width: 100%;
padding-top: 10px;
padding-bottom: 10px;
border-bottom: 1px solid var(--color-border);
border-top: 1px solid var(--color-border);
}
#container #main .links .border a {
margin-left: 10px;
margin-right: 10px;
font-size: 30px;
color: var(--color-fg-1);
}
#container #main .links .border i {
color: var(--color-fg-1);
transition: color 0.2s ease-in-out;
}
#container #main .links .border i:hover {
color: var(--color-fg-1-hover);
}
#container #main .searchbar {
padding-bottom: 20px;
}
#container #main .searchbar input {
height: 30px;
width: 50vw;
max-width: 280px;
padding-bottom: 10px;
padding-top: 10px;
border-radius: 0;
border: none;
font-family: "Open Sans";
font-size: 18px;
text-align: center;
color: var(--color-fg-1);
background: var(--color-bg);
border-bottom: 1px solid var(--color-border);
border-top: 1px solid var(--color-border);
transition: border-color 0.4s ease-out;
}
#container #main .searchbar input::placeholder {
color: var(--color-fg-2);
transition: opacity 0.26s ease-in-out;
}
#container #main .searchbar input:focus::placeholder {
opacity: 0;
}
#container #main .searchbar input:focus {
outline: none;
border-bottom: 1px solid var(--color-border-hover);
border-top: 1px solid var(--color-border-hover);
}
footer {
text-align: center;
font-family: "Open Sans";
font-size: 14px;
color: var(--color-footer);
opacity: 50%;
transition: opacity 0.2s;
}
footer i {
color: rgb(255, 84, 84);
}
footer:hover {
opacity: 100%;
}