-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
174 lines (168 loc) · 3.17 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
@import url("https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap");
* {
box-sizing: border-box;
}
body {
background-color: #2C4251;
}
section {
max-width: 800px;
margin: auto;
}
#settings {
display: flex;
flex-direction: column;
color: white;
font-family: sans-serif;
padding: 0 20px;
}
#settings label, .buttons {
margin-top: 20px;
margin-bottom: 7px;
}
#settings small {
display: block;
font-style: italic;
opacity: 0.8;
}
#settings input {
padding: 7px;
}
.buttons button {
padding: 10px 15px;
text-transform: uppercase;
border: none;
border-radius: 5px;
border: white 2px solid;
transition: color 0.3s ease, background-color 0.3s ease;
}
.buttons button:first-child {
background-color: white;
margin-right: 25px;
color:#2C4251;
}
.buttons button:first-child:hover {
background-color: transparent;
color: white
}
.buttons button:last-child {
background-color: transparent;
color: white
}
.buttons button:last-child:hover:not([disabled="true"]) {
background-color: white;
margin-right: 25px;
color:#2C4251;
}
button[disabled="true"] {
opacity: 0.5;
}
.card {
-webkit-print-color-adjust: exact !important;
print-color-adjust: exact !important;
max-width: 800px;
border-right: 2px solid black;
border-bottom: 2px solid black;
margin: 50px auto;
}
.card header {
background-color: #ddd;
border-top: 2px solid black;
border-left: 2px solid black;
text-align: center;
padding: 25px;
position: relative;
}
.card h1 {
font-family: "Luckiest Guy", cursive;
font-weight: 400;
font-style: normal;
font-size: 42px;
margin: 0;
}
.card .no {
position: absolute;
right: 20px;
top: 20px;
border: solid 1px black;
background-color: #fff;
padding: 10px;
}
.card main {
display: grid;
grid-template-columns: repeat(5, 1fr);
min-height: 800px;
}
.cell {
border: 2px solid black;
border-right: none;
border-bottom: none;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
padding: 25px;
font-family: sans-serif;
background-color: #fff;
}
.cell:nth-child(odd) {
background-color: #ddd;
}
.validation:has(li) {
background-color: red;
border-radius: 10px;
padding: 10px 10px 10px 30px;
text-shadow: 1px 1px 6px black;
border: white 2px solid;
}
.site-header {
max-width: 800px;
margin: auto;
color: white;
font-family: "Luckiest Guy", cursive;
font-weight: normal;
font-size: 40px;
text-align: center;
padding: 20px;
letter-spacing: 2px;
text-shadow: 2px 2px 10px black;
color: #d7dedd;
}
.site-footer {
padding: 20px;
max-width: 800px;
margin: auto;
}
.site-footer img {
width: 100%;
max-width: 40px;
height: auto;
}
.site-footer a{
transition: all 0.3s ease;
}
.site-footer a:hover {
opacity: 0.5;
}
@media print {
html,
body {
margin: 0;
padding: 0;
}
#settings, .site-header, .site-footer {
display: none;
}
section {
margin: auto;
}
.cell:nth-child(odd) {
background-color: #ddd;
}
.card header {
background-color: #ddd;
}
.card {
break-inside: avoid;
}
}