Skip to content

Commit 1e25e4f

Browse files
authored
Update main.scss
1 parent b3ee3c7 commit 1e25e4f

File tree

1 file changed

+85
-63
lines changed

1 file changed

+85
-63
lines changed

css/main.scss

Lines changed: 85 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -125,72 +125,94 @@ firstp {
125125
}
126126

127127

128-
/* Bibliography container */
129128
.bibliography {
129+
display: grid;
130+
gap: 1.5em;
130131
margin: 2em 0;
131132
}
132133

133-
/* Individual bibliography entries */
134134
.bibliography li {
135-
margin-bottom: 1.5em;
136-
padding: 1em;
137-
border-left: 3px solid #007acc;
138-
background-color: #f8f9fa;
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;
139140
list-style: none;
140-
position: relative;
141-
}
142-
143-
/* Entry content */
144-
.bibliography .entry {
145-
line-height: 1.6;
146-
}
147-
148-
/* Author names */
149-
.bibliography .author {
150-
font-weight: 600;
151-
color: #2c3e50;
152-
}
153-
154-
/* Paper titles */
155-
.bibliography .title {
156-
font-size: 1.1em;
157-
font-weight: 500;
158-
color: #34495e;
159-
margin: 0.5em 0;
160-
}
161-
162-
/* Journal/Conference names */
163-
.bibliography .venue {
164-
font-style: italic;
165-
color: #7f8c8d;
166-
}
167-
168-
/* Year styling */
169-
.bibliography .year {
170-
font-weight: bold;
171-
color: #e74c3c;
172-
}
173-
174-
/* Links */
175-
.bibliography a {
176-
color: #007acc;
177-
text-decoration: none;
178-
margin-right: 1em;
179-
padding: 0.2em 0.5em;
180-
border-radius: 3px;
181-
background-color: #e3f2fd;
182-
font-size: 0.9em;
183-
}
184-
185-
.bibliography a:hover {
186-
background-color: #007acc;
187-
color: white;
188-
}
189-
190-
/* Responsive design */
191-
@media (max-width: 768px) {
192-
.bibliography li {
193-
padding: 0.8em;
194-
margin-bottom: 1em;
195-
}
196-
}
141+
transition: transform 0.2s ease, box-shadow 0.2s ease;
142+
}
143+
144+
.bibliography li:hover {
145+
transform: translateY(-2px);
146+
box-shadow: 0 4px 20px rgba(0,0,0,0.15);
147+
}
148+
149+
150+
// /* Bibliography container */
151+
// .bibliography {
152+
// margin: 2em 0;
153+
// }
154+
155+
// /* Individual bibliography entries */
156+
// .bibliography li {
157+
// margin-bottom: 1.5em;
158+
// padding: 1em;
159+
// border-left: 3px solid #007acc;
160+
// background-color: #f8f9fa;
161+
// list-style: none;
162+
// position: relative;
163+
// }
164+
165+
// /* Entry content */
166+
// .bibliography .entry {
167+
// line-height: 1.6;
168+
// }
169+
170+
// /* Author names */
171+
// .bibliography .author {
172+
// font-weight: 600;
173+
// color: #2c3e50;
174+
// }
175+
176+
// /* Paper titles */
177+
// .bibliography .title {
178+
// font-size: 1.1em;
179+
// font-weight: 500;
180+
// color: #34495e;
181+
// margin: 0.5em 0;
182+
// }
183+
184+
// /* Journal/Conference names */
185+
// .bibliography .venue {
186+
// font-style: italic;
187+
// color: #7f8c8d;
188+
// }
189+
190+
// /* Year styling */
191+
// .bibliography .year {
192+
// font-weight: bold;
193+
// color: #e74c3c;
194+
// }
195+
196+
// /* Links */
197+
// .bibliography a {
198+
// color: #007acc;
199+
// text-decoration: none;
200+
// margin-right: 1em;
201+
// padding: 0.2em 0.5em;
202+
// border-radius: 3px;
203+
// background-color: #e3f2fd;
204+
// font-size: 0.9em;
205+
// }
206+
207+
// .bibliography a:hover {
208+
// background-color: #007acc;
209+
// color: white;
210+
// }
211+
212+
// /* Responsive design */
213+
// @media (max-width: 768px) {
214+
// .bibliography li {
215+
// padding: 0.8em;
216+
// margin-bottom: 1em;
217+
// }
218+
// }

0 commit comments

Comments
 (0)