forked from iamrahulmahato/master-web-development
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvisi.css
89 lines (79 loc) · 1.82 KB
/
visi.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
/* Container to keep counter at the bottom of the page */
.visitor-counter-container {
width: 100%;
padding: 20px 0; /* Space around the counter */
display: flex;
justify-content: center;
background-color: #f4f4f9; /* Match counter background */
}
/* Visitor Counter Styling */
.visitor-counter {
background-color: rgb(244, 244, 249);
height: 60px;
width: 250px;
color: #333;
font-weight: 700;
font-size: 20px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
border-radius: 12px;
backdrop-filter: blur(10px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.visitor-counter:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.visitor-counter div:first-child {
margin-bottom: -5px;
font-size: 22px;
letter-spacing: 1px;
}
.website-counter {
font-size: 24px;
font-family: "Arial", sans-serif;
}
/* Responsive adjustments */
@media screen and (max-width: 768px) {
.visitor-counter {
height: 100px;
width: 100px;
font-size: 16px;
}
.website-counter {
font-size: 20px;
}
}
@media screen and (max-width: 480px) {
.visitor-counter {
height: 80px;
width: 80px;
font-size: 14px;
}
.website-counter {
font-size: 18px;
}
}
[data-theme="dark"] .visitor-counter div,
[data-theme="dark"] .visitor-counter .website-counter {
color: #f0f0f0;
}
[data-theme="dark"] .visitor-counter {
background-color: rgba(0, 0, 0, 0.7);
box-shadow: 0 6px 12px grey, 0 2px 4px grey;
}
[data-theme="dark"] .visitor-counter-container {
background-color: #000327;
}
[data-theme="dark"] .share-section {
background-color: #000327;
}
[data-theme="dark"] .gridbox {
background-color: #000327;
}
[data-theme="dark"] .social-media {
background-color: #000327;
}