This repository has been archived on 2023-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
langue-phundrak-com/css/main.css

217 lines
3.7 KiB
CSS
Raw Normal View History

2019-09-09 19:02:44 +00:00
/*
Copyright (C) 2019-2020 Lucien Cartier-Tilet
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
2019-08-24 23:28:24 +00:00
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Roboto+Slab:400,700|Inconsolata:400,700);
@font-face {
font-family: "DoulosSIL";
font-display: swap;
src: url("../fonts/DoulosSIL-R.woff");
}
@font-face {
font-family: "Noto Sans Runes";
font-display: swap;
src: url("../fonts/NotoSansRunic-Regular.ttf");
}
body {
font-family: "Noto Sans Runes", "DoulosSIL", "Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif;
font-weight: normal;
overflow-x: hidden;
font-size: 105%;
height: 100%;
margin: 10px;
}
#postamble {
text-align: center;
2019-08-24 23:28:24 +00:00
}
#content {
max-width: 1100px;
margin: 20px auto;
padding: 10px;
box-shadow: 5px 5px 7px rgba(1, 1, 1, .6);
2019-08-24 23:28:24 +00:00
}
hr {
display: block;
margin-top: 0.5em;
margin-bottom: 0.5em;
margin-left: auto;
margin-right: auto;
border-style: inset;
border-width: 1px;
}
.outline-2,
.outline-3,
.outline-4,
.outline-5,
.outline-6,
.outline-text-2,
.outline-text-3,
.outline-text-4,
.outline-text-5,
.outline-text-6 {
margin: 0 2px;
padding: 0 10px;
}
.outline-text-2,
.outline-text-3,
.outline-text-4,
.outline-text-5,
.outline-text-6,
#postamble {
margin-bottom: 20px;
2019-08-24 23:28:24 +00:00
}
a {
text-decoration: none;
box-shadow: inset 0 -3px 0 #9b59b6;
transition: all .3s ease-out;
}
a:hover {
box-shadow: inset 0 -21px 0 #9b59b6;
transition: all .3s ease-in;
}
a[href^="img/"],
a[href^="img/"]:hover {
box-shadow: 0 0;
}
.figure p {
margin: 0 0;
}
.largetable,
.figure {
display: block;
overflow-x: auto;
}
img,
table {
margin: auto;
}
2019-08-24 23:28:24 +00:00
table {
border-collapse: collapse;
}
th,
td {
padding: 10px;
}
.vertical {
writing-mode: vertical-rl;
text-align: right;
}
p {
text-align: justify;
2019-08-24 23:28:24 +00:00
}
2019-09-06 14:50:21 +00:00
pre {
box-shadow: 3px 3px 3px rgba(1, 1, 1, .6);
}
2019-08-24 23:28:24 +00:00
h1,
h2,
h3,
h4,
h5,
legend {
font-family: "Roboto Slab", "ff-tisa-web-pro", "Georgia", Arial, sans-serif;
font-weight: 700;
display: inline-block;
2019-08-24 23:28:24 +00:00
}
h1 {
2019-08-26 14:58:30 +00:00
font-size: 4em;
2019-09-03 01:35:33 +00:00
box-shadow: inset 0 -50px 0 #1abc9c;
2019-08-24 23:28:24 +00:00
}
h2 {
font-size: 150%;
2019-09-03 01:35:33 +00:00
box-shadow: inset 0 -20px 0 #16a085;
2019-08-24 23:28:24 +00:00
}
h3 {
font-size: 125%;
2019-09-03 01:35:33 +00:00
box-shadow: inset 0 -16px 0 #27ae60;
2019-08-24 23:28:24 +00:00
}
h4 {
font-size: 115%;
2019-09-03 01:35:33 +00:00
box-shadow: inset 0 -15px 0 #e67e22;
2019-08-24 23:28:24 +00:00
}
h5 {
font-size: 110%;
2019-09-03 01:35:33 +00:00
box-shadow: inset 0 -14px 0 #9b59b6;
2019-08-24 23:28:24 +00:00
}
2019-09-03 01:35:33 +00:00
h4,
h5 {
font-weight: 300;
2019-08-24 23:28:24 +00:00
}
/* scrollbar *****************************************************************/
/* width */
::-webkit-scrollbar {
width: 5px;
height: 5px;
}
/* Track */
::-webkit-scrollbar-track {
border-radius: 10px;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #7f8c8d;
border-radius: 10px;
}
/* Theme switcher ************************************************************/
2019-08-24 23:28:24 +00:00
.themeBtn {
position: fixed;
bottom: 25px;
right: 25px;
padding-top:10px;
height: 40px;
width: 50px;
border-radius: 25px;
background-color: #1e5b50;
text-align: center;
box-shadow: 3px 3px 6px rgba(1, 1, 1, .6);
2019-09-03 00:04:11 +00:00
cursor: pointer;
}
.themeBtn .fas {
font-size: 30px;
}