Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gonnux/hugo-apps-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByeonggon Lee <gonny952@gmail.com>2018-11-26 21:09:09 +0300
committerByeonggon Lee <gonny952@gmail.com>2018-11-26 21:09:09 +0300
commit6d027a41f3e012eb71107680560686768254c1a4 (patch)
tree655a6681bdab5c86c0ec2020a236313c35c32122
parente4f9208117ad4fbac8c4502c39eaaad0132309bf (diff)
Change font
-rw-r--r--layouts/_default/baseof.html1
-rw-r--r--static/css/hugo-apps-theme.css6
-rw-r--r--static/css/hugo-apps-theme.scss9
3 files changed, 9 insertions, 7 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index eb7788f..6feccb3 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -11,6 +11,7 @@
<header class="apps-header">
<div style="margin-bottom:1rem">
<a href="../" style="float: left">Back</a>
+ <br/>
<a href="{{ .Site.BaseURL }}" class="apps-header-title">
<h1>
{{ .Site.Title }}
diff --git a/static/css/hugo-apps-theme.css b/static/css/hugo-apps-theme.css
index a1c3742..f4547b5 100644
--- a/static/css/hugo-apps-theme.css
+++ b/static/css/hugo-apps-theme.css
@@ -1,4 +1,4 @@
-@import url("https://fonts.googleapis.com/css?family=Press+Start+2P");
+@import url("https://fonts.googleapis.com/css?family=Rajdhani");
@media (min-width: 0px) and (orientation: landscape) { html { background-color: black; font-size: 10px; } }
@media (min-width: 320px) and (orientation: landscape) { html { background-color: red; font-size: 15px; } }
@@ -27,7 +27,7 @@
@media (min-width: 1281px) and (orientation: portrait) { html { background-color: indigo; font-size: 20px; } }
-body { background-color: silver; font-family: 'Press Start 2P', cursive; line-height: 120%; text-align: center; word-wrap: break-word; overflow: scroll; }
+body { background-color: silver; font-family: 'Rajdhani', cursive; line-height: 120%; text-align: center; word-wrap: break-word; overflow: scroll; }
h1 { font-size: 2rem; }
@@ -80,5 +80,3 @@ thead, th { border-bottom-width: 0.4rem; }
.apps-app-icon { display: inline-block; border: 0.5rem solid white; border-radius: 1.5rem; width: 8rem; height: 8rem; padding-bottom: 0; overflow: hidden; }
.apps-app-icon img { width: 8rem; height: 8rem; }
-
-.apps-app-name { padding-top: 1rem; }
diff --git a/static/css/hugo-apps-theme.scss b/static/css/hugo-apps-theme.scss
index 06234ad..ee8fa1b 100644
--- a/static/css/hugo-apps-theme.scss
+++ b/static/css/hugo-apps-theme.scss
@@ -1,4 +1,7 @@
-@import url('https://fonts.googleapis.com/css?family=Press+Start+2P');
+//@import url('https://fonts.googleapis.com/css?family=Encode+Sans+Condensed');
+@import url('https://fonts.googleapis.com/css?family=Rajdhani');
+//@import url('https://fonts.googleapis.com/css?family=Press+Start+2P');
+
@mixin screen($orientation, $width) {
@if $width == 1 {
@@ -93,7 +96,7 @@ html {
body {
background-color: silver;
- font-family: 'Press Start 2P', cursive;
+ font-family: 'Rajdhani', cursive;
line-height: 120%;
text-align: center;
word-wrap: break-word;
@@ -219,5 +222,5 @@ thead, th {
}
.apps-app-name {
- padding-top: 1rem;
+// padding-top: 1rem;
}