-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
67 lines (58 loc) · 1.37 KB
/
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
64
65
66
67
figure {
border: none;
padding: 15px;
margin: auto;
}
figcaption {
font-style: italic;
padding: 2px;
text-align: center;
}
#selected-node-text sup {
user-select: none;
vertical-align: baseline;
position: relative;
top: -0.7em;
font-size: 60%;
line-height: 1;
margin-right: -0.3em;
}
.flex-container {
display: flex;
justify-content: center;
flex-grow: 1;
/* Make sure the flex-container can scroll if its content overflows */
overflow-y: auto;
}
@media (orientation: portrait) {
.flex-container {
flex-direction: column;
}
#selected-node-text {
overflow-y: visible; /* Ensures scrollbar appears if content overflows */
flex-grow: 1;
font-size: 18px;
line-height: 2;
padding: 10px 30px;
}
}
@media (orientation: landscape) {
body {
margin: 0;
overflow-y: auto; /* Prevents body scrolling in landscape */
}
.flex-container {
flex-direction: row;
/* Removed overflow: hidden to allow for internal scrolling */
}
#selected-node-text {
overflow-y: auto; /* Allows for a vertical scrollbar */
font-size: 18px;
line-height: 1.75;
padding: 0 30%; /* Adjust padding as needed */
font-family: 'Raleway', sans-serif;
}
}
body {
font-family: 'Raleway', sans-serif;
}