-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
112 lines (94 loc) · 1.85 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
@import url('https://fonts.googleapis.com/css2?family=Rowdies&family=Sen&display=swap');
html {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
font-family: Rowdies, sans-serif;
letter-spacing: 2px;
display: flex;
align-items: center;
justify-content: center;
background: #787c78;
}
.lotto-container {
width: 600px;
height: 500px;
display: flex;
flex-direction: column;
align-items: center;
background: #6ebb75;
border-radius: 10px;
box-shadow: 0 5px 30px 10px rgba(0, 0, 0, 0.4);
}
.message-container {
width: 200px;
height: 275px;
display: flex;
flex-direction: column;
background: #80ddc1;
border-radius: 10px;
padding: 10px;
margin: 10px;
box-shadow: 0 5px 30px 10px rgba(0, 0, 0, 0.4);
}
form {
width: 90%;
}
.form-group {
height: 65px;
}
label {
position: relative;
bottom: 3px;
}
input {
width: 20px;
height: 20px;
padding: 5px;
justify-content: center;
text-align: center;
font-family: Rowdies, sans-serif;
align-content: center;
border: 1px solid black;
border-radius: 5px;
outline: none;
transition: all 0.3s;
}
input:valid {
border: 1px solid blue;
border-radius: 20px;
}
input:invalid {
border: 1px solid red;
}
button {
cursor: pointer;
color: white;
background: black;
border: none;
border-radius: 5px;
height: 50px;
width: 100%;
font-family: Sen, sans-serif;
font-size: 20px;
letter-spacing: 2px;
margin-top: 5px;
}
button:hover {
filter: brightness(200%);
background: rgb(22, 22, 22);
}
button:focus {
outline: none;
}
/* Media Query: Tablet or smaller */
@media screen and (max-width: 1000px){
.quote-container{
margin: auto 10px;
}
.quote-text {
font-size: 2.5rem;
}
}