-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
143 lines (121 loc) · 2.28 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
:root {
font-family: "Poppins", sans-serif !important;
width: 100%;
height: 100vh;
box-sizing: border-box;
--main-bg-color: #ffffff;
--main-text-color: #333;
--main-link-color: #007bff;
--main-link-hover-color: #0056b3;
--main-border-color: #ccc;
--main-border-radius: 5px;
--main-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
--main-transition: 0.3s;
}
body {
background-color: var(--main-bg-color);
}
/* center a mainButton */
.mainButton {
position: absolute; /* Ensure the element is positioned relative to its nearest positioned ancestor */
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.mainButton button {
padding: 20px 40px;
font-weight: bolder;
font-size: large;
background-color: #006fe6;
color: whitesmoke;
border: none;
border-radius: 5px;
transition: 0.3s all ease-in-out;
}
.mainButton button:hover {
background-color: #0056b3;
cursor: pointer;
transition: 0.3s all ease-in-out;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.mainButton button:active {
background-color: #003f7f;
transition: 0.3s all ease-in-out;
}
.pop-up {
position: fixed;
font-weight: bolder;
bottom: 0;
right: 0;
font-size: 10px;
margin: 10px;
background-color: #000000;
color: white !important;
border-radius: 5px;
padding: 5px 10px;
}
.pop-up a {
color: white;
font-weight: normal;
}
footer {
width: 100%;
position: fixed;
bottom: 0;
text-align: center;
font-weight: bolder;
font-size: smaller;
}
.contact {
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
font-size: medium;
}
.contact a {
color: rgb(0, 0, 0);
gap: 1rem;
margin: 0.25rem;
font-size: medium;
}
/* Responsive Design */
@media (max-width: 768px) {
.mainButton button {
padding: 15px 30px;
font-size: medium;
}
.pop-up {
display: none;
}
footer {
font-size: smaller;
}
.contact {
flex-direction: row;
gap: 0.5rem;
}
.contact a {
font-size: small;
}
}
@media (max-width: 480px) {
.mainButton button {
padding: 20px 50px;
font-size: small;
font-weight: bolder !important;
}
.pop-up {
display: none;
}
footer {
font-size: x-small;
}
.contact {
gap: 0.25rem;
}
.contact a {
font-size: x-small;
}
}