-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
156 lines (145 loc) · 2.91 KB
/
main.css
File metadata and controls
156 lines (145 loc) · 2.91 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
147
148
149
150
151
152
153
154
155
156
html {
box-sizing: border-box;
scroll-behavior: smooth;
scrollbar-width: thin;
scrollbar-color: #888 #f1f1f1;
}
*, *::before, *::after {
box-sizing: inherit;
}
body {
margin: 0;
padding: 0;
color: #334155;
font-family: 'Inter', Verdana, Arial, sans-serif;
line-height: 1.5;
background: #008c9e url("images/bg.png") no-repeat top center/cover fixed;
overflow-x: hidden;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}
::selection {
background: #b3d4fc;
color: #000;
}
.container {
max-width: 75rem;
margin-inline: auto;
padding-inline: 1rem;
}
/* Section Title */
.section-title {
position: relative;
}
.section-title::after {
content: '';
position: absolute;
background-color: #6366F1; /* Indigo-500 */
left: 50%;
border-radius: 2px;
}
/* Alternate Section Title (centered underline) */
.section-title.centered::after {
position: static;
display: block;
width: 50%;
height: 4px;
background-color: #6366f1;
margin: 8px auto 0;
border-radius: 2px;
}
/* Form Elements */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
button {
appearance: none;
border: 1px solid #ccc;
border-radius: 0.5rem;
padding: 0.625rem;
transition: border-color 0.2s, box-shadow 0.2s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
button:focus {
outline: none;
border-color: #6366f1;
box-shadow: 0 0 0 2px rgba(99,102,241,0.2);
}
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="password"]:focus-visible,
input[type="search"]:focus-visible,
textarea:focus-visible,
button:focus-visible {
outline: 2px solid #6366f1;
outline-offset: 2px;
}
/* Animated Box */
.animated-box {
transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.animated-box:hover {
transform: scale(1.1);
}
/* Custom Scrollbar Styles (WebKit & Firefox) */
:root {
--primary-color: #6366f1;
--secondary-color: #f1f5f9;
--dark-bg: #0f172a;
--light-bg: #1e293b;
}
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
background: #475569;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #64748b;
}
/* Animation for fade-in effect */
@keyframes fade-in-up {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in-up {
animation: fade-in-up 0.8s ease-out forwards;
}
.animate-fade-in {
animation: fade-in-up 0.8s ease-out 0.2s forwards;
opacity: 0;
}
/* Fallback modal overlay behaviors if Tailwind isn't loaded */
#ad-modal-overlay {
display: none;
align-items: center;
justify-content: center;
}
#ad-modal-overlay[aria-hidden="false"] {
display: flex;
align-items: center;
justify-content: center;
}
#ad-modal-content {
max-width: 560px;
min-width: 280px;
margin: 0 1rem;
max-height: 85vh;
overflow-y: auto;
}