-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (103 loc) · 1.79 KB
/
style.css
File metadata and controls
120 lines (103 loc) · 1.79 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
:root {
--dark-bg: #1a1a1a;
--card-bg: #ffffff;
--accent: #2ecc71;
--text: #333333;
}
.page {
font-family:
"Inter",
system-ui,
-apple-system,
sans-serif;
margin: 0;
background-color: #f5f5f7;
color: var(--text);
}
.header {
background-color: var(--dark-bg);
color: white;
padding: 60px 20px;
}
.header__container {
max-width: 900px;
margin: 0 auto;
}
.header__title {
font-size: 3rem;
margin: 0;
color: var(--accent);
}
.header__tagline {
font-size: 1.25rem;
opacity: 0.8;
margin-top: 10px;
}
.cheatsheet {
max-width: 900px;
margin: 40px auto;
padding: 0 20px;
}
.section {
margin-bottom: 40px;
}
.section__title {
font-size: 1.5rem;
border-bottom: 2px solid #ddd;
padding-bottom: 10px;
margin-bottom: 20px;
}
.accordion {
background: var(--card-bg);
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.accordion__item {
border-bottom: 1px solid #eee;
}
.accordion__item:last-child {
border-bottom: none;
}
.accordion__header {
width: 100%;
padding: 20px;
border: none;
background: none;
text-align: left;
font-weight: bold;
font-size: 1.1rem;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
color: var(--dark-bg);
transition: background 0.2s;
}
.accordion__header:hover {
background-color: #f9f9f9;
}
.accordion__panel {
padding: 0 20px;
max-height: 0;
overflow: hidden;
transition:
max-height 0.3s ease-out,
padding 0.3s ease-out;
background-color: #fcfcfc;
}
.accordion__item_active .accordion__panel {
max-height: 500px;
padding: 10px 20px 20px;
}
.accordion__text {
margin: 0;
color: #666;
line-height: 1.6;
}
.footer {
text-align: center;
padding: 60px 20px;
color: #888;
font-size: 0.9rem;
}