Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
179 lines (161 loc) · 4.9 KB
/
Copy pathstyle.css
File metadata and controls
179 lines (161 loc) · 4.9 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
body {
font-family: Arial, sans-serif;
background: radial-gradient(circle at 20% 30%, #1a2a6c, #0b0f1a);
color: #f0f0f0;
margin: 0;
padding: 0;
min-height: 100vh;
overflow-x: hidden;
}
body::before {
content: "";
position: fixed;
top: 0; left: 0; width: 100%; height: 100%;
radial-gradient(1px 1px at 20% 10%, #fff 50%, transparent 50%),
radial-gradient(1px 1px at 40% 30%, #fff 50%, transparent 50%),
radial-gradient(1.5px 1.5px at 70% 20%, #fff 50%, transparent 50%),
radial-gradient(1px 1px at 90% 50%, #fff 50%, transparent 50%),
radial-gradient(1.5px 1.5px at 10% 70%, #fff 50%, transparent 50%),
radial-gradient(1px 1px at 60% 80%, #fff 50%, transparent 50%),
radial-gradient(1.5px 1.5px at 80% 90%, #fff 50%, transparent 50%),
radial-gradient(1px 1px at 30% 100%, #fff 50%, transparent 50%);
background-repeat: repeat;
background-size: 200px 200px;
pointer-events: none;
z-index: 0;
}
section, header, footer { position: relative; z-index: 1; }
header { background-color: #2c3e50; color: white; padding: 20px; text-align: center; }
header h1 { margin: 0; font-size: 2.5em; color: #2ecc71; }
header p { margin: 5px 0 0; font-size: 1.2em; opacity: 0.8; }
.lang-switch { margin-top: 15px; }
.lang-switch button { background-color: #2ecc71; border: none; color: #0b0f1a; padding: 8px 16px; margin: 0 5px; border-radius: 5px; cursor: pointer; }
.lang-switch button:hover { background-color: #27ae60; }
main { max-width: 800px; margin: 20px auto; padding: 0 20px; }
section.accordion-item { background: rgba(20,30,50,0.75); padding: 0; margin-bottom: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.3); backdrop-filter: blur(5px); overflow: hidden; }
.accordion-header { padding: 20px; cursor: pointer; margin: 0; transition: background-color 0.3s; }
.accordion-header:hover { background-color: rgba(255,255,255,0.05); }
.accordion-content { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease-out; }
.accordion-content.active { padding: 0 20px 20px; max-height: 800px; }
/* Вложенные подпункты */
.sub-item { margin: 5px 0; }
.sub-header { display: inline-block; color: #f0f0f0; cursor: pointer; text-decoration: underline dotted; padding: 2px 0; }
.sub-header:hover { color: #2ecc71; }
.sub-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: rgba(0,0,0,0.2); border-radius: 4px; padding: 0 10px; }
.sub-content.active { max-height: 300px; padding: 10px; }
.sub-content p { margin: 0; }
.section-professions { color: #2ecc71; }
.section-start { color: #3498db; }
.section-history { color: #e67e22; }
.section-knowledge { color: #e84393; }
ul, ol { padding-left: 20px; }
a { color: #2ecc71; text-decoration: none; }
a:hover { color: #27ae60; }
footer { text-align: center; padding: 20px; background-color: #2c3e50; color: white; }
.contacts-list {
list-style: none;
padding: 0;
margin: 0;
}
.contacts-list li {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
font-size: 16px;
}
.contacts-list li:last-child {
border-bottom: none;
}
.contact-icon {
font-size: 20px;
width: 28px;
text-align: center;
}
.contact-label {
color: #9e9e9e;
min-width: 100px;
}
.contacts-list a {
color: #4fc3f7;
text-decoration: none;
transition: color 0.3s;
}
.contacts-list a:hover {
color: #ffffff;
text-decoration: underline;
}
@media (max-width: 600px) {
.contacts-list li {
flex-wrap: wrap;
gap: 5px;
}
.contact-label {
min-width: auto;
}
}
.contacts-section {
max-width: 600px;
margin: 30px auto;
padding: 25px;
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.contacts-section h2 {
color: #4fc3f7;
margin-bottom: 20px;
text-align: center;
font-size: 24px;
}
.contacts-list {
list-style: none;
padding: 0;
margin: 0;
}
.contacts-list li {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
font-size: 16px;
}
.contacts-list li:last-child {
border-bottom: none;
}
.contact-icon {
font-size: 22px;
width: 30px;
text-align: center;
flex-shrink: 0;
}
.contact-label {
color: #9e9e9e;
min-width: 100px;
flex-shrink: 0;
}
.contacts-list a {
color: #4fc3f7;
text-decoration: none;
transition: color 0.3s;
word-break: break-all;
}
.contacts-list a:hover {
color: #ffffff;
text-decoration: underline;
}
@media (max-width: 600px) {
.contacts-section {
margin: 20px 15px;
padding: 20px;
}
.contacts-list li {
flex-wrap: wrap;
gap: 6px;
}
.contact-label {
min-width: auto;
}
}