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"> <div class="align-center">
<h1 class="name">{{ .Site.Params.Name }}</h1> <h1 class="name">{{ .Site.Params.Name }}</h1>
<div class="font-small"> <div class="subtitle">
{{ with .Site.Params.Phone }} {{ with .Site.Params.Phone }}
<a href="tel:{{ . }}">{{ . }}</a><span> |</span> <a href="tel:{{ . }}">{{ . }}</a><span> |</span>
{{ end }} {{ end }}

View File

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

View File

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

View File

@ -5,7 +5,7 @@
<tbody> <tbody>
<tr> <tr>
<td><strong>{{ .Title }} </strong><span>|</span> <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>
<td class="align-right"> <td class="align-right">
{{ with .Params.start_date }} {{ with .Params.start_date }}

View File

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