aboutsummaryrefslogtreecommitdiff
path: root/old/2/themes/gruvbox/style.css
blob: 3fee1a54bac73a4a6d9d739ac8a3046631b60f6f (plain)
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
:root {
    --stdfont: 'Montserrat', Century Gothic, CenturyGothic, AppleGothic, sans-serif;
    --fontcolor: #ebdbb2;
    --linkcolor: #458488;
    --linkhovercolor: #83a598;
}
body {
    background: #282828 url('bg.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
#centercolumn {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#header {
    text-align: center;
    font-size: 3.4em;
    color: var(--fontcolor);
    margin-bottom: 10px;
    margin-top: 0;
    animation-duration: 1s;
    animation-fill-mode: both;
    opacity: 0;
    min-width: 100%;
    margin-left: -1000px;
    margin-right: -1000px;
}
@keyframes happear {
    from {
        opacity: 0;
        letter-spacing: 0.2ch;
    } to {
        opacity: 1;
        letter-spacing: normal;
    }
}
.section {
    padding: 30px;
    border-radius: 16px;
    background: #1d2021f1;
    width: 100%;
    font-size: 1.2em;
    margin-bottom: 20px;
}
.section h2 {
    margin-top: 0;
}
.section h3 {
    font-weight: 400;
    font-size: 0.8em;
    margin-top: -20px;
}
.section h4 {
    font-size: 1.2em;
}
.section p {
    margin-bottom: 0;
}
a {
    color: var(--linkcolor);
    text-decoration: none;
    transition-duration: 0.2s;
}
a:hover {
    color: var(--linkhovercolor);
}
#themeselector {
    background: #1d2021f1;
    padding-left: 90px;
    padding-right: 40px;
    font-size: 1.2em;
    animation-duration: 0.7s;
}
@media (max-width: 900px) or (orientation: portrait) {
    #themeselector {
        padding-left: 40px;
    }
    #header {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
}
#nav a {
    color: var(--fontcolor);
    border-radius: 50%;
}
#nav a:hover {
    transform: rotate(-6deg);
    background-color: #ffffff10;
}
#nav svg {
    width: 32px;
    height: 32px;
}
.hoverable {
    transition-duration: 0.2s;
}
.tooltip {
    background-color: #1d2021f1;
    border-radius: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 11px;
    padding-right: 11px;
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.267);
}
.emph {
    font-style: italic;
}
@keyframes rainbow-text {
    100%,0%{color: #cc241d; text-shadow: 0 0 4px #cc241d;}
    8%{color: #fe8019; text-shadow: 0 0 4px #fe8019;}
    16%{color: #fabd2f; text-shadow: 0 0 4px #fabd2f;}
    33%{color: #b8bb26; text-shadow: 0 0 4px #b8bb26;}
    58%{color: #458588; text-shadow: 0 0 4px #458588;}
    75%{color: #b16286; text-shadow: 0 0 4px #b16286;}
}