Skip to content

Commit 8a7a522

Browse files
authored
Reducir tamaño entradas blog (#73)
Actualmente son 2 por fila, pero se ven bastante grandes. Esto las cambia a tres y reduce un poco la imagen para que se vea mejor
1 parent d4a0c24 commit 8a7a522

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

pycltheme/static/css/cl.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
/* Images from cards with the same height */
138138
.card-img-top {
139139
width: 100%;
140-
height: 12vw;
140+
height: 8vw;
141141
object-fit: cover;
142142
max-height: 30vh;
143143
}
@@ -163,6 +163,14 @@
163163
padding: 5px;
164164
}
165165

166+
.card-title {
167+
font-size: 0.9em;
168+
}
169+
170+
.card-subtitle {
171+
font-size: 0.9em;
172+
}
173+
166174
.list-inline-item {
167175
margin: 15px 30px 0px 30px;
168176
}

pycltheme/templates/card.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
<div class="col-md-6 col-lg-6 mb-5">
2+
<div class="col-md-4 col-lg-4 mb-5">
33
<div class="card h-100">
44
<a href="{{ SITEURL }}/{{ article.url }}">
55
<img class="card-img-top img-fluid"

0 commit comments

Comments
 (0)