-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
107 lines (94 loc) · 1.96 KB
/
styles.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
102
103
104
105
106
107
/* Navigation styling */
.sidebar {
position: fixed;
width: 200px;
left: 10;
top: 0;
height: 100vh;
overflow-y: auto;
border-right: 1px solid #eee;
z-index: 1000;
}
/* Main content adjustment */
.column-body-outset {
margin-left: 200px; /* sidebar width + padding */
width: calc(100% - 210px);
}
/* Container for all columns */
.layout-row {
max-height: 80vh;
overflow-y: auto;
position: relative;
margin-left: 2em;
width: calc(100% - 1.5em);
}
/* Base column styles */
.column {
transition: opacity 0.3s ease;
opacity: 0.5;
padding: 0.01em;
width: 2.5%;
margin: 0 0.05em;
left: 30px;
position: relative;
max-height: none;
overflow-y: visible;
}
/* Scrollbar styling for container */
.layout-row::-webkit-scrollbar {
width: 8px;
}
.layout-row::-webkit-scrollbar-track {
background: #f1f1f1;
}
.layout-row::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
.column:hover {
opacity: 1;
}
/* Container positioning */
.column:first-child {
position: relative; /* Ensure absolute positioning context */
margin-left: 40px; /* Space for numbers */
}
/* Numbers only in first column */
.column:first-child .line-number {
position: absolute;
margin-left: -2em;
margin-top: 0.25em;
z-index: 1;
font-family: "Helvetica", sans-serif;
color: #999;
font-size: 0.8em;
}
.column:first-child .folio-number {
position: absolute;
margin-left: 0;
left: -30px !important;
font-family: "Palatino", serif;
font-style: italic;
color: #666;
font-size: 0.9em;
}
/* Hide numbers in other columns */
.column:not(:first-child) .line-number,
.column:not(:first-child) .folio-number {
display: none;
}
/* Content spacing */
.edition-text {
margin-left: 40px !important;
position: relative;
line-height: 1.2;
}
.column-break {
display: block;
margin-bottom: 1em !important;
margin-top: 1em !important;
margin-left: 40px !important;
position: relative;
line-height: 1.2;
background-color: transparent;
}