This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
styles.css
131 lines (115 loc) · 3.03 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
@tailwind utilities;
html {
font-feature-settings: "rlig" 1, "calt" 1, "ss01" 1, "ss06" 1 !important;
}
[data-reach-skip-link] {
@apply sr-only;
}
[data-reach-skip-link]:focus {
@apply not-sr-only fixed ml-6 top-0 bg-white text-lg px-6 py-2 mt-2 outline-none focus:ring z-50;
}
.dark .invert-on-dark {
filter: invert(1) brightness(1.8);
}
body {
background: linear-gradient(
to bottom,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 1) 300px
),
fixed 0 0 / 20px 20px radial-gradient(#d1d1d1 1px, transparent 0),
fixed 10px 10px / 20px 20px radial-gradient(#d1d1d1 1px, transparent 0);
}
.dark body {
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #111 300px),
fixed 0 0 / 20px 20px radial-gradient(#313131 1px, transparent 0),
fixed 10px 10px / 20px 20px radial-gradient(#313131 1px, transparent 0);
}
a {
color: black;
}
.cta {
color: #333;
font-size: 1.2rem;
font-weight: 700;
border-radius: 7px;
text-decoration: none;
user-select: none;
box-shadow: 0 5px 50px rgba(0, 0, 0, 0);
transition: all 0.4s ease;
outline: none !important;
}
.cta-container-selected .cta {
color: #999;
}
.cta-container-selected .cta {
color: #000;
box-shadow: 0 0 0 #efefef, 0 0 100px #efefef inset;
outline: none;
}
.cta-container:hover .cta {
color: #999;
}
.cta-container .cta:hover {
color: #000;
box-shadow: 0 0 0 #efefef, 0 0 100px #efefef inset;
outline: none;
}
.cta-container .cta:active {
color: #000;
box-shadow: 0 0 0 #efefef, 0 0 100px #ddd inset;
outline: none;
}
.dark .cta {
color: #ccc;
}
.dark .cta-container-selected .cta {
color: #777;
}
.dark .cta-container-selected .cta {
color: #fff;
box-shadow: 0 0 0 #333, 0 0 100px #333 inset;
}
.dark .cta-container:hover .cta {
color: #777;
}
.dark .cta-container .cta:hover {
color: #fff;
box-shadow: 0 0 0 #333, 0 0 100px #333 inset;
}
.dark .cta-container .cta:active {
color: #fff;
box-shadow: 0 0 0 #333, 0 0 100px #444 inset;
}
.postbox {
margin-bottom: 30px;
border-radius: 10px;
float: left;
width: 100%;
transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1) 0s,
box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0s,
padding 250ms cubic-bezier(0.4, 0, 0.2, 1) 0s;
}
.postbox:hover {
/* IE 9 */
-ms-transform: translate(0, -10px);
/* Safari */
-webkit-transform: translate(0, -10px);
transform: translate(0, -5px);
box-shadow: rgba(46, 41, 51, 0.08) 0px 10px 20px,
rgba(71, 63, 79, 0.08) 0px 20px 40px;
transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1) 0s,
box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0s,
padding 250ms cubic-bezier(0.4, 0, 0.2, 1) 0s;
}
.dark .postbox:hover {
/* IE 9 */
-ms-transform: translate(0, -10px);
/* Safari */
-webkit-transform: translate(0, -10px);
transform: translate(0, -5px);
box-shadow: rgb(57, 57, 57) 0px 10px 20px, rgb(65, 65, 65) 0px 20px 40px;
transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1) 0s,
box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0s,
padding 250ms cubic-bezier(0.4, 0, 0.2, 1) 0s;
}