Skip to content

Commit 00aa124

Browse files
author
Danezis
committed
update css & purge html page
1 parent 15fe805 commit 00aa124

File tree

9 files changed

+47
-101
lines changed

9 files changed

+47
-101
lines changed

themes/10ko/assets/scss/_buttons.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
.button-container {
1+
/*.button-container {
22
display: table;
33
margin-left: auto;
44
margin-right: auto;
5-
}
5+
}*/
66

77
button,
88
.button,
@@ -58,7 +58,7 @@ a.button {
5858
padding: 14px 24px;
5959
}
6060
}
61-
61+
/*
6262
.code-toolbar {
6363
margin-bottom: 20px;
6464
@@ -81,3 +81,4 @@ a.button {
8181
outline: none;
8282
}
8383
}
84+
*/
Lines changed: 2 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,4 @@
1-
.footer {
1+
footer {
2+
background: $dark-background-header;
23
padding: 40px 20px;
3-
flex-grow: 0;
4-
color: $dark-color-secondary;
5-
6-
&__inner {
7-
display: flex;
8-
align-items: center;
9-
justify-content: center;
10-
margin: 0 auto;
11-
width: 760px;
12-
max-width: 100%;
13-
14-
@media #{$media-size-tablet} {
15-
flex-direction: column;
16-
}
17-
}
18-
19-
&__content {
20-
display: flex;
21-
flex-direction: row;
22-
align-items: center;
23-
font-size: 1rem;
24-
color: $dark-color-secondary;
25-
26-
@media #{$media-size-tablet} {
27-
flex-direction: column;
28-
margin-top: 10px;
29-
}
30-
31-
& > *:not(:last-child)::after {
32-
content: "";
33-
padding: 0 5px;
34-
35-
@media #{$media-size-tablet} {
36-
content: "";
37-
padding: 0;
38-
}
39-
}
40-
41-
& > *:last-child {
42-
padding: 0 5px;
43-
44-
@media #{$media-size-tablet} {
45-
padding: 0;
46-
}
47-
}
48-
}
494
}

themes/10ko/assets/scss/_header.scss

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,4 @@
2525
width: 760px;
2626
max-width: 100%;
2727
}
28-
}
29-
30-
.theme-toggle {
31-
display: flex;
32-
align-items: center;
33-
justify-content: center;
34-
line-height: 1;
35-
cursor: pointer;
36-
}
37-
38-
.theme-toggler {
39-
fill: currentColor;
40-
}
41-
42-
.unselectable {
43-
user-select: none;
44-
-webkit-user-select: none;
45-
-moz-user-select: none;
46-
-ms-user-select: none;
4728
}

themes/10ko/assets/scss/_ico.scss

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.icoTim, .icoTag,.icoWor,.icoDat {
1+
.icoTim, .icoTag,.icoWor,.icoDat, .icoRss, .icoMen {
22
display: inline-flex;
33
width: 12px;
44
height: 12px;
@@ -8,11 +8,21 @@
88
}
99

1010
.icoTag{
11-
background-position: 12px 0px;
11+
background-position: -12px 0px;
1212
}
1313
.icoWor{
14-
background-position: 0px 12px;
14+
background-position: 0px -12px;
1515
}
1616
.icoDat{
17-
background-position: 12px -12px;
17+
background-position: -12px -12px;
18+
}
19+
.icoRss{
20+
background-position: -30px -23px;
21+
width: 18px;
22+
height: 18px;
23+
}
24+
.icoMen{
25+
background-position: 24px -0px;
26+
width: 24px;
27+
height: 24px;
1828
}

themes/10ko/assets/scss/_logo.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
font-display: auto;
77
font-family: monospace, monospace;
88

9-
img {
9+
/* img {
1010
height: 44px;
1111
}
12-
12+
*/
1313
&__mark {
1414
margin-right: 5px;
1515
}

themes/10ko/assets/scss/_main.scss

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ body {
2222
color: $dark-color;
2323
text-rendering: optimizeLegibility;
2424
-webkit-font-smoothing: antialiased;
25-
font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl";
25+
// font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl";
2626
-webkit-overflow-scrolling: touch;
2727
-webkit-text-size-adjust: 100%;
2828

@@ -277,7 +277,7 @@ hr {
277277
.hidden {
278278
display: none;
279279
}
280-
280+
/*
281281
.hide-on-phone {
282282
@media #{$media-size-phone} {
283283
display: none;
@@ -289,8 +289,9 @@ hr {
289289
display: none;
290290
}
291291
}
292-
292+
*/
293293
// Accessibility
294+
/*
294295
.screen-reader-text {
295296
border: 0;
296297
clip: rect(1px, 1px, 1px, 1px);
@@ -323,16 +324,17 @@ hr {
323324
padding: 15px 23px 14px;
324325
text-decoration: none;
325326
z-index: 100000;
326-
}
327-
327+
}*/
328+
/*
328329
.background-image {
329330
background-repeat: no-repeat;
330331
background-attachment: fixed;
331332
background-size: cover;
332333
background-position: center center;
333334
}
334-
335+
*/
335336
// Prism JS Additionals
337+
/*
336338
.highlight {
337339
margin: 30px auto;
338-
}
340+
}*/

themes/10ko/assets/scss/main.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/* Must be loaded before everything else */
2-
@import "normalize";
2+
//@import "normalize";
33
//@import "prism";
44
/* Main stuff */
55
@import "variables";
66
@import "mixins";
7-
@import "fonts";
7+
//@import "fonts";
88
@import "buttons";
99
/* Modules */
1010
@import "header";
Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
<footer class="footer">
2-
<div class="footer__inner">
3-
<div class="footer__content">
4-
<span>&copy; {{ now.Format "2006" }}</span>
5-
{{ if .Site.Author.name }}<span><a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a></span>{{ end }}
6-
{{ if .Site.Copyright }}<span>{{ .Site.Copyright| safeHTML }}</span>{{ end }}
7-
{{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }}<span><a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a></span>{{ end }}
8-
</div>
9-
</div>
10-
<div class="footer__inner">
11-
<div class="footer__content">
12-
<span>{{ .Site.Params.footerLeft | default "Powered by <a href=\"http://gohugo.io\">Hugo</a>" | safeHTML }}</span>
13-
<span>{{ .Site.Params.footerRight | default "Made with &#10084; by <a href=\"https://github.com/rhazdon\">Djordje Atlialp</a>" | safeHTML }}</span>
14-
</div>
15-
</div>
1+
<footer>
2+
&copy; {{ now.Format "2006" }}
3+
{{ if .Site.Author.name }} - <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a> - {{ end }}
4+
{{ if .Site.Copyright }}{{ .Site.Copyright| safeHTML }}{{ end }}
5+
{{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }}<a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss">
6+
<!--
7+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg>
8+
-->
9+
<i class='icoRss'></i>
10+
</a>{{ end }}
11+
1612
</footer>

themes/10ko/layouts/partials/header.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
{{ if len .Site.Menus }}
77
{{ partial "menu.html" . }}
88
<span class="menu-trigger">
9-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
9+
<!--<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1010
<path d="M0 0h24v24H0z" fill="none"/>
1111
<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>
12-
</svg>
12+
</svg>-->
13+
<i class="icoMen"></i>
1314
</span>
1415
{{ end }}
1516
</span>

0 commit comments

Comments
 (0)