diff --git a/static/css/main.css b/static/css/main.css index 5543c7f..b5b5f15 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -809,8 +809,11 @@ iconify-icon { /* Courses */ .course-item { - margin-bottom: 1rem; - padding-bottom: 0.8rem; + display: flex; + gap: 1.2rem; + align-items: flex-start; + margin-bottom: 2.5rem; + padding-bottom: 2rem; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } @@ -820,6 +823,23 @@ iconify-icon { margin-bottom: 0; } +.course-icon { + flex-shrink: 0; + width: 60px; + height: 60px; + display: flex; + align-items: center; + justify-content: center; +} + +.default-course-icon { + color: #999; +} + +.course-content { + flex: 1; +} + .course-item strong { font-size: 0.95em; color: var(--text-dark); diff --git a/templates/cv-content.html b/templates/cv-content.html index 168cd83..9bcd832 100644 --- a/templates/cv-content.html +++ b/templates/cv-content.html @@ -186,10 +186,15 @@

{{if eq .Lang "es"}}Cursos Realizados{{else}}Courses{{end}}

{{range .CV.Courses}}
- {{.Title}}
- {{.Institution}} - {{.Location}}
- {{.Date}} ({{.Duration}}) - {{if .Description}}

{{.Description}}

{{end}} +
+ +
+
+ {{.Title}}
+ {{.Institution}} - {{.Location}}
+ {{.Date}} ({{.Duration}}) + {{if .Description}}

{{.Description}}

{{end}} +
{{end}} @@ -211,8 +216,7 @@

{{if eq .Lang "es"}}Referencias{{else}}References{{end}}

{{range .CV.References}}
- {{if .TextBefore}}{{.TextBefore}} {{end}}{{if .LinkText}}{{.LinkText}}{{else}}{{.Title}}{{end}}{{if .TextAfter}} {{.TextAfter}}{{end}}
- ({{.Type}}) + {{if .TextBefore}}{{.TextBefore}} {{end}}{{if .LinkText}}{{.LinkText}}{{else}}{{.Title}}{{end}}{{if .TextAfter}} {{.TextAfter}}{{end}}
{{end}}