-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
181 lines (159 loc) · 3.63 KB
/
Copy pathstyle.css
File metadata and controls
181 lines (159 loc) · 3.63 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/* 1. Global Reset & Base Styles */
body {
font-family: 'Noto Sans', Arial, sans-serif;
line-height: 1.6;
color: #333;
margin: 0;
padding: 0;
background-color: #fcfcfc;
}
/* 2. Responsive Containers */
/* Instead of fixed %, we use max-width so it looks good on desktop but fits on mobile */
.intro-container,
.abstract-container,
.method-container,
.results-container,
.ack-container,
.bib-container,
.video-container {
width: 90%;
max-width: 850px; /* Standard readable line length */
margin: 0 auto 3rem auto;
text-align: center; /* Add this line */
}
.teaser-container {
width: 95%;
max-width: 1000px;
margin: 0 auto 2rem auto;
}
/* 3. Typography Hierarchy */
h1, .ourh1 {
font-size: clamp(2rem, 5vw, 3rem); /* Dynamically scales with screen size */
color: #444;
text-align: center;
margin-top: 5%;
letter-spacing: -0.02em;
font-weight: 800;
}
h2 {
font-size: clamp(1.5rem, 4vw, 2rem);
margin-top: 2rem;
border-bottom: 2px solid #eee;
padding-bottom: 0.5rem;
}
p, li {
font-size: 1.1rem;
color: #4a4a4a;
margin-bottom: 1.2rem;
}
.button {
display: inline-block;
padding: 0.8rem 1.5rem;
background-color: #ffffff;
border-radius: 50px;
font-size: 1rem;
color: #333;
border: 1px solid #ddd;
text-decoration: none;
transition: all 0.3s ease;
}
.button:hover {
border-color: #000;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* 5. Components & Media */
.benchmark-container img,
.swiper-slide img,
.swiper-slide video {
width: 60%;
height: auto;
border-radius: 8px;
display: block;
margin: 0 auto; /* This pushes the element to the center */
}
/* Histograms & Tabs scaling */
.histograms-table-container,
.results-table-container {
width: 80%;
max-width: 1100px;
margin: 2rem auto;
}
.results-table-container {
display: flex;
gap: 2rem;
justify-content: center;
align-items: stretch;
}
.results-table-container .tab-pane {
flex: 1;
}
/* 6. Fix for those 270deg Rotated Headings */
/* Rotating elements with fixed 'left: 100' usually breaks layouts.
Using % or viewport units makes it stay in place. */
h3, h4 {
font-size: 1.2rem;
transform: rotate(270deg);
position: absolute;
left: 2%;
white-space: nowrap;
}
.author-block {
display: inline-block;
margin: 0.5rem 1rem;
font-size: 1.1rem;
}
.conference-block {
color: #0064c8;
font-weight: bold;
font-size: clamp(1.1rem, 2vw, 1.4rem);
text-align: center;
}
.section-subtitle {
font-size: 1.3rem;
font-weight: 600;
color: #555;
margin-bottom: 0.8rem;
}
/* 7. Specific sizing for method analysis graph and results table */
.method-analysis-section .im_container img {
width: 55%;
max-width: 55%;
display: block;
margin: 0 auto;
}
.results-table-container img {
width: 75%;
height: auto;
max-height: 210px;
object-fit: contain;
display: block;
margin: 0 auto;
}
/* 8. Results Chart */
.results-chart-container {
width: 80%;
max-width: 650px;
margin: 2rem auto;
}
.chart-wrapper {
position: relative;
width: 100%;
}
/* 9. Media Queries for Mobile Fine-tuning */
@media (max-width: 768px) {
.intro-container, .abstract-container {
width: 92%;
}
.author-block {
display: block; /* Stack authors on small screens */
text-align: center;
margin: 0.2rem 0;
}
h3, h4 {
position: static; /* Remove rotation on mobile to save space */
transform: none;
text-align: center;
margin-bottom: 1rem;
}
}