-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
132 lines (112 loc) · 2.2 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
body {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
height: 100vh;
margin: 0;
font-family: 'Assistant', sans-serif;
background-color: #f4f4f9;
color: #333;
}
.upper-txt {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
background-color: #4a90e2;
color: #fff;
padding: 2rem;
width: 100%;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
margin-bottom: 1rem;
}
.upper-txt h1 {
margin: 0;
font-size: 2.5rem;
font-weight: 700;
line-height: 1.3;
}
.upper-txt h2 {
margin: 0;
font-size: 1.5rem;
font-weight: 400;
line-height: 1.3;
margin-top: 0.5rem;
}
.btn-container {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.btn {
height: 12.5rem;
width: 12.5rem;
border-radius: 10%;
border: none;
margin: 1rem;
font-size: 1.2rem;
font-weight: bold;
color: #fff;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
background-color: #3498db;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.btn:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.red {
background-color: #e74c3c;
}
.yellow {
background-color: #f1c40f;
}
.purple {
background-color: #9b59b6;
}
.green {
background-color: #2ecc71;
}
.flash {
background-color: #fff;
}
.userflash {
background-color: #3498db;
}
@media (max-width: 768px) {
.upper-txt {
padding: 1rem;
}
.upper-txt h1 {
font-size: 2rem;
}
.upper-txt h2 {
font-size: 1.2rem;
}
.btn {
height: 10rem;
width: 10rem;
font-size: 1rem;
}
}
@media (max-width: 480px) {
.upper-txt {
padding: 0.5rem;
}
.upper-txt h1 {
font-size: 1.8rem;
}
.upper-txt h2 {
font-size: 1rem;
}
.btn {
height: 8rem;
width: 8rem;
font-size: 0.8rem;
}
}