-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
146 lines (129 loc) · 2.83 KB
/
Copy pathstyle.css
File metadata and controls
146 lines (129 loc) · 2.83 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
*{
text-align: center;
color: white;
font-family: "Rajdhani", "Teko", "Oxanium", sans-serif;
}
/* ----------------------- BODY ------------------------ */
body{
background-color: rgba(0, 0, 0, 0.864);
}
/* ----------------------- h1 ------------------------ */
h1{
color: rgb(43, 244, 43);
text-shadow: 2px 2px 20px black;
font-size: 2.5rem;
font-family: "Bungee", "Anton", "Impact", sans-serif;
font-weight: 100;
}
/* ----------------------- btn-container ------------------------ */
.btn-container{
margin-top: 50px;
display: flex;
justify-content: center;
}
.btn{
height: 220px;
width: 220px;
border-radius: 20px;
border: 10px solid black;
margin: 10px;
box-shadow: 2px 2px 8px black;
}
.line-one {
background-color: grey;
border-radius: 50% 0% 0% 50%;
box-shadow: 2px 2px 10px white;
}
.line-two{
background-color: grey;
border-radius: 0% 50% 50% 0%;
box-shadow: 2px 2px 10px white;
}
/* ----------------------- Buttons ------------------------ */
.red{
background-color: rgba(255, 0, 0, 0.578);
border-radius: 100% 10% 10% 10%;
}
.green{
background-color: rgba(2, 239, 2, 0.36);
border-radius: 10% 10% 10% 100%;
}
.yellow{
background-color: rgba(238, 131, 8, 0.664);
border-radius: 10% 100% 10% 10%;
}
.blue{
background-color: rgba(0, 0, 255, 0.412);
border-radius: 10% 10% 100% 10%;
}
/* ----------------------- Reset button ------------------------ */
.resetBtn{
margin-top: 30px;
width: 30%;
height: 50px;
background-color: rgba(0, 0, 0, 0);
color: rgb(43, 244, 43);
border-radius: 10px;
font-size: 1.2rem;
font-weight: 900;
border: 2px solid rgb(43, 244, 43);
text-shadow: 2px 2px 10px black;
}
/* ----------------------- icon ------------------------ */
i{
color: rgb(43, 244, 43);
margin-right: 10px;
text-shadow: 2px 2px 10px black;
}
/* --------------------------------------------------------- */
/* Media Queries for responsiveness */
@media screen and (max-width: 768px) {
h1 {
font-size: 2rem;
}
.btn {
height: 150px;
width: 150px;
margin: 5px;
}
.resetBtn {
width: 40%;
font-size: 1rem;
padding: 10px;
margin-top: 50px;
}
}
@media screen and (max-width: 480px) {
h1 {
font-size: 1.5rem;
}
h2 {
font-size: 1.2rem;
margin-bottom: 80px;
}
.btn {
height: 120px;
width: 120px;
}
.resetBtn {
width: 60%;
font-size: 1rem;
}
}
@media screen and (max-width: 320px) {
h1 {
font-size: 1.2rem;
}
h2 {
font-size: 1rem;
}
.btn {
height: 100px;
width: 100px;
}
.resetBtn {
margin-top: 60px;
width: 80%;
font-size: 0.9rem;
}
}