Skip to content

Commit 24b3a4c

Browse files
committed
Update bibtemplate.html
1 parent ebf8c90 commit 24b3a4c

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

_layouts/bibtemplate.html

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ <h4>Abstract</h4>
7070
}
7171

7272
.publication-entry {
73-
margin-bottom: 2.5em;
74-
padding: 1.5em;
75-
border-left: 4px solid var(--primary-color);
73+
margin-bottom: 1.5em; /* Reduced from 2.5em */
74+
padding: 1em; /* Reduced from 1.5em */
75+
border-left: 3px solid var(--primary-color); /* Slightly thinner border */
7676
background: var(--bg-color);
77-
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
77+
box-shadow: 0 1px 3px rgba(0,0,0,0.08); /* Subtler shadow */
7878
border-radius: 0 var(--border-radius) var(--border-radius) 0;
7979
transition: transform var(--transition-speed);
8080
}
@@ -84,33 +84,34 @@ <h4>Abstract</h4>
8484
}
8585

8686
.reference {
87-
margin-bottom: 1.2em;
88-
line-height: 1.5;
87+
margin-bottom: 0.8em; /* Reduced from 1.2em */
88+
line-height: 1.4; /* Tighter line height */
8989
color: var(--text-color);
90-
font-size: 1.1em;
90+
font-size: 1em; /* Slightly smaller */
9191
}
9292

9393
.action-buttons {
9494
display: flex;
9595
flex-wrap: wrap;
96-
gap: 0.8em;
97-
margin: 1.2em 0;
96+
gap: 0.5em; /* Reduced from 0.8em */
97+
margin: 0.8em 0; /* Reduced from 1.2em */
9898
}
9999

100100
.pub-btn {
101101
display: inline-flex;
102102
align-items: center;
103103
gap: 0.5em;
104-
padding: 0.6em 1.2em;
104+
padding: 0.4em 0.8em; /* Reduced from 0.6em 1.2em */
105105
border: 2px solid var(--primary-color);
106106
border-radius: var(--border-radius);
107107
background: transparent;
108108
color: var(--primary-color);
109-
font-size: 0.95em;
109+
font-size: 0.9em; /* Slightly smaller */
110110
font-weight: 500;
111111
text-decoration: none;
112112
cursor: pointer;
113113
transition: all var(--transition-speed);
114+
border-width: 1px; /* Thinner border */
114115
}
115116

116117
.pub-btn:hover {
@@ -127,8 +128,8 @@ <h4>Abstract</h4>
127128

128129
.collapsible {
129130
display: none;
130-
margin-top: 1.2em;
131-
padding: 1.5em;
131+
margin-top: 0.8em; /* Reduced from 1.2em */
132+
padding: 1em; /* Reduced from 1.5em */
132133
background: #f8f9fa;
133134
border-radius: var(--border-radius);
134135
opacity: 0;
@@ -144,33 +145,33 @@ <h4>Abstract</h4>
144145

145146
.abstract-section h4 {
146147
margin-top: 0;
147-
margin-bottom: 1em;
148+
margin-bottom: 0.5em; /* Reduced from 1em */
148149
color: var(--primary-color);
149-
font-size: 1.2em;
150+
font-size: 1.1em; /* Slightly smaller */
150151
}
151152

152153
.bibtex-section pre {
153154
margin: 0;
154-
padding: 1.2em;
155+
padding: 0.8em; /* Reduced from 1.2em */
155156
background: white;
156157
border-radius: calc(var(--border-radius) - 2px);
157-
font-size: 0.9em;
158+
font-size: 0.85em; /* Slightly smaller */
158159
overflow-x: auto;
159160
border: 1px solid #e0e0e0;
160161
}
161162

162163
@media (max-width: 768px) {
163164
.publication-entry {
164-
padding: 1em;
165+
padding: 0.8em;
165166
}
166167

167168
.action-buttons {
168169
gap: 0.5em;
169170
}
170171

171172
.pub-btn {
172-
padding: 0.5em 1em;
173-
font-size: 0.9em;
173+
padding: 0.3em 0.6em;
174+
font-size: 0.85em;
174175
}
175176
}
176177
</style>

0 commit comments

Comments
 (0)