-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
125 lines (108 loc) · 1.78 KB
/
style.css
File metadata and controls
125 lines (108 loc) · 1.78 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
:root {
--bg: #0f172a;
--card: #1e293b;
--text: #f8fafc;
--blue: #3b82f6;
--teal: #14b8a6;
--purple: #8b5cf6;
}
body {
margin: 0;
font-family: Arial, sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.6;
}
header {
background: var(--card);
padding: 1rem 2rem;
position: sticky;
top: 0;
z-index: 1000;
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-links {
list-style: none;
display: flex;
gap: 1.5rem;
}
.nav-links a {
text-decoration: none;
color: var(--text);
font-weight: bold;
}
.nav-links a.active,
.nav-links a:hover {
color: var(--teal);
}
.menu-toggle {
display: none;
cursor: pointer;
}
.hero {
text-align: center;
padding: 5rem 2rem;
background: linear-gradient(135deg, var(--blue), var(--purple));
}
.hero h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.hero p {
font-size: 1.2rem;
margin-bottom: 2rem;
}
.btn {
background: var(--teal);
color: var(--bg);
padding: 0.7rem 1.5rem;
margin: 0.5rem;
border-radius: 8px;
text-decoration: none;
font-weight: bold;
}
.btn-alt {
background: var(--purple);
color: white;
}
.content {
padding: 3rem 2rem;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1.5rem;
}
.card {
background: var(--card);
padding: 1.5rem;
border-radius: 10px;
text-align: center;
}
footer {
background: var(--card);
text-align: center;
padding: 1rem;
margin-top: 2rem;
}
/* Responsive */
@media (max-width: 768px) {
.nav-links {
display: none;
flex-direction: column;
background: var(--card);
position: absolute;
right: 0;
top: 60px;
width: 200px;
padding: 1rem;
}
.menu-toggle {
display: block;
font-size: 1.5rem;
}
}