-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
101 lines (88 loc) · 1.54 KB
/
index.css
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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #121212;
color: #ffffff;
}
header {
background-color: #1e1e1e;
color: #ffffff;
padding: 20px;
text-align: center;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
margin-bottom: 20px;
}
main {
max-width: 800px;
margin: 0 auto;
padding: 0 20px;
}
h2 {
text-align: center;
}
.topic-buttons {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
margin-bottom: 20px;
}
.topic-btn {
background-color: #1e90ff;
color: #ffffff;
text-decoration: none;
padding: 10px 20px;
border-radius: 5px;
font-size: 1.2em;
transition: background-color 0.3s ease;
}
.topic-btn:hover {
background-color: #1473c7;
}
.code-container {
background-color: #282c34;
color: #abb2bf;
font-size: large;
border-radius: 5px;
overflow: auto;
margin-bottom: 20px;
position: relative;
}
.code-container pre {
margin: 0;
font-family: 'Courier New', Courier, monospace;
white-space: pre-wrap;
word-break: break-all;
}
.copy-btn {
position: absolute;
top: 10px;
right: 10px;
background-color: #1e90ff;
color: #ffffff;
border: none;
border-radius: 5px;
padding: 5px 10px;
font-size: 14px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.copy-btn:hover {
background-color: #1473c7;
}
.hljs {
background-color: #121212 !important;
}
footer {
background-color: #1e1e1e;
color: #ffffff;
text-align: center;
padding: 10px 0;
position: fixed;
width: 100%;
bottom: 0;
}
footer p {
margin: 0;
}