Commit 48854007 authored by ak's avatar ak
Browse files

clean up css

parent dce184c2
Pipeline #2080 passed with stage
in 11 seconds
/* Odana */
@font-face {
font-family: 'Odana';
font-style: normal;
font-weight: 400;
src: url('../fonts/Odana/Web/Odana-Web.otf');
}
/* Monospace NF */
@font-face {
@font-face {
font-family: 'Monospace';
font-style: normal;
font-weight: 400;
......@@ -31,26 +23,6 @@
url('../fonts/Texturina/Texturina-VariableFont_opsz\,wght.ttf') format('truetype');
}
/* dekko-regular - latin_latin-ext_devanagari */
@font-face {
font-family: 'Dekko';
font-style: normal;
font-weight: 400;
src: url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.eot');
/* IE9 Compat Modes */
src: local('Dekko'),
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.eot?#iefix') format('embedded-opentype'),
/* IE6-IE8 */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.woff2') format('woff2'),
/* Super Modern Browsers */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.woff') format('woff'),
/* Modern Browsers */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.ttf') format('truetype'),
/* Safari, Android, iOS */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.svg#Dekko') format('svg');
/* Legacy iOS */
}
/* ubuntu-300 - latin_greek-ext_latin-ext_cyrillic-ext */
@font-face {
font-family: 'Ubuntu';
......@@ -292,21 +264,13 @@ header h1{
}
header p{
font-weight: bolder;
font-size: 1.6em;
line-height: 1em;
}
code{
font-family: 'Monospace';
/* margin-left: 1em; */
line-height: 0.8;
}
.nodeco{
list-style: none;
padding-left: 0;
}
.small{
font-size: 0.5em;
}
......@@ -326,10 +290,6 @@ code{
font-weight: lighter;
}
.description{
font-weight: lighter;
}
.author::before{
content: 'by ';
}
......@@ -342,14 +302,6 @@ code{
font-size: smaller;
}
.preview{
text-align: center;
}
.preview img{
max-height: 2.5em;
}
figure figcaption{
visibility: hidden;
font-size: 0;
......@@ -362,10 +314,6 @@ figure:hover figcaption{
font-size: 1.6em;
}
.preview:hover img{
max-height: 2.5em;
}
#TOC::before{
font-size: 1rem;
font-family: 'Texturina';
......@@ -427,30 +375,19 @@ figure:hover figcaption{
}
#TOC a:hover{
/* overflow: visible;
width: fit-content; */
width: auto;
min-width: 20vw;
background-color: goldenrod;
z-index: +5;
}
/* ul::after{
content: ' \A ';
white-space: pre-wrap;
} */
/* li::before{
content: ' | ';
} */
#BEFORE{
#BEFORE{
text-align: right;
font-family: 'Texturina';
margin: 0;
padding-top: 0.5em;
padding-right: 0.5em;
padding-bottom: 0.5em;
padding-right: 0.5em;
line-height: 1;
height: 1.5em;
vertical-align: baseline;
......@@ -463,7 +400,23 @@ figure:hover figcaption{
z-index: +1;
}
@media screen and (max-width: 600px) {
@media screen and (min-width: 1024px) {
html {
font-size: larger;
}
}
@media screen and (max-width: 650px) {
html {
font-size: smaller;
}
#BEFORE{
font-size: smaller;
}
#TOC li {
display: block;
width: 100%;
......
/* Odana */
@font-face {
font-family: 'Odana';
font-style: normal;
font-weight: 400;
src: url('.../fonts/Odana/Web/Odana-Web.otf');
}
/* Monospace NF */
@font-face {
@font-face {
font-family: 'Monospace';
font-style: normal;
font-weight: 400;
......@@ -31,26 +23,6 @@
url('../fonts/Texturina/Texturina-VariableFont_opsz\,wght.ttf') format('truetype');
}
/* dekko-regular - latin_latin-ext_devanagari */
@font-face {
font-family: 'Dekko';
font-style: normal;
font-weight: 400;
src: url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.eot');
/* IE9 Compat Modes */
src: local('Dekko'),
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.eot?#iefix') format('embedded-opentype'),
/* IE6-IE8 */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.woff2') format('woff2'),
/* Super Modern Browsers */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.woff') format('woff'),
/* Modern Browsers */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.ttf') format('truetype'),
/* Safari, Android, iOS */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.svg#Dekko') format('svg');
/* Legacy iOS */
}
/* ubuntu-300 - latin_greek-ext_latin-ext_cyrillic-ext */
@font-face {
font-family: 'Ubuntu';
......@@ -222,7 +194,6 @@ html{
}
body {
padding: 0;
margin: 0;
padding-left: 3vw;
......@@ -306,7 +277,6 @@ header p{
code{
font-family: 'Monospace';
/* margin-left: 1em; */
line-height: 0.8;
}
......@@ -327,12 +297,8 @@ code{
}
.texturina{
font-family: 'Texturina';
}
.description{
font-weight: lighter;
font-weight: smaller;
}
.author::before{
......@@ -347,14 +313,6 @@ code{
font-size: smaller;
}
.preview{
text-align: center;
}
.preview img{
max-height: 3em;
}
figure figcaption{
visibility: hidden;
font-size: 0;
......@@ -367,15 +325,11 @@ figure:hover figcaption{
font-size: 1.6em;
}
.preview:hover img{
max-height: 2em;
}
#TOC::before{
font-size: 1rem;
font-family: 'Texturina';
color: goldenrod;
content: 'ToC \A ';
content: 'TOC \A ';
white-space: pre-wrap;
}
......@@ -391,14 +345,11 @@ figure:hover figcaption{
bottom: 0;
left: 0;
padding: 1em;
border-radius: 1em;
transition: 0.5s ease-in;
transition-delay: 1s;
}
#TOC:hover, #TOC:focus{
padding: 1em;
border-radius: 1em;
font-size: 1.2em;
transition-delay: 0s;
bottom: 0;
......@@ -431,24 +382,13 @@ figure:hover figcaption{
}
#TOC a:hover{
/* overflow: visible;
width: fit-content; */
width: auto;
min-width: 20vw;
background-color: goldenrod;
z-index: +5;
}
/* ul::after{
content: ' \A ';
white-space: pre-wrap;
} */
/* li::before{
content: ' | ';
} */
#BEFORE{
#BEFORE{
text-align: right;
font-family: 'Texturina';
margin: 0;
......@@ -458,7 +398,7 @@ figure:hover figcaption{
line-height: 1;
height: 1.5em;
vertical-align: baseline;
font-size: 1.25em;
font-size: 1.2em;
width: 100%;
background-color: goldenrod;
position: sticky;
......@@ -467,12 +407,23 @@ figure:hover figcaption{
z-index: +1;
}
@media screen and (max-width: 600px) {
@media screen and (min-width: 1024px) {
html {
font-size: larger;
}
}
@media screen and (max-width: 650px) {
html {
font-size: smaller;
}
#BEFORE{
font-size: smaller;
}
#TOC li {
display: block;
width: 100%;
......@@ -487,4 +438,4 @@ figure:hover figcaption{
text-overflow: ellipsis;
}
}
\ No newline at end of file
}
/* Odana */
@font-face {
font-family: 'Odana';
font-style: normal;
font-weight: 400;
src: url('../fonts/Odana/Web/Odana-Web.otf');
}
/* Monospace NF */
@font-face {
font-family: 'Monospace';
......@@ -31,26 +23,6 @@
url('../fonts/Texturina/Texturina-VariableFont_opsz\,wght.ttf') format('truetype');
}
/* dekko-regular - latin_latin-ext_devanagari */
@font-face {
font-family: 'Dekko';
font-style: normal;
font-weight: 400;
src: url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.eot');
/* IE9 Compat Modes */
src: local('Dekko'),
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.eot?#iefix') format('embedded-opentype'),
/* IE6-IE8 */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.woff2') format('woff2'),
/* Super Modern Browsers */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.woff') format('woff'),
/* Modern Browsers */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.ttf') format('truetype'),
/* Safari, Android, iOS */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.svg#Dekko') format('svg');
/* Legacy iOS */
}
/* ubuntu-300 - latin_greek-ext_latin-ext_cyrillic-ext */
@font-face {
font-family: 'Ubuntu';
......@@ -222,7 +194,6 @@ html{
}
body {
padding: 0;
margin: 0;
padding-left: 3vw;
......@@ -287,8 +258,8 @@ blockquote {
color: black;
}
header h1{
font-size: 3em;
font-family: 'Pacifico';
font-size: 2em;
font-family: 'Texturina';
}
header p{
font-weight: bolder;
......@@ -302,11 +273,6 @@ code{
line-height: 0.8;
}
.nodeco{
list-style: none;
padding-left: 0;
}
.small{
font-size: 0.5em;
}
......@@ -331,12 +297,13 @@ code{
content: 'by ';
}
.date::before{
content: '⏱️ ';
.author{
font-weight: lighter;
font-size: smaller;
}
.author, .date{
font-size: smaller;
.preview{
text-align: center;
}
.preview img{
......@@ -419,33 +386,22 @@ figure:hover figcaption{
}
#TOC a:hover{
/* overflow: visible;
width: fit-content; */
width: auto;
min-width: 20vw;
background-color: goldenrod;
z-index: +5;
}
/* ul::after{
content: ' \A ';
white-space: pre-wrap;
} */
/* li::before{
content: ' | ';
} */
#BEFORE{
text-align: right;
font-family: 'Texturina';
margin: 0;
padding-top: 0.5em;
padding-right: 0.5em;
padding-bottom: 0.5em;
padding-right: 0.5em;
line-height: 1;
height: 1.5em;
vertical-align: baseline;
vertical-align: middle;
font-size: 1.2em;
width: 100%;
background-color: goldenrod;
......@@ -455,7 +411,23 @@ figure:hover figcaption{
z-index: +1;
}
@media screen and (max-width: 600px) {
@media screen and (min-width: 1024px) {
html {
font-size: larger;
}
}
@media screen and (max-width: 650px) {
html {
font-size: smaller;
}
#BEFORE{
font-size: smaller;
}
#TOC li {
display: block;
width: 100%;
......
/* Odana */
@font-face {
font-family: 'Odana';
font-style: normal;
font-weight: 400;
src: url('../fonts/Odana/Web/Odana-Web.otf');
}
/* Monospace NF */
@font-face {
@font-face {
font-family: 'Monospace';
font-style: normal;
font-weight: 400;
......@@ -31,26 +23,6 @@
url('../fonts/Texturina/Texturina-VariableFont_opsz\,wght.ttf') format('truetype');
}
/* dekko-regular - latin_latin-ext_devanagari */
@font-face {
font-family: 'Dekko';
font-style: normal;
font-weight: 400;
src: url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.eot');
/* IE9 Compat Modes */
src: local('Dekko'),
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.eot?#iefix') format('embedded-opentype'),
/* IE6-IE8 */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.woff2') format('woff2'),
/* Super Modern Browsers */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.woff') format('woff'),
/* Modern Browsers */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.ttf') format('truetype'),
/* Safari, Android, iOS */
url('../fonts/dekko-v5-latin_latin-ext_devanagari-regular.svg#Dekko') format('svg');
/* Legacy iOS */
}
/* ubuntu-300 - latin_greek-ext_latin-ext_cyrillic-ext */
@font-face {
font-family: 'Ubuntu';
......@@ -292,21 +264,13 @@ header h1{
}
header p{
font-weight: bolder;
font-size: 1.6em;
line-height: 1em;
}
code{
font-family: 'Monospace';
/* margin-left: 1em; */
line-height: 0.8;
}
.nodeco{
list-style: none;
padding-left: 0;
}
.small{
font-size: 0.5em;
}
......@@ -326,10 +290,6 @@ code{
font-weight: lighter;
}
.description{
font-weight: lighter;
}
.author::before{
content: 'by ';
}
......@@ -342,14 +302,6 @@ code{
font-size: smaller;
}
.preview{
text-align: center;
}
.preview img{
max-height: 2.5em;
}
figure figcaption{
visibility: hidden;
font-size: 0;
......@@ -362,10 +314,6 @@ figure:hover figcaption{
font-size: 1.6em;
}
.preview:hover img{
max-height: 2.5em;
}
#TOC::before{
font-size: 1rem;
font-family: 'Texturina';
......@@ -427,30 +375,19 @@ figure:hover figcaption{
}
#TOC a:hover{
/* overflow: visible;
width: fit-content; */
width: auto;
min-width: 20vw;
background-color: goldenrod;
z-index: +5;
}
/* ul::after{
content: ' \A ';
white-space: pre-wrap;
} */
/* li::before{
content: ' | ';
} */
#BEFORE{
#BEFORE{
text-align: right;
font-family: 'Texturina';
margin: 0;
padding-top: 0.5em;
padding-right: 0.5em;
padding-bottom: 0.5em;
padding-right: 0.5em;
line-height: 1;
height: 1.5em;
vertical-align: baseline;
......@@ -463,7 +400,23 @@ figure:hover figcaption{
z-index: +1;
}
@media screen and (max-width: 600px) {
@media screen and (min-width: 1024px) {
html {
font-size: larger;
}
}
@media screen and (max-width: 650px) {
html {
font-size: smaller;
}
#BEFORE{
font-size: smaller;
}
#TOC li {
display: block;
width: 100%;
......
/* Odana */
@font-face {
font-family: 'Odana';
font-style: normal;
font-weight: 400;
src: url('.../fonts/Odana/Web/Odana-Web.otf');
}
/* Monospace NF */
@font-face {
@font-face {
font-family: 'Monospace';