-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
108 lines (91 loc) · 1.71 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
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
html {
font-size: 16px;
}
body {
background-color: rgba(21, 182, 231, 0.4);
display: flex;
flex-direction: column;
align-items: center;
}
* {
font-family: 'Roboto', sans-serif;
box-sizing: border-box;
outline: none;
}
.container {
width: 600px;
}
h1 {
font-weight: 300;
font-size: 3rem;
text-align: center;
}
#regexp-input {
width: 100%;
height: 2rem;
}
.sample {
display: flex;
margin-bottom: 1rem;
}
.input {
border: 2px solid #666;
border-radius: 5px;
box-sizing: border-box;
padding: 5px;
}
.input:hover {
border-color: #444;
box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.5);
transition: box-shadow .3s;
}
.input:focus {
border-color: blue;
box-shadow: 1px 1px 3px 3px rgba(15, 15, 15, 0.5);
}
.sample-input {
flex-grow: 8;
}
.menu {
background-color: red;
width: 400px;
height: 400px;
display: none;
border-radius: 5px;
border: 1px solid gray;
box-shadow: 1px 1px 3px 3px rgba(10, 10, 10, 0.2);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.menu-show {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.menu-text {
margin: 20px;
}
.test-result {
padding: 5px;
width: 6rem;
height: 3rem;
border-radius: 5px;
color: white;
display: flex;
justify-content: center;
align-items: center;
flex-grow: 2;
margin-left: 2rem;
}
.answer {
border: 2px solid green;
background-color: green;
}
.no-match {
border: 2px solid red;
background-color: red;
}