-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
109 lines (93 loc) · 1.71 KB
/
styles.css
File metadata and controls
109 lines (93 loc) · 1.71 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
/* Base styles */
:root {
--bg-color: #121212;
--text-color: #e0e0e0;
--accent-color: #bb86fc;
--secondary-color: #03dac6;
--card-bg-color: #1e1e1e;
}
body {
background-color: var(--bg-color);
color: var(--text-color);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
}
header {
background-color: rgba(0, 0, 0, 0.8);
position: fixed;
width: 100%;
z-index: 1000;
}
nav ul {
display: flex;
justify-content: center;
list-style-type: none;
padding: 0;
}
nav ul li {
margin: 0 15px;
}
nav ul li a {
color: var(--text-color);
text-decoration: none;
font-size: 18px;
transition: color 0.3s ease;
padding: 10px 15px;
}
nav ul li a:hover, nav ul li a.active {
color: var(--accent-color);
background-color: rgba(187, 134, 252, 0.1);
border-radius: 4px;
}
main {
padding: 80px 20px 20px;
max-width: 1200px;
margin: 0 auto;
}
section {
margin-bottom: 60px;
}
h1, h2, h3 {
color: var(--accent-color);
}
h1 {
font-size: 3em;
margin-bottom: 10px;
}
h2 {
font-size: 2.5em;
border-bottom: 2px solid var(--secondary-color);
padding-bottom: 10px;
margin-bottom: 20px;
}
button {
padding: 15px;
margin-top: 10px;
background-color: var(--accent-color);
border: none;
color: var(--bg-color);
cursor: pointer;
transition: background-color 0.3s, transform 0.3s;
}
button:hover {
background-color: var(--secondary-color);
transform: translateY(2px);
}
@media (max-width: 768px) {
nav ul {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
padding: 5px;
}
nav ul li {
margin: 5px;
}
nav ul li a {
font-size: 16px;
padding: 5px 10px;
}
}