2024-02-28 18:23:50 +01:00
|
|
|
|
2024-02-28 12:31:36 +01:00
|
|
|
/*
|
2024-02-28 18:23:50 +01:00
|
|
|
========================================================================
|
|
|
|
Description : CSS stylesheet
|
|
|
|
Author : echolib & neox
|
|
|
|
Website : https://a-lec.org
|
|
|
|
License : AGPL
|
|
|
|
========================================================================
|
2024-02-28 12:31:36 +01:00
|
|
|
*/
|
|
|
|
|
2024-02-28 18:23:50 +01:00
|
|
|
/*
|
|
|
|
========================================================================
|
|
|
|
ROOT VARIABLES DOCUMENT
|
|
|
|
========================================================================
|
|
|
|
*/
|
|
|
|
:root {
|
|
|
|
--a-lec_blue: #00bdff;
|
|
|
|
--a-lec_red: #b11107;
|
|
|
|
--a-lec_yellow: #ecb41a;
|
|
|
|
--a-lec_black: #2d3842;
|
|
|
|
--a-lec_white: #fefff9;
|
|
|
|
}
|
|
|
|
|
2024-02-28 12:31:36 +01:00
|
|
|
/* ----------------------------------------------------------------------------
|
|
|
|
* Template website
|
2024-02-28 18:23:50 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
* {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2024-02-29 09:48:22 +01:00
|
|
|
display: contents;
|
|
|
|
color: var(--a-lec_black);
|
|
|
|
background: var(--a-lec_white);
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: 100%;
|
|
|
|
text-justify: auto;
|
|
|
|
background: var(--a-lec_white);
|
2024-02-28 18:23:50 +01:00
|
|
|
}
|
|
|
|
|
2024-02-28 12:31:36 +01:00
|
|
|
/* Contains all website, after <body> */
|
2024-02-29 09:48:22 +01:00
|
|
|
div#site_container {}
|
2024-02-28 12:31:36 +01:00
|
|
|
|
|
|
|
/* div contains <article> and <aside> */
|
2024-02-28 18:23:50 +01:00
|
|
|
main {
|
|
|
|
background-color: var(--a-lec_white);
|
|
|
|
}
|
2024-02-28 12:31:36 +01:00
|
|
|
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
|
|
* Article contents styles
|
|
|
|
*/
|
2024-02-28 18:23:50 +01:00
|
|
|
article#article {
|
2024-02-29 09:48:22 +01:00
|
|
|
display: flex;
|
|
|
|
margin: 0 25px;
|
2024-02-28 18:23:50 +01:00
|
|
|
}
|
|
|
|
|
2024-02-28 12:31:36 +01:00
|
|
|
header#article_header {}
|
2024-02-29 09:48:22 +01:00
|
|
|
img#article_logo {
|
|
|
|
display: inline;
|
|
|
|
vertical-align: middle;
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
float: left;
|
|
|
|
margin-right: 1rem;
|
|
|
|
}
|
|
|
|
h1#article_title {
|
|
|
|
font-size: 150%;
|
|
|
|
margin-top: 30px;
|
|
|
|
margin-bottom: 40px;
|
|
|
|
}
|
2024-02-28 12:31:36 +01:00
|
|
|
a#article_title_link {}
|
2024-02-29 09:48:22 +01:00
|
|
|
div#article_refs {
|
2024-02-29 10:20:23 +01:00
|
|
|
background-color: var(--a-lec_yellow);
|
|
|
|
float: right;
|
|
|
|
padding: 5px;
|
|
|
|
font-size: 82%;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
margin-top: -3em;
|
2024-02-29 09:48:22 +01:00
|
|
|
}
|
2024-02-29 10:20:23 +01:00
|
|
|
|
2024-02-28 12:31:36 +01:00
|
|
|
a#post_code {}
|
|
|
|
|
|
|
|
/* ! TOC */
|
2024-02-29 09:48:22 +01:00
|
|
|
h2.toc_title {
|
|
|
|
font-size: 100%;
|
|
|
|
color: #808080;
|
|
|
|
}
|
2024-02-28 12:31:36 +01:00
|
|
|
nav.toc {}
|
|
|
|
ul.toc_items {}
|
|
|
|
li.toc_item {}
|
|
|
|
/*Also css from DOMAIN*/
|
|
|
|
a.toc_item_link {}
|
|
|
|
|
|
|
|
/* TITLES
|
|
|
|
* ------
|
|
|
|
* Order title show id="toc_1", id="toc_2".... for h2 to h6
|
|
|
|
* h2 to h6 class set to css DOMAIN (default "tyto")
|
|
|
|
*/
|
2024-02-29 09:48:22 +01:00
|
|
|
h2.tyto {
|
|
|
|
font-size: 130%;
|
|
|
|
margin-top: 30px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
color: #454545;
|
|
|
|
}
|
|
|
|
h3.tyto {
|
|
|
|
font-size: 110%;
|
|
|
|
margin-top: 30px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
color: #505050;
|
|
|
|
}
|
|
|
|
h4.tyto {
|
|
|
|
font-size: 100%;
|
|
|
|
color: #606060;
|
|
|
|
}
|
|
|
|
h5.tyto {
|
|
|
|
font-size: 100%;
|
|
|
|
color: #707070;
|
|
|
|
}
|
|
|
|
h6.tyto {
|
|
|
|
font-size: 100%;
|
|
|
|
color: #808080;
|
|
|
|
}
|
2024-02-28 12:31:36 +01:00
|
|
|
|
|
|
|
/* Misc in <article>
|
|
|
|
* -----------------
|
|
|
|
* "tyto" is default css DOMAIN.
|
|
|
|
* Class can be set for these markers
|
|
|
|
*/
|
2024-02-29 09:48:22 +01:00
|
|
|
p.tyto {
|
|
|
|
display: block;
|
2024-02-29 10:20:23 +01:00
|
|
|
margin-top: 20px;
|
2024-02-29 09:48:22 +01:00
|
|
|
margin-bottom: 10px;
|
2024-02-29 10:20:23 +01:00
|
|
|
text-align: justify;
|
2024-02-29 09:48:22 +01:00
|
|
|
}
|
|
|
|
ul.tyto {
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
ol.tyto {
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
li.tyto {
|
|
|
|
padding: 3px 0;
|
|
|
|
}
|
2024-02-28 12:31:36 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Words tags
|
|
|
|
*/
|
|
|
|
a.tyto {}
|
|
|
|
/* link to a file. Also a.tyto */
|
|
|
|
a.file {}
|
|
|
|
br.tyto {}
|
|
|
|
hr.tyto {}
|
|
|
|
strong.tyto {}
|
|
|
|
bold.tyto {}
|
|
|
|
q.tyto {}
|
|
|
|
cite.tyto {}
|
|
|
|
u.tyto {}
|
|
|
|
em.tyto {}
|
|
|
|
i.tyto {}
|
|
|
|
del.tyto {}
|
|
|
|
span.tyto {}
|
|
|
|
|
|
|
|
/* inline code*/
|
|
|
|
code.tyto {}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Blockquotes
|
|
|
|
*/
|
2024-02-28 18:23:50 +01:00
|
|
|
blockquote.tyto {
|
|
|
|
display: block;
|
|
|
|
margin: 20px 20px 20px 20px;
|
|
|
|
color: var(--a-lec_black);
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote.tyto p {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote.tyto p::before {
|
|
|
|
color: var(--a-lec_blue);
|
|
|
|
content: "“";
|
|
|
|
font-size: 2rem;
|
|
|
|
margin-left: -20px;
|
|
|
|
margin-bottom: -25px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote.tyto p::after {
|
|
|
|
color: var(--a-lec_blue);
|
|
|
|
content: "„";
|
|
|
|
font-size: 2rem;
|
|
|
|
margin-right: -15px;
|
|
|
|
margin-top: -25px;
|
|
|
|
text-align: right;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote.tyto a {
|
|
|
|
display: block;
|
|
|
|
float: right;
|
|
|
|
background-color: var(--a-lec_yellow);
|
|
|
|
padding: 4px;
|
|
|
|
color: var(--a-lec_black);
|
|
|
|
margin-right: -10px;
|
|
|
|
font-size: initial;
|
|
|
|
}
|
|
|
|
|
2024-02-28 12:31:36 +01:00
|
|
|
/* If blockquote has metadatas, footer.tyto also gets new custom CSS */
|
|
|
|
footer.tyto {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* BlockCode "{{...}}"
|
|
|
|
* - defaylt "bcode". If Class set: "bcode" is replaced. i.e pre.MYCSS_pre
|
|
|
|
* "code::NAME" (file contents) -> "::NAME"
|
|
|
|
* - NO custom CSS
|
|
|
|
*/
|
|
|
|
pre.bcode_pre {}
|
|
|
|
ol.bcode_items {}
|
|
|
|
li.bcode_item {}
|
|
|
|
code.bcode_code {}
|
|
|
|
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
|
|
* Header (Wensite Logo, Description)
|
|
|
|
*/
|
2024-02-28 18:23:50 +01:00
|
|
|
|
2024-02-28 12:31:36 +01:00
|
|
|
a#site_link {}
|
2024-02-28 18:23:50 +01:00
|
|
|
header#header {
|
2024-02-29 09:48:22 +01:00
|
|
|
background-attachment: fixed;
|
|
|
|
background-image: url(../template/electronic.jpg);
|
|
|
|
background-position: 0 0;
|
2024-02-28 18:23:50 +01:00
|
|
|
display: flex;
|
|
|
|
}
|
2024-02-29 10:31:58 +01:00
|
|
|
div#header_logo {}
|
2024-02-28 18:23:50 +01:00
|
|
|
img#header_logo_image {
|
|
|
|
align-items: start;
|
|
|
|
width: 160px;
|
|
|
|
height: 160px;
|
|
|
|
color: #FFF;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 300%;
|
2024-02-29 10:31:58 +01:00
|
|
|
margin: 20px;
|
2024-02-28 18:23:50 +01:00
|
|
|
}
|
2024-02-28 12:31:36 +01:00
|
|
|
div#header_abouts {}
|
2024-02-28 18:23:50 +01:00
|
|
|
p#header_title {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
padding-left: 50px;
|
|
|
|
color: #FFF;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 300%;
|
|
|
|
}
|
|
|
|
p#header_about {
|
|
|
|
font-weight: normal;
|
|
|
|
color: #FFF;
|
|
|
|
font-size: 130%;
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
2024-02-28 12:31:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
|
|
* Menu navbar (Website)
|
|
|
|
*/
|
|
|
|
nav#menu {}
|
|
|
|
menu#menu_items {}
|
|
|
|
li.menu_item {}
|
|
|
|
a.menu_link {}
|
|
|
|
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
|
|
* Sidebar navbar (Website)
|
|
|
|
*/
|
|
|
|
aside#sidebar {}
|
|
|
|
div#sidebar_title {}
|
|
|
|
nav#sidebar_menu {}
|
|
|
|
ul#sidebar_items {}
|
|
|
|
li.sidebar_item {}
|
|
|
|
div.sidebar_post_title {}
|
|
|
|
a.sidebar_post_link {}
|
|
|
|
div.sidebar_post_about {}
|
|
|
|
p.sidebar_post_about_p {}
|
|
|
|
|
|
|
|
|
|
|
|
/* ============================================================================
|
|
|
|
* Footer (Website)
|
|
|
|
*/
|
2024-02-28 18:23:50 +01:00
|
|
|
footer#footer {
|
|
|
|
background: #2d4b63; /* old IE fallback */
|
|
|
|
|
|
|
|
background-image: url(../template/electronic.jpg);
|
|
|
|
background-position: 0 0;
|
|
|
|
background-repeat: cover;
|
|
|
|
background-size: auto;
|
|
|
|
color: #FFF;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
div#footer_title {
|
|
|
|
display: block;
|
|
|
|
font-size: 130%;
|
|
|
|
color: #FFF;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
div#footer_about_menu {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
border: 2px solid var(--a-lec_blue);
|
|
|
|
border-top : unset;
|
|
|
|
border-left: unset;
|
|
|
|
border-right: unset;
|
|
|
|
font-size: 90%;
|
|
|
|
padding: 15px;
|
|
|
|
}
|
2024-02-28 12:31:36 +01:00
|
|
|
div#footer_about {}
|
|
|
|
p#footer_about_p {}
|
|
|
|
nav#footer_menu {}
|
2024-02-28 18:23:50 +01:00
|
|
|
ul#footer_items {
|
|
|
|
color: var(--a-lec_yellow);
|
|
|
|
}
|
2024-02-28 12:31:36 +01:00
|
|
|
li.footer_item {}
|
|
|
|
a.footer_item_link {}
|
|
|
|
div#footer_credit {}
|
|
|
|
p#footer_copyright {}
|
|
|
|
p#footer_tyto {}
|
|
|
|
a.footer_cr_link {}
|