Compare commits

..

No commits in common. "72e5576a156f38fb19c3c65fe475f2313cb646bd" and "f62a00c10fd2690c3cc6f9792a382d8a7438484c" have entirely different histories.

5 changed files with 24 additions and 158 deletions

View file

@ -1,18 +1,12 @@
$light-bg: #dde4ff ; $light-bg: #d2c9a5;
$light-bg-alt: #733c7c ; $light-bg-alt: #4b726e ;
$light-fg: #4b3d44; $light-fg: #4b3d44;
$light-ln: #733c7c ; $light-ln: #79444a ;
$light-accent1: #007582 ;
$light-accent2: #225091 ;
$light-accent3: #27234c ;
$dark-bg: #27234c ; $dark-bg: #4b3d44;
$dark-bg-alt: #f2504b ; $dark-bg-alt: #8caba1;
$dark-fg: #e88dc3 ; $dark-fg: #d2c9a5;
$dark-ln: #f2504b ; $dark-ln: #c77b58;
$dark-accent1: #b296ff;
$dark-accent2: #39b8a3 ;
$dark-accent3: #dde4ff ;
$transition-time: 1s; $transition-time: 1s;
@ -110,69 +104,4 @@ article {
} }
background-color: $dark-bg; background-color: $dark-bg;
border-color: $dark-bg-alt; border-color: $dark-bg-alt;
transition: $transition-time;
}
article h2 {
background-color: $dark-accent1;
color: $dark-bg;
transition: $transition-time;
}
article h3 {
background-color: $dark-accent2;
color: $dark-bg;
transition: $transition-time;
}
article.light h3 {
background-color: $light-accent2;
color: $light-bg;
transition: $transition-time;
}
article h4 {
background-color: $dark-accent3;
color: $dark-bg;
transition: $transition-time;
}
article.light h4 {
background-color: $light-accent3;
color: $light-bg;
transition: $transition-time;
}
article.light h2 {
background-color: $light-accent1;
color: $light-bg;
transition: $transition-time;
}
article h5,
article h6,
article a {
background-color: $dark-ln;
color: $dark-bg;
transition: $transition-time;
}
article.light h5,
article.light h6,
article.light a {
background-color: $light-ln;
color: $light-bg;
transition: $transition-time;
}
a:hover {
&.light {
color: $light-ln;
background-color: transparent;
}
color: $dark-ln;
background-color: transparent;
}
article.light a:hover {
color: $light-ln;
background-color: transparent;
} }

View file

@ -1,7 +1,7 @@
$huge: 42pt; $huge: 42pt;
$large: 32pt; $large: 24pt;
$big: 24pt; $big: 20pt;
$medium: 18pt; $medium: 16pt;
$small: 12pt; $small: 12pt;
@font-face { @font-face {
@ -23,25 +23,12 @@ h1 {
font-size: $huge; font-size: $huge;
} }
h2 {
font-size: $huge;
font-style:bold;
}
h3, h4 {
font-size: $large;
}
h5 h6 {
font-size: $big;
}
a { a {
text-decoration: none; text-decoration: none;
} }
footer * { footer * {
font-size: $big; font-size: $large;
font-family: CaskaydiaCoveMono; font-family: CaskaydiaCoveMono;
} }
@ -49,7 +36,3 @@ label::after {
font-family: CaskaydiaCoveMono; font-family: CaskaydiaCoveMono;
font-size: $big; font-size: $big;
} }
h6 {
font-style: italic;
}

View file

@ -18,15 +18,7 @@ footer {
#content { #content {
min-height: calc(100% - 42pt * 3); min-height: calc(100% - 42pt * 3);
right: auto; right: auto;
margin-bottom: 84pt; padding: 42pt;
}
#content p,
#content ul,
#content ol,
#content table {
margin-right: 24%;
margin-left: 24%;
} }
#footer-left { #footer-left {
@ -79,36 +71,9 @@ footer {
align-items: center; align-items: center;
} }
h1,
h2,
h3,
h4,
h5,
h6 {
padding-right: 6%;
padding-top: 12pt;
padding-bottom: 12pt;
margin-right: 6%;
justify-content: right;
display: flex;
align-items: center;
}
h2,
h3,
h4,
h5,
h6 {
margin-top: 1em;
margin-bottom: 1em;
}
article { article {
margin-top: 42pt;
margin-inline: auto; margin-inline: auto;
padding: 4em;
} }
.titlecontainer {
width: 100%;
padding-top: 42pt;
}

View file

@ -1,4 +1,4 @@
$radius: 48pt; $radius: 24pt;
$toggle-width: 42pt; $toggle-width: 42pt;
$toggle-height: 24pt; $toggle-height: 24pt;
@ -62,20 +62,11 @@ input:checked + label::after{
border-style: solid; border-style: solid;
} }
article {
border-style: solid;
border-radius: $radius;
}
.togglelabel{ .togglelabel{
border: solid; border: solid;
} }
h1, h2, h3, h4, h5, h6 {
border-top-right-radius: $radius;
border-bottom-right-radius: $radius;
}
#content p,
#content ul,
#content ol,
#content table {
border-left-style: solid;
border-width: 0.24em;
padding-left: 2em;
}

View file

@ -1,8 +1,6 @@
{{ define "main" }} {{ define "main" }}
<section id="main"> <section id="main">
<div class="titlecontainer"> <h1 id="title" class="colorswitch">Single Page {{ .Title }}</h1>
<h1 id="title" class="colorswitch">{{ .Title }}</h1>
</div>
<div> <div>
{{ with .PrevInSection }} {{ with .PrevInSection }}
<a class="previous colorswitch" href="{{.Permalink}}">previous: {{.Title}}</a> <a class="previous colorswitch" href="{{.Permalink}}">previous: {{.Title}}</a>