Skip to content

Commit cfdb3df

Browse files
authored
Update main.scss
1 parent c3fca57 commit cfdb3df

File tree

1 file changed

+95
-15
lines changed

1 file changed

+95
-15
lines changed

css/main.scss

Lines changed: 95 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -125,28 +125,108 @@ firstp {
125125
}
126126

127127

128-
.bibliography {
129-
display: grid;
130-
gap: 1.5em;
131-
margin: 2em 0;
128+
.publication-item {
129+
margin-bottom: 2em;
130+
padding: 1.5em;
131+
border: 1px solid #e1e5e9;
132+
border-radius: 8px;
133+
background: #ffffff;
134+
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
132135
}
133136

134-
.bibliography li {
135-
background: white;
136-
border-radius: 12px;
137-
padding: 1.5em;
138-
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
139-
border: 1px solid #f0f0f0;
140-
list-style: none;
141-
transition: transform 0.2s ease, box-shadow 0.2s ease;
137+
.pub-row {
138+
display: flex;
139+
justify-content: space-between;
140+
align-items: flex-start;
141+
gap: 1em;
142+
}
143+
144+
.pub-main {
145+
flex: 1;
146+
}
147+
148+
.pub-title {
149+
font-size: 1.2em;
150+
font-weight: 600;
151+
color: #2c3e50;
152+
margin-bottom: 0.5em;
153+
line-height: 1.3;
154+
}
155+
156+
.pub-authors {
157+
color: #555;
158+
margin-bottom: 0.5em;
159+
font-weight: 500;
160+
}
161+
162+
.pub-venue {
163+
color: #777;
164+
font-size: 0.95em;
165+
}
166+
167+
.pub-links {
168+
display: flex;
169+
flex-direction: column;
170+
gap: 0.5em;
171+
min-width: 100px;
172+
}
173+
174+
.pub-btn {
175+
padding: 0.4em 0.8em;
176+
background: #007acc;
177+
color: white;
178+
text-decoration: none;
179+
border-radius: 4px;
180+
text-align: center;
181+
font-size: 0.9em;
182+
transition: background-color 0.2s;
183+
}
184+
185+
.pub-btn:hover {
186+
background: #005999;
187+
color: white;
142188
}
143189

144-
.bibliography li:hover {
145-
transform: translateY(-2px);
146-
box-shadow: 0 4px 20px rgba(0,0,0,0.15);
190+
/* Mobile responsive */
191+
@media (max-width: 768px) {
192+
.pub-row {
193+
flex-direction: column;
194+
}
195+
196+
.pub-links {
197+
flex-direction: row;
198+
flex-wrap: wrap;
199+
}
200+
201+
.pub-btn {
202+
flex: 1;
203+
min-width: 80px;
204+
}
147205
}
148206

149207

208+
// .bibliography {
209+
// display: grid;
210+
// gap: 1.5em;
211+
// margin: 2em 0;
212+
// }
213+
214+
// .bibliography li {
215+
// background: white;
216+
// border-radius: 12px;
217+
// padding: 1.5em;
218+
// box-shadow: 0 2px 10px rgba(0,0,0,0.1);
219+
// border: 1px solid #f0f0f0;
220+
// list-style: none;
221+
// transition: transform 0.2s ease, box-shadow 0.2s ease;
222+
// }
223+
224+
// .bibliography li:hover {
225+
// transform: translateY(-2px);
226+
// box-shadow: 0 4px 20px rgba(0,0,0,0.15);
227+
// }
228+
229+
150230
// /* Bibliography container */
151231
// .bibliography {
152232
// margin: 2em 0;

0 commit comments

Comments
 (0)