Custom changes
This commit is contained in:
parent
b14099207d
commit
ddccd88417
@ -5,11 +5,11 @@
|
||||
<body>
|
||||
<div class="container wrapper">
|
||||
{{ partial "head.html" . }}
|
||||
<div class="body_spacer"></div>
|
||||
{{ partial "introduction.html" . }}
|
||||
{{ partial "projects.html" . }}
|
||||
{{ partial "publications.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
||||
</body>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div class="footer wrapper">
|
||||
<nav class="nav">
|
||||
<div><a href="https://github.com/hadisinaee/avicenna">Avicenna Theme</a> | Built with <a href="https://gohugo.io">Hugo</a></div>
|
||||
<div>Original theme: <a href="https://github.com/hadisinaee/avicenna">Avicenna</a>, modifications by me</div>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
@ -21,13 +21,13 @@
|
||||
{{- range $index, $key := .Site.Params.Social -}}
|
||||
<a href="{{ $key.url }}" title="{{ $key.name }}"><i data-feather="{{ $key.icon }}"></i></a>
|
||||
{{- end -}}
|
||||
{{ if or (.Site.Params.blog) (.Site.Params.cv_name) }}
|
||||
{{ if or (.Site.Params.blog) (.Site.Params.cv_link) }}
|
||||
|
|
||||
{{- with .Site.Params.blog -}}
|
||||
<a href="{{ . }}" class="blog_cv">[blog]</a>
|
||||
{{- end -}}
|
||||
|
||||
{{ with .Site.Params.cv_name }}
|
||||
{{ with .Site.Params.cv_link }}
|
||||
<a href="{{ . }}" class="blog_cv">[cv]</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
@ -1,6 +1,9 @@
|
||||
<div class="introduction">
|
||||
{{ with .Site.Params.projects }}
|
||||
<h4>Projects</h4>
|
||||
<h2>Projects</h2>
|
||||
|
||||
These are some of my open source projects:
|
||||
|
||||
<ul>
|
||||
{{- range $index, $projects_map := $.Site.Params.projects -}}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div class="introduction">
|
||||
<h4>Publications</h4>
|
||||
<h2>Publications</h2>
|
||||
|
||||
{{- range $index, $publications := .Site.Params.publications -}}
|
||||
<div class="year">{{ $publications.year }}</div>
|
||||
@ -14,7 +14,7 @@
|
||||
{{ end }}
|
||||
{{ $publication.dest | markdownify }}.
|
||||
|
||||
{{ if or ($publication.code_link) $publication.blog_link }}
|
||||
{{ if or ($publication.code_link) $publication.blog_link $publication.pdf_link }}
|
||||
<span class="code_blog">
|
||||
{{ with $publication.code_link }}
|
||||
[<a href="{{ $publication.code_link }}">code</a>]
|
||||
@ -23,6 +23,10 @@
|
||||
{{ with $publication.blog_link }}
|
||||
[<a href="{{ $publication.blog_link }}">blog</a>]
|
||||
{{ end }}
|
||||
|
||||
{{ with $publication.pdf_link }}
|
||||
[<a href="{{ $publication.pdf_link }}">PDF</a>]
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
|
@ -2,17 +2,22 @@
|
||||
@import url(https://fonts.googleapis.com/css?family=Ubuntu);
|
||||
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono);
|
||||
|
||||
:root {
|
||||
--palette-red: #0395DE;
|
||||
--body-font-weight: 330;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Ubuntu", sans-serif;
|
||||
font-weight: 300;
|
||||
font-weight: var(--body-font-weight);
|
||||
color: #333;
|
||||
line-height: 1.5;
|
||||
font-size: 16px;
|
||||
line-height: 1.4;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
a,
|
||||
a:hover {
|
||||
color: #a00;
|
||||
color: var(--palette-red);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@ -67,7 +72,7 @@ blockquote {
|
||||
font-size: 1.4rem;
|
||||
font-family: Georgia, bitstream charter, serif;
|
||||
border-left: 3px solid;
|
||||
border-color: #a00;
|
||||
border-color: var(--palette-red);
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
@ -75,13 +80,14 @@ blockquote cite {
|
||||
font-size: 70%;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
span {
|
||||
display: block;
|
||||
display: block;
|
||||
}
|
||||
|
||||
a,
|
||||
a:hover {
|
||||
color: #a00;
|
||||
color: var(--palette-red);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@ -98,7 +104,7 @@ h6 {
|
||||
font-family: Ubuntu, raleway, sans-serif;
|
||||
line-height: 1.2;
|
||||
color: #330;
|
||||
font-weight: 100;
|
||||
font-weight: var(--body-font-weight) / 3;
|
||||
margin-bottom: 15px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
@ -120,12 +126,12 @@ h4 {
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-weight: 300;
|
||||
font-weight: var(--body-font-weight);
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-weight: 300;
|
||||
font-weight: var(--body-font-weight);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
@ -164,6 +170,11 @@ ul {
|
||||
list-style: disc inside;
|
||||
}
|
||||
|
||||
.body_spacer {
|
||||
display: block;
|
||||
height: 1.2rem;
|
||||
}
|
||||
|
||||
.introduction ul li {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
@ -201,7 +212,7 @@ ul {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 30%;
|
||||
max-width: 40%;
|
||||
height: auto;
|
||||
border-radius: 50%;
|
||||
/* float: left; */
|
||||
@ -211,7 +222,7 @@ ul {
|
||||
.header h2 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 2rem;
|
||||
font-size: 2.2rem;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
|
||||
@ -249,7 +260,7 @@ ul {
|
||||
|
||||
.header .site-affilation .email {
|
||||
/* color: #a00; */
|
||||
font-size: 14px;
|
||||
font-size: 0.9rem;
|
||||
display: block;
|
||||
font-family: "Ubuntu Mono";
|
||||
font-weight: bolder;
|
||||
@ -257,7 +268,7 @@ ul {
|
||||
|
||||
.header .site-affilation .position {
|
||||
/* color: #a00; */
|
||||
/* font-size: 14px; */
|
||||
font-size: 1.5rem;
|
||||
/* display: block; */
|
||||
font-family: Ubuntu;
|
||||
/* font-weight: bolder; */
|
||||
@ -267,15 +278,16 @@ ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
|
||||
}
|
||||
|
||||
.header .site-affilation nav ul svg {
|
||||
max-height: 15px;
|
||||
/* max-height: 15px; */
|
||||
}
|
||||
|
||||
.email {
|
||||
/* color: #a00; */
|
||||
font-size: 16px;
|
||||
font-size: 100rem;
|
||||
font-family: "Ubuntu Mono";
|
||||
font-weight: bolder;
|
||||
}
|
||||
@ -287,8 +299,9 @@ ul {
|
||||
}
|
||||
|
||||
.year {
|
||||
font-size: 20px;
|
||||
font-size: 23px;
|
||||
margin-bottom: -.6em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.project {
|
||||
@ -300,24 +313,24 @@ ul {
|
||||
}
|
||||
|
||||
.code_blog {
|
||||
font-family: "Ubuntu Mono";
|
||||
font-size: 14px;
|
||||
margin: 0em .9em 0em;
|
||||
font-family: "Ubuntu Mono";
|
||||
font-size: 14px;
|
||||
margin: 0em .9em 0em;
|
||||
}
|
||||
|
||||
.blog_cv {
|
||||
font-family: "Ubuntu Mono";
|
||||
font-size: 17px;
|
||||
/* margin: 0em .9em 0em; */
|
||||
font-family: "Ubuntu Mono";
|
||||
font-size: 17px;
|
||||
/* margin: 0em .9em 0em; */
|
||||
}
|
||||
|
||||
.project_description {
|
||||
margin: .5em .9em 0em;
|
||||
margin: .5em .9em 0em;
|
||||
}
|
||||
|
||||
.section .section-header {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
font-weight: 2 * var(--body-font-weight);
|
||||
text-transform: uppercase;
|
||||
color: #999;
|
||||
margin-bottom: 20px;
|
||||
|
Loading…
Reference in New Issue
Block a user