-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
175 lines (149 loc) · 2.51 KB
/
styles.css
File metadata and controls
175 lines (149 loc) · 2.51 KB
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
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
html,
body {
font-family: sans-serif;
background-color: #f4f4f4;
height: 100%;
font-size: 16px;
display: grid;
place-items: center;
background-color: #bddfeb;
}
select {
background-color: #f3f3f3; /* Light grey background */
border: 1px solid #ccc; /* Grey border */
padding: 5px; /* Padding inside the select box */
border-radius: 5px; /* Rounded corners */
cursor: pointer; /* Changes the cursor to a pointer */
&:hover {
background-color: #ddd;
}
}
/* Style focus state */
select:focus {
outline: none; /* Removes the default focus outline */
border-color: #4a90e2; /* Changes border color on focus */
}
.flash dd {
animation-name: flash-animation;
animation-duration: 1s;
}
@keyframes flash-animation {
from {
background: rgba(255, 255, 95, 0.5);
transform: scale(1.02);
}
to {
background: default;
transform: scale(1);
}
}
header {
font-size: 0.8rem;
}
header,
section:not(:last-of-type) {
border-bottom: 1px solid #ddd;
}
section {
padding-top: 1rem;
}
table {
border-collapse: separate;
border-spacing: 0 0.3rem;
}
td,
th {
vertical-align: top;
}
th {
color: silver;
text-align: right;
padding-right: 1rem;
font-weight: normal;
}
h1 {
font-size: 1.8rem;
margin-bottom: 1rem;
}
p {
margin-bottom: 1rem;
}
dt {
font-weight: bold;
margin-bottom: 0.5rem;
}
dd {
margin-bottom: 1rem;
margin-left: 1rem;
font-family: monospace;
line-height: 1.4;
}
dd:last-child {
margin-bottom: 0;
}
main {
position: relative;
background-color: white;
box-shadow: 0px 0px 0px 10px rgba(0, 0, 0, 0.1);
padding: 2rem 2rem;
border-radius: 10px;
margin-top: 0.5rem;
width: 35rem;
}
summary {
margin-bottom: 1rem;
}
footer {
position: absolute;
bottom: 0;
right: 1rem;
margin-bottom: -2rem;
text-align: right;
font-size: 80%;
margin-right: -1.5rem;
color: rgba(0, 0, 0, 0.1);
a {
color: inherit;
}
}
label {
font-weight: bold;
}
button {
padding: 0.3rem 0.5rem;
background-color: #f4f4f4;
border: 1px solid #ddd;
border-radius: 5px;
cursor: pointer;
transition: all 0.2s;
&:hover {
background-color: #ddd;
}
}
@media (max-width: 600px) {
/* CSS rules for mobile devices */
body {
display: block;
font-size: initial;
}
label {
display: block;
}
h1 {
font-size: 1.3rem;
}
#settings {
font-size: 0.8rem;
}
main {
margin-top: 0;
padding: 1rem;
margin: 0.5rem auto;
width: 95%;
}
}