-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
181 lines (156 loc) · 2.88 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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
* {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
padding: 0;
margin: 0;
line-height: 1.25;
}
body {
background: #f4f5f7;
}
a {
color: #0052CC;
}
#app {
width: 95%;
margin: 0 auto;
max-width: 500px;
}
.card {
width: 100%;
display: block;
background: #fff;
border-radius: 12px;
padding: 12px;
box-sizing: border-box;
box-shadow: 0 1px 2px 0 rgba(9, 30, 66, 0.25);
}
.card__details {
display: grid;
grid-template-columns: 2fr 1fr;
padding-top: 20px;
margin-top: 20px;
border-top: 1px solid #DFE1E6;
}
.disciplines-app .card__details {
grid-template-columns: 1fr;
}
.card__details strong {
font-size: 12px;
margin-bottom: 4px;
display: block;
}
.category:not(.active) {
display: none;
}
.category {
display: grid;
grid-template-columns: 1fr;
grid-gap: 8px;
margin-top: 24px;
}
header {
position: sticky;
top: 0;
left: 0;
box-sizing: border-box;
display: grid;
grid-template-columns: repeat(3, minmax(0, max-content));
width: 180px;
padding: 4px 8px;
background: #DFE1E6;
border-radius: 50px;
align-items: center;
margin: 24px auto 0;
grid-gap: 8px;
justify-content: space-between;
}
header h1 {
margin: 0 auto;
font-size: 14px;
}
header span {
top: 3px;
position: relative;
}
header a {
color: #172B4D;
}
header a.deactivate {
opacity: 0;
}
footer {
margin-top: 24px;
font-size: 12px;
color: #6B778C;
padding-bottom: 12px;
box-sizing: border-box;
text-align: center;
}
h2 {
margin-bottom: 12px;
font-size: 24px;
}
.modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 0;
display: block;
width: 100%;
}
.modal__overlay {
display: block;
position: absolute;
width: 100%;
height: 100%;
background: #091E42aa;
}
.modal__container {
max-width: 350px;
width: 100%;
background: #fff;
z-index: 1000;
position: absolute;
border-radius: 8px;
left: calc(50% - 175px);
top: 200px;
opacity: 0;
transition: all 0.3s ease-in;
padding: 12px;
box-sizing: border-box;
}
.modal__content ul {
margin-left: 24px;
}
.modal__content ul li {
margin-top: 8px;
}
.modal__content > strong,
.disciplines-app strong {
margin-top: 12px;
display: block;
font-size: 12px;
margin-bottom: 8px;
}
.modal__content .verse {
padding-bottom: 12px;
border-bottom: 1px solid #DFE1E6;
}
.modal__container.active {
top: 24px;
opacity: 1;
}
.modal button {
display: block;
font-size: 12px;
font-weight: bold;
appearance: none;
border: none;
border-radius: 8px;
background: #0052CC;
color: #fff;
padding: 8px 14px;
margin: 24px auto 0;
}