-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstyles.css
150 lines (136 loc) · 2.8 KB
/
styles.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
body {
font-family: Helvetica, Arial, sans-serif;
font-size: 18px;
color: #222;
}
.page {
max-width: 60em;
margin: 0 auto;
}
h1 {
font-size: 8em;
font-family: Gilbert;
}
@media only screen and (max-width: 70em) {
h1 {
font-size: 12vw;
}
}
p,
ul,
li {
line-height: 1.5;
}
pre {
background-color: #ddd;
padding: 1em;
border-radius: 0.5em;
border: 1px solid #ccc;
overflow: auto;
}
/* Rainbow underline from here: https://codepen.io/cssparadise/pen/ExxayxM */
a {
display: inline-block;
position: relative;
text-decoration: none;
color: inherit;
z-index: 1;
font-weight: bold;
}
a::after {
content: "";
position: absolute;
left: 0;
top: 1em;
height: 0.2em;
width: 100%;
background: linear-gradient(110deg, #e1f549, #29d0be, #6cb8ea, #ff5959);
z-index: -1;
transition: height 0.25s cubic-bezier(0.6, 0, 0.4, 1);
}
a:hover::after {
height: 0.4em;
}
.flagContainer {
font-size: 10vw;
}
.prideFlag {
margin: 0 auto;
box-shadow: 0px 5px 18px 0px rgba(0, 0, 0, 0.75);
width: 3em;
height: 2em;
background: linear-gradient(
#e20a17 0%,
#e20a17 calc(100% / 6),
#fd8d25 calc(100% / 6),
#fd8d25 calc(calc(100% / 6) * 2),
#feec34 calc(calc(100% / 6) * 2),
#feec34 calc(calc(100% / 6) * 3),
#108028 calc(calc(100% / 6) * 3),
#108028 calc(calc(100% / 6) * 4),
#0f54fb calc(calc(100% / 6) * 4),
#0f54fb calc(calc(100% / 6) * 5),
#751086 calc(calc(100% / 6) * 5)
);
position: relative;
overflow: hidden;
}
.progressUpper {
content: "";
display: block;
position: absolute;
width: 2em;
height: 1em;
overflow: hidden;
}
.progressUpper:after {
content: "";
transform: rotate(45deg);
position: absolute;
z-index: 1;
width: 2em;
height: 2em;
margin-left: -1em;
background: linear-gradient(
black 0%,
black calc(100% / 12),
#784f17 calc(100% / 12),
#784f17 calc(calc(100% / 12) * 2),
#5bcefa calc(calc(100% / 12) * 2),
#5bcefa calc(calc(100% / 12) * 3),
#f5a9b8 calc(calc(100% / 12) * 3),
#f5a9b8 calc(calc(100% / 12) * 4),
white calc(calc(100% / 12) * 4),
white calc(calc(100% / 12) * 5)
);
}
.progressLower {
content: "";
display: block;
position: absolute;
top: 1em;
width: 2em;
height: 1em;
overflow: hidden;
}
.progressLower:after {
content: "";
transform: translate(0em, -1em) rotate(135deg);
position: absolute;
z-index: 1;
width: 2em;
height: 2em;
margin-left: -1em;
background: linear-gradient(
black 0%,
black calc(100% / 12),
#784f17 calc(100% / 12),
#784f17 calc(calc(100% / 12) * 2),
#5bcefa calc(calc(100% / 12) * 2),
#5bcefa calc(calc(100% / 12) * 3),
#f5a9b8 calc(calc(100% / 12) * 3),
#f5a9b8 calc(calc(100% / 12) * 4),
white calc(calc(100% / 12) * 4),
white calc(calc(100% / 12) * 5)
);
}