feat: using emojis instead of icon fonts
This commit is contained in:
parent
7d77dea9ff
commit
45d07ef87f
|
@ -194,3 +194,29 @@ td {
|
|||
table tbody tr td {
|
||||
border: 1px solid lightgray;
|
||||
}
|
||||
|
||||
/* ==================================================================
|
||||
Custom
|
||||
================================================================== */
|
||||
|
||||
.icons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.franklin-content h1 {
|
||||
font-size: 2rem !important;
|
||||
}
|
||||
|
||||
.franklin-content img,
|
||||
.franklin-content video {
|
||||
width: 100% !important;
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
.icons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.franklin-content h1 {
|
||||
font-size: 2rem !important;
|
||||
}
|
||||
|
||||
.franklin-content img,
|
||||
.franklin-content video {
|
||||
width: 100% !important;
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
}
|
|
@ -5,11 +5,9 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{if hasmath}} {{insert head_katex.html }} {{end}}
|
||||
{{if hascode}} {{insert head_highlight.html }} {{end}}
|
||||
{{if hasicons}} {{insert head_icons.html }} {{end}}
|
||||
<link rel="stylesheet" href="/css/franklin.css">
|
||||
<link rel="stylesheet" href="/css/basic.css">
|
||||
<link rel="icon" href="/assets/favicon.png">
|
||||
<script defer data-domain="laurent.fainsin.bzh" src="http://stats.fainsin.bzh/js/plausible.js"></script>
|
||||
{{isdef title}} <title>{{fill title}}</title> {{end}}
|
||||
<meta name="description" content="Laurent Fainsin's personnal website">
|
||||
<meta property="og:title" content="{{fill title}}">
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
<link rel="stylesheet" href="/libs/devicon/devicon.min.css" />
|
||||
<link rel="stylesheet" href="/libs/line-awesome/css/line-awesome.min.css" />
|
||||
<link rel="stylesheet" href="/css/project.css" />
|
|
@ -4,8 +4,6 @@ mintoclevel = 2
|
|||
|
||||
ignore = ["node_modules/", "_data/"]
|
||||
|
||||
hasicons = false
|
||||
|
||||
generate_sitemap = true
|
||||
generate_rss = false
|
||||
+++
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@def title = "Projects"
|
||||
@def hasicons = true
|
||||
|
||||
|
||||
Here is a non-exhaustive list of my projects. \
|
||||
Most of them are in French 🇫🇷 🥖 🥐.
|
||||
|
|
|
@ -8,9 +8,9 @@ function hfun_print_projects(yaml_files)
|
|||
html_string = ""
|
||||
for (project_name, project) in yaml
|
||||
description = Franklin.fd2html(project["description"], internal=true)
|
||||
repository = haskey(project, "repository") ? """<a href="$(project["repository"])"><i class="icon devicon-git-plain"></i></a>""" : ""
|
||||
website = haskey(project, "website") ? """<a href="$(project["website"])"><i class="icon las la-globe"></i></a>""" : ""
|
||||
pdf = haskey(project, "pdf") ? """<a href="$(project["pdf"])"><i class="icon las la-file-pdf"></i></a>""" : ""
|
||||
repository = haskey(project, "repository") ? """<a href="$(project["repository"])">💾</a>""" : ""
|
||||
website = haskey(project, "website") ? """<a href="$(project["website"])">🌐</a>""" : ""
|
||||
pdf = haskey(project, "pdf") ? """<a href="$(project["pdf"])">📜</a>""" : ""
|
||||
year = """<span class="year">$(project["year"])</span>"""
|
||||
image = haskey(project, "image") ? """<img src="$(project["image"])">""" : ""
|
||||
video = haskey(project, "video") ? """<video controls autoplay loop><source src="$(project["video"])"></video>""" : ""
|
||||
|
|
Loading…
Reference in a new issue