-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
144 lines (122 loc) · 2.38 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
/* MAIN ELEMENTS */
:root {
--primary-color:rgb(68, 143, 228);
--border-color:rgb(179, 179, 179);
}
html, body{
padding:0;
margin:0;
height:100%;
}
body{
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
background-image:url("assets/background.png");
}
#captcha-wrapper{
display:grid;
place-items: center center;
height:100%;
}
#captcha{
width:25%;
border:2px solid var(--border-color);
padding:5px;
border-radius:2px;
background-color:white;
box-shadow:0px 0px 60px rgba(99, 99, 99, 0.479);
}
@media screen and (max-width:800px){
#captcha{
width:50%;
}
}
@media screen and (max-width:700px){
#captcha{
width:60%;
}
}
@media screen and (max-width:500px){
#captcha{
width: auto;
margin:20px;
}
}
#captcha-header{
padding:20px;
background-color: var(--primary-color);
color:white;
}
#tile-grid{
display:grid;
grid-template-columns: repeat(4, auto);
gap: 5px;
padding-top: 5px;
}
#captcha-footer{
text-align: right;
}
/* IMAGES AND BUTTONS */
.img{
width:100%;
cursor:pointer;
transition: 0.2s box-shadow;
position:relative;
padding-top:100%;
}
.img img{
position:absolute;
width:100%;
top:0;
}
.img:hover{
box-shadow: 0px 0px 0px 3px var(--primary-color);
}
.selected:after {
content: "";
position: absolute;
left: 0; right: 0;
top: 0; bottom: 0;
background: rgba(69, 165, 255, 0.5);
box-sizing: border-box;
border: 4px solid var(--primary-color);
}
#submit{
background-color: var(--primary-color);
color:white;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
border-radius:2px;
padding:12px;
margin:3px;
font-size:14pt;
border:none;
cursor: pointer;
}
#submit:hover{
background-color:rgb(44, 101, 167);
}
#new-puzzle{
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
border-radius:2px;
padding:12px;
margin:3px;
font-size:14pt;
border:none;
cursor: pointer;
}
#new-puzzle:hover{
background-color: rgb(199, 199, 199);
}
/* TEXT */
h2{
margin: 2px;
}
h3{
margin: 2px;
}
hr{
border:none;
border-bottom:2px solid var(--border-color);
}
p, a{
color:black;
}