1
0

Update styles

This commit is contained in:
Serghei Cebotari 2023-12-05 00:02:24 +03:00
parent ef3f80fe4a
commit 9d33b5b5a7
5 changed files with 6 additions and 14 deletions

View File

@ -1,6 +1,6 @@
<div class="align-center">
<h1 class="name">{{ .Site.Params.Name }}</h1>
<div class="font-small">
<div class="subtitle">
{{ with .Site.Params.Phone }}
<a href="tel:{{ . }}">{{ . }}</a><span> |</span>
{{ end }}

View File

@ -7,7 +7,7 @@
<td><strong>{{ .Title }}</strong></td>
<td class="align-right">{{ with .Params.location}}{{ . }}{{ end }}</td>
</tr>
<tr>
<tr class="subtitle">
<td><em>{{ with .Params.degree}}{{ . }}{{ end }}</em>
</td>
<td class="align-right"><em>

View File

@ -23,7 +23,7 @@
{{ end }}
</td>
</tr>
<tr>
<tr class="subtitle">
<td><em>{{with .Params.workplace}}{{ . }}{{ end }}</em></td>
<td class="align-right"><em>{{ with .Params.location}}{{ . }}{{ end }}</em></td>
</tr>

View File

@ -5,7 +5,7 @@
<tbody>
<tr>
<td><strong>{{ .Title }} </strong><span>|</span>
<em>{{ range $i, $e := .Params.tags -}}{{- if $i -}}, {{ end -}}{{ . }}{{- end -}}</em>
<em class="subtitle">{{ range $i, $e := .Params.tags -}}{{- if $i -}}, {{ end -}}{{ . }}{{- end -}}</em>
</td>
<td class="align-right">
{{ with .Params.start_date }}

View File

@ -32,13 +32,8 @@
font-display: swap;
}
.font-small {
font-size: small;
}
body {
font-family: 'Computer Modern Serif', serif;
font-size: 13pt;
line-height: 100%;
}
@ -48,7 +43,6 @@
.align-right {
text-align: right;
font-size: 11pt
}
.page {
@ -80,7 +74,6 @@
}
h1,
h2,
h3 {
margin-top: 5px;
margin-bottom: 5px;
@ -90,7 +83,6 @@
h3 {
border-bottom-style: solid;
border-bottom-width: 1px;
font-size: 13pt;
}
h1.name {
@ -99,7 +91,7 @@
margin-bottom: 5px;
}
em {
.subtitle {
font-size: small;
}