Skip to content

Commit 85fb3d7

Browse files
committed
Agrego logo y mejoro responsiveness
1 parent f154eba commit 85fb3d7

7 files changed

Lines changed: 26 additions & 8 deletions

File tree

_quarto.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ website:
99
page-navigation: true
1010
navbar:
1111
title: "Programación en Python"
12+
background: light
13+
foreground: dark
1214
pinned: true
1315
right:
1416
- text: Información
@@ -22,7 +24,7 @@ website:
2224
- text: Recursos
2325
file: recursos/tutoriales/instalacion_python.qmd
2426
- icon: github
25-
href: none
27+
href: https://github.com/ee-unr/programacion-python
2628
page-footer:
2729
right: "Esta página fue hecha con ❤️ y [Quarto](https://quarto.org/)."
2830

@@ -60,10 +62,10 @@ website:
6062

6163
format:
6264
html:
63-
theme: styles.scss
65+
theme:
66+
light: styles.scss
6467
toc: false
6568
lang: es
66-
highlight-style: arrow-light
6769

6870
csl: citas/chicago-author-date.csl
6971
bibliography: citas/references.bib

imgs/favicon.png

195 Bytes
Loading

imgs/favicon_original.png

785 KB
Loading

imgs/hero.png

1.08 MB
Loading

imgs/logo_original.png

2.13 MB
Loading

styles.scss

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ div.sidebar-item-container {
200200

201201
h2 {
202202
margin-top: 0;
203-
font-size: 2.5rem;
203+
font-size: 2.3rem;
204204
}
205205

206206
ul {
@@ -220,9 +220,10 @@ div.sidebar-item-container {
220220
}
221221

222222
.front-image {
223-
width: 80%;
223+
width: 90%;
224224
}
225225

226+
226227
.hero-img-container {
227228
display: flex;
228229
justify-content: center; /* horizontal */
@@ -232,7 +233,7 @@ div.sidebar-item-container {
232233

233234
@media (max-width: 575px) {
234235
.front-image {
235-
width: 50%;
236+
width: 90%;
236237
}
237238
}
238239

@@ -277,3 +278,18 @@ div.sidebar-item-container {
277278
}
278279
}
279280

281+
282+
.navbar-brand {
283+
display: inline-block;
284+
transition: transform 0.2s ease;
285+
}
286+
287+
.navbar-brand:hover {
288+
transform: scale(1.03);
289+
}
290+
291+
@media (max-width: 576px) {
292+
.navbar-brand .navbar-title {
293+
display: none;
294+
}
295+
}

templates/front.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
%>
2121

2222
<div class="grid">
23-
<div class="g-col-12 g-col-sm-8 order-2 order-sm-1 text-sm-start">
23+
<div class="g-col-12 g-col-sm-6 order-2 order-sm-1 text-sm-start">
2424
<div class="course-meta">
2525
<% if (data.name) { %>
2626
<h2><%= data.name %></h2>
@@ -41,7 +41,7 @@
4141
</div>
4242

4343
<% if (hasHeroImage) { %>
44-
<div class="g-col-12 g-col-sm-4 order-1 order-sm-2 self-align-center hero-img-container">
44+
<div class="g-col-12 g-col-sm-6 order-1 order-sm-2 self-align-center hero-img-container">
4545
<img src="<%= data.hero_image %>" class="front-image">
4646
</div>
4747
<% } %>

0 commit comments

Comments
 (0)