-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2_style.css
63 lines (63 loc) · 1.12 KB
/
2_style.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
body {
background-color: #E0FFFF;
font-family: Arial, sans-serif;
margin: 0;
padding: 10px;
display: flex;
flex-direction: column;
align-items: center;
}
h2 {
color: #787878;
text-align: center;
margin-bottom: 30px;
}
table {
width: 66.67%;
border-collapse: collapse;
margin: 0 auto;
table-layout: fixed;
}
td {
border: 1px solid #787878;
padding: 15px;
position: relative;
width: 50%;
vertical-align: top;
}
.toggle-btn {
background-color: #787878;
color: white;
border: none;
padding: 5px 10px;
cursor: pointer;
margin-bottom: 10px;
}
.content {
display: none;
}
.content.show {
display: block;
}
.text-content {
white-space: pre-wrap;
font-family: monospace;
font-size: larger;
background-color: #E0FFFF;
padding: 5px;
border-radius: 4px;
overflow-x: auto;
}
img {
max-width: 100%;
height: auto;
}
@media screen and (max-width: 768px) {
table {
width: 95%;
}
td {
display: block;
width: auto;
}
}