www-template/styles.css

692 lines
15 KiB
CSS
Raw Normal View History

2022-04-06 19:09:42 +02:00
/*
========================================================================
Description : CSS stylesheet
2022-04-06 19:49:03 +02:00
Author : echolib & neox
2022-04-10 16:24:05 +02:00
Website : https://chalec.org
2022-04-06 19:49:03 +02:00
License : AGPL
2022-04-06 19:09:42 +02:00
========================================================================
*/
/*
========================================================================
ROOT VARIABLES DOCUMENT
========================================================================
*/
:root {
2022-04-10 16:24:05 +02:00
--chalec_blue: #00bdff;
--chalec_red: #b11107;
--chalec_yellow: #ecb41a;
--chalec_black: #2d3842;
2022-04-10 17:59:09 +02:00
--chalec_white: #ffffff;
2022-04-06 19:09:42 +02:00
}
/*
========================================================================
Reset all:
- Inherited properties to inherit value
- Non-inherited properties to initial value
========================================================================
*/
* {
all: unset;
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
2022-06-25 01:00:02 +02:00
/*! text-decoration: none; */
2022-04-06 19:09:42 +02:00
}
/*
========================================================================
Foundations
========================================================================
*/
title {
display: none;
}
head {
display: none;
}
style {
2022-06-23 16:13:49 +02:00
display: none;
}
2022-04-06 19:09:42 +02:00
body {
2022-04-10 16:24:05 +02:00
color: var(--chalec_black);
background: var(--chalec_white);
2022-04-06 19:09:42 +02:00
font-family: sans-serif;
font-size: 100%;
text-align: justify;
text-justify: auto;
2022-04-10 16:24:05 +02:00
background: var(--chalec_white);
2022-04-06 19:09:42 +02:00
}
2022-04-10 16:24:05 +02:00
section#chalec_page-wrapper {
2022-04-06 19:09:42 +02:00
display: flex;
margin: 0 25px;
}
article,
aside {
margin: 7px;
2022-04-10 16:24:05 +02:00
background-color: var(--chalec_white);
2022-04-06 19:09:42 +02:00
background-repeat: repeat;
padding: 10px;
2022-04-15 15:46:52 +02:00
min-height: 62vh;
2022-04-06 19:09:42 +02:00
}
article {
flex-basis: 70%;
}
aside {
margin: 30px;
2022-04-06 19:09:42 +02:00
flex-basis: 30%;
}
2022-04-07 12:34:23 +02:00
2022-04-06 19:09:42 +02:00
/*
========================================================================
HEADER / BANNER
========================================================================
*/
header {
2022-04-10 17:50:02 +02:00
background: #e0f0ff; /* old IE fallback */
2022-04-06 19:09:42 +02:00
2022-04-10 18:24:05 +02:00
background-attachment: fixed;
2022-04-10 17:50:02 +02:00
background-image: url(../templates/electronic.png);
background-position: 0 0;
2022-04-10 18:24:05 +02:00
background-repeat: cover;
2022-04-10 17:50:02 +02:00
background-size: auto;
2022-04-06 19:09:42 +02:00
}
2022-04-10 16:24:05 +02:00
#chalec_banner,
#chalec_footer {
2022-04-06 19:09:42 +02:00
display: flex;
height: auto;
width: auto;
2022-04-06 19:09:42 +02:00
padding: 20px 25px;
}
2022-04-10 16:24:05 +02:00
#chalec_site-logo img {
2022-04-06 19:09:42 +02:00
display: flex;
flex-direction: column;
align-items: start;
width: 160px;
height: 160px;
place-content: baseline center;
}
2022-04-10 16:24:05 +02:00
#chalec_site-logo a {
2022-04-06 19:09:42 +02:00
background-color: unset;
2022-04-10 18:24:05 +02:00
place-content: baseline center;
2022-04-06 19:09:42 +02:00
}
2022-06-22 00:59:48 +02:00
#chalec_site-title {
2022-04-06 19:09:42 +02:00
display: flex;
flex-direction: column;
2022-04-10 18:24:05 +02:00
align-items: center;
2022-04-06 19:09:42 +02:00
place-content: baseline center;
}
2022-06-22 00:59:48 +02:00
#chalec_site-title h2 {
2022-04-06 19:09:42 +02:00
font-weight: normal;
2022-04-10 17:50:02 +02:00
color: var(--chalec_red);
2022-04-06 19:09:42 +02:00
font-size: 130%;
margin-top: 15px;
2022-04-06 19:09:42 +02:00
}
2022-04-10 16:24:05 +02:00
#chalec_site-name a {
2022-04-10 17:50:02 +02:00
color: var(--chalec_yellow);
2022-04-06 19:09:42 +02:00
font-weight: bold;
font-size: 300%;
2022-04-06 19:09:42 +02:00
}
2022-04-10 16:24:05 +02:00
#chalec_site-name a:hover {
2022-04-10 18:24:05 +02:00
color: var(--chalec_yellow);
font-weight: bold;
font-size: 300%;
2022-04-06 19:09:42 +02:00
background-color: unset;
}
/*
========================================================================
FOOTER
========================================================================
*/
footer {
2022-04-10 17:59:09 +02:00
background: #e0f0ff; /* old IE fallback */
2022-04-07 11:21:44 +02:00
2022-04-10 17:59:09 +02:00
background-image: url(../templates/electronic.png);
background-position: 0 0;
2022-04-15 12:46:04 +02:00
background-repeat: cover;
2022-04-10 17:59:09 +02:00
background-size: auto;
2022-04-06 19:09:42 +02:00
}
2022-06-22 00:59:48 +02:00
footer h1 {
2022-06-25 01:00:02 +02:00
display: block;
2022-04-06 19:09:42 +02:00
font-size: 130%;
2022-04-10 17:59:09 +02:00
color: var(--chalec_yellow);
2022-04-06 19:09:42 +02:00
font-weight: bold;
margin-top: 0px;
margin-left: 0px;
2022-06-25 01:00:02 +02:00
margin-bottom: 20px;
2022-04-06 19:09:42 +02:00
}
2022-06-22 00:59:48 +02:00
footer {
2022-04-10 17:59:09 +02:00
color: var(--chalec_black);;
2022-04-06 19:09:42 +02:00
height: 100%;
}
2022-06-22 00:59:48 +02:00
footer a {
2022-04-10 17:59:09 +02:00
color: var(--chalec_blue);
2022-04-06 19:09:42 +02:00
}
2022-06-22 00:59:48 +02:00
footer a:hover {
2022-04-10 17:59:09 +02:00
color: #fff;
2022-04-06 19:09:42 +02:00
}
2022-06-22 00:59:48 +02:00
footer b {
2022-04-10 17:59:09 +02:00
color: var(--chalec_red);
2022-04-06 19:09:42 +02:00
}
2022-04-10 16:24:05 +02:00
div#chalec_copyright {
font-size: 100%;
flex-basis: 30%;
margin-left: -100px;
text-align:right;
2022-04-06 19:09:42 +02:00
}
2022-04-10 16:24:05 +02:00
div#chalec_infos {
flex-basis: 70%;
font-size: 100%;
margin: 0px 110px 0px 0px;
2022-04-06 19:09:42 +02:00
}
2022-04-10 16:24:05 +02:00
.chalec_list-cr {
2022-04-06 19:09:42 +02:00
display: block;
margin: 0 0 5px 25px;
}
2022-04-06 23:57:28 +02:00
/*
========================================================================
SIDEBAR
========================================================================
*/
2022-04-14 00:29:27 +02:00
aside#chalec_sidebar {
padding-left: 40px;
}
2022-06-23 16:13:49 +02:00
.chalec_list-post-item a:hover {
color: unset;
background-color: unset;
}
2022-06-24 23:47:51 +02:00
.chalec_list-post-title {
2022-04-06 23:57:28 +02:00
display: block;
padding: 15px;
2022-04-10 18:24:05 +02:00
background-color: var(--chalec_blue);
2022-04-10 16:24:05 +02:00
color: var(--chalec_white);
2022-04-06 23:57:28 +02:00
font-weight: bold;
padding: 10px;
margin: 10px 0px 0px 0px;
}
2022-06-24 23:47:51 +02:00
.chalec_list-post-metas {
2022-04-06 23:57:28 +02:00
display: block;
padding: 15px;
2022-04-10 18:24:05 +02:00
background-color: #e0f0ff;
2022-04-10 16:24:05 +02:00
color: var(--chalec_red);;
2022-04-06 23:57:28 +02:00
font-size: 80%;
padding: 10px;
font-weight: bold;
}
2022-06-24 23:47:51 +02:00
.chalec_list-post-item a .chalec_list-post-info {
2022-04-10 23:12:02 +02:00
display: block;
background-color: #e0f0ff;
font-size: 80%;
padding: 10px;
padding-top: unset;
2022-04-06 23:57:28 +02:00
display: block;
2022-04-10 16:24:05 +02:00
color: var(--chalec_black);
2022-04-06 23:57:28 +02:00
font-weight: normal;
}
2022-04-06 19:09:42 +02:00
/*
========================================================================
ARTICLE
========================================================================
*/
/*
* Sticky Author Date
*/
2022-04-10 16:24:05 +02:00
#chalec_metas {
2022-04-10 18:24:05 +02:00
display: block;
background-color: var(--chalec_blue);
color: var(--chalec_white);
position: relative;
text-align: left;
float: right;
top: -10px;
padding: 5px;
font-size: 82%;
}
2022-04-06 19:09:42 +02:00
2022-04-10 18:24:05 +02:00
#chalec_metas strong{
color: var(--chalec_white);
2022-04-06 19:09:42 +02:00
}
/*
* Basic texts
*/
strong {
color: #454545;
font-weight: bold;
}
b {
color: #676767;
font-weight: bold;
}
i {
font-style: italic;
}
abbr {
text-transform: uppercase;
}
/*
* Lists
*/
2022-06-24 23:20:03 +02:00
.chalec_content li {
2022-04-06 19:09:42 +02:00
padding: 3px 0;
}
2022-06-24 23:20:03 +02:00
.chalec_li-1 {
2022-04-06 19:09:42 +02:00
display: block;
}
2022-06-24 23:20:03 +02:00
.chalec_li-2 {
2022-04-06 19:09:42 +02:00
display: block;
margin-left: 20px;
}
2022-06-24 23:20:03 +02:00
.chalec_li-3 {
2022-04-06 19:09:42 +02:00
display: block;
margin-left: 40px;
}
2022-04-14 17:09:01 +02:00
.chalec_list-ol li {
counter-increment: step-counter;
}
2022-06-24 23:20:03 +02:00
.chalec_list-ol .chalec_li-1::before,
.chalec_list-ol .chalec_li-2::before,
.chalec_list-ol .chalec_li-3::before {
2022-04-14 17:09:01 +02:00
display: inline-block;
content: counter(step-counter) ".";
padding-left: 0px;
margin-right: 5px;
list-style-type: upper-roman;
}
2022-06-24 23:20:03 +02:00
.chalec_list-ol .chalec_li-1::before {
2022-04-14 17:09:01 +02:00
color: var(--chalec_red);
}
2022-06-24 23:20:03 +02:00
.chalec_list-ol .chalec_li-2::before {
2022-04-14 17:09:01 +02:00
color: var(--chalec_blue);
}
2022-06-24 23:20:03 +02:00
.chalec_list-ol .chalec_li-3::before {
2022-04-14 17:09:01 +02:00
color: var(--chalec_yellow);
}
2022-06-24 23:20:03 +02:00
.chalec_list-ul .chalec_li-1::before,
.chalec_list-ul .chalec_li-2::before,
.chalec_list-ul .chalec_li-3::before {
2022-04-06 19:09:42 +02:00
display: inline-block;
content: "\2022";
width: 10px;
2022-04-15 10:39:36 +02:00
padding-left: 5px;
2022-04-06 19:09:42 +02:00
margin-right: 5px;
font-weight: bold;
}
2022-06-24 23:20:03 +02:00
.chalec_list-ul .chalec_li-1::before {
2022-04-10 16:24:05 +02:00
color: var(--chalec_red);
2022-04-06 19:09:42 +02:00
}
2022-06-24 23:20:03 +02:00
.chalec_list-ul .chalec_li-2::before {
2022-04-10 16:24:05 +02:00
color: var(--chalec_blue);
2022-04-06 19:09:42 +02:00
}
2022-06-24 23:20:03 +02:00
.chalec_list-ul .chalec_li-3::before {
2022-04-10 16:24:05 +02:00
color: var(--chalec_yellow);
2022-04-06 19:09:42 +02:00
}
/*
* Blockquotes
*/
2022-04-10 16:24:05 +02:00
.chalec_fgc-quote,
.chalec_quote,
.chalec_simple-quote {
2022-04-06 19:09:42 +02:00
}
2022-04-10 16:24:05 +02:00
.chalec_quote,
.chalec_simple-quote {
2022-04-06 19:09:42 +02:00
display: block;
font-style: italic;
margin: 25px 0px 0px 0px;
2022-04-10 16:24:05 +02:00
color: var(--chalec_black);
2022-04-06 19:09:42 +02:00
}
2022-04-10 16:24:05 +02:00
.chalec_paragraph-2 {
2022-04-07 11:02:50 +02:00
display: block;
margin: 30px;
2022-04-06 19:09:42 +02:00
}
2022-04-10 16:24:05 +02:00
.chalec_quote p::before,
.chalec_simple-quote p::before {
color: var(--chalec_blue);
2022-06-23 16:13:49 +02:00
content: "“";
2022-04-06 19:09:42 +02:00
font-size: 3rem;
2022-04-07 11:02:50 +02:00
margin-left: -30px;
margin-bottom: -30px;
display: block;
2022-04-06 19:09:42 +02:00
}
2022-04-10 16:24:05 +02:00
.chalec_quote p::after,
.chalec_simple-quote p::after {
color: var(--chalec_blue);
2022-06-23 16:13:49 +02:00
content: "„";
2022-04-06 19:09:42 +02:00
font-size: 3rem;
2022-04-07 11:05:32 +02:00
margin-right: -30px;
2022-04-07 11:02:50 +02:00
margin-top: -35px;
display: block;
text-align: right;
}
2022-04-06 19:09:42 +02:00
2022-04-10 16:24:05 +02:00
.chalec_fgc-quote {
2022-04-06 19:09:42 +02:00
display: block;
2022-04-07 11:19:31 +02:00
margin: -20px 0px 20px 0px;
2022-04-06 19:09:42 +02:00
text-align: right;
padding-bottom: 3px;
}
2022-04-10 16:24:05 +02:00
.chalec_simple-quote {
2022-04-06 19:09:42 +02:00
padding-bottom: 3px;
}
2022-04-10 16:24:05 +02:00
.chalec_fgc-quote a {
background-color: var(--chalec_yellow);
2022-04-06 19:09:42 +02:00
padding: 4px;
2022-04-10 16:24:05 +02:00
color: var(--chalec_black);
2022-04-06 19:09:42 +02:00
}
2022-04-10 16:24:05 +02:00
.chalec_fgc-quote a:hover {
2022-04-06 19:09:42 +02:00
padding: 4px;
}
/*
* Block-Codes
*/
2022-04-10 16:24:05 +02:00
.chalec_block-code {
2022-04-06 19:09:42 +02:00
display: block;
padding: 15px;
margin: 10px 30px 15px 10px;
background-color: #000;
color: #fff;
font-size: 88%;
padding: 10px;
margin: 30px 30px 30px 10px;
2022-04-10 16:24:05 +02:00
border: 3px solid var(--chalec_blue);
2022-04-06 19:09:42 +02:00
border-radius: 10px;
}
/*
* Inline-Codes
*/
2022-04-10 16:24:05 +02:00
.chalec_inline-code {
2022-04-06 19:09:42 +02:00
display: inline-block;
background-color: #000;
padding: 0 5px;
font-size: 89%;
color: #fff;
}
/*
* Links
*/
a {
2022-04-10 16:24:05 +02:00
color: var(--chalec_red);
2022-04-06 19:09:42 +02:00
padding: 0 2px;
font-weight: bold;
-webkit-transition: all 0.25s ease-out;
-moz-transition: all 0.25s ease-out;
transition: all 0.25s ease-out;
}
a:hover {
padding: 0 2px;
2022-04-10 23:53:00 +02:00
color: var(--chalec_white);
2022-04-10 16:24:05 +02:00
background-color: var(--chalec_blue);
2022-04-06 19:09:42 +02:00
cursor: pointer;
}
a:active {
2022-06-25 01:00:02 +02:00
text-decoration: none;
2022-04-06 19:09:42 +02:00
cursor: progress;
}
2022-04-10 16:24:05 +02:00
a.chalec_file-link {
2022-04-06 19:09:42 +02:00
background-color: #FFF;
}
2022-04-10 16:24:05 +02:00
a.chalec_file-link:hover {
background-color: var(--chalec_yellow);
2022-04-06 19:09:42 +02:00
color: #000;
cursor: pointer;
}
/*
* Paragraphs
*/
2022-06-23 16:13:49 +02:00
p.chalec_p {
2022-04-06 19:09:42 +02:00
display: block;
2022-04-07 00:06:30 +02:00
margin-top: 10px;
margin-bottom: 10px;
2022-04-06 19:09:42 +02:00
}
2022-06-23 16:13:49 +02:00
div.chalec_content {
2022-04-06 19:09:42 +02:00
display: block;
}
2022-04-11 00:32:54 +02:00
/*
Chalec images
*/
2022-06-23 16:13:49 +02:00
.chalec_image {
2022-04-11 00:32:54 +02:00
display: inline-block;
vertical-align: middle;
2022-04-14 15:19:29 +02:00
max-width: 100%;
height: auto;
2022-04-11 00:32:54 +02:00
}
2022-06-23 16:13:49 +02:00
.chalec_image-right {
}
.chalec_image-center {
}
.chalec_image-left {
}
2022-04-06 19:09:42 +02:00
/*
========================================================================
HEADINGS
========================================================================
*/
2022-06-23 16:13:49 +02:00
.chalec_title, #chalec_site-name {
2022-06-22 00:59:48 +02:00
display: block;
2022-04-06 19:09:42 +02:00
color: #000;
font-weight: bold;
2022-04-14 00:08:41 +02:00
text-align: left;
2022-04-06 19:09:42 +02:00
}
2022-06-23 16:13:49 +02:00
#chalec_site-name {
font-size: 150%;
margin-top: 30px;
margin-bottom: 5px;
}
.chalec_title-1 {
font-size: 150%;
margin-top: 30px;
margin-bottom: 10px;
}
.chalec_title-2 {
font-size: 130%;
margin-top: 30px;
margin-bottom: 15px;
color: #454545;
}
.chalec_title-3 {
font-size: 110%;
margin-top: 30px;
margin-bottom: 15px;
color: #505050;
}
.chalec_title-4 {
font-size: 100%;
color: #606060;
}
.chalec_title-5 {
font-size: 100%;
color: #707070;
}
.chalec_title-6 {
font-size: 100%;
color: #808080;
}
2022-04-06 23:57:28 +02:00
2022-04-07 13:16:09 +02:00
/*
========================================================================
LITTLE SCREENS
========================================================================
*/
2022-04-10 18:24:05 +02:00
@media screen and (max-width: 900px) {
2022-04-07 13:16:09 +02:00
2022-04-10 16:24:05 +02:00
section#chalec_page-wrapper {
2022-04-07 13:16:09 +02:00
display: block;
margin: 10px 25px;
2022-04-07 13:16:09 +02:00
}
2022-04-10 16:24:05 +02:00
aside#chalec_sidebar {
2022-04-07 13:16:09 +02:00
background: none;
2022-04-14 00:02:38 +02:00
padding-left: 40px;
2022-04-07 13:16:09 +02:00
}
2022-04-10 16:24:05 +02:00
.chalec_latest-posts {
2022-04-07 13:16:09 +02:00
margin-left: -35px;
}
2022-04-10 16:24:05 +02:00
div#chalec_metas {
margin: 0px -10px 0px 0px;
}
article {
margin-top: 20px;
2022-04-07 13:16:09 +02:00
}
2022-04-10 16:24:05 +02:00
article#chalec_index {
2022-04-07 13:16:09 +02:00
margin-left: -10px;
}
2022-04-10 16:24:05 +02:00
#chalec_footer {
2022-04-07 13:16:09 +02:00
display: block;
padding: 5px;
}
2022-06-24 23:20:03 +02:00
#chalec_a-propos {
display: block;
2022-04-07 13:16:09 +02:00
margin-bottom: 30px;
font-size: 90%;
2022-06-24 23:20:03 +02:00
border: 2px solid var(--chalec_yellow);
2022-04-07 13:16:09 +02:00
border-top : unset;
border-left: unset;
border-right: unset;
padding: 15px;
}
2022-04-10 16:24:05 +02:00
#chalec_footer h1 {
margin-top: 0px;
2022-04-07 13:16:09 +02:00
font-size: 115%;
padding: 15px;
2022-06-25 01:00:02 +02:00
margin-bottom: 0px;
font-size: 120%
2022-04-07 13:16:09 +02:00
}
2022-04-10 16:24:05 +02:00
#chalec_footer li {
2022-04-07 13:16:09 +02:00
text-align: center;
}
2022-04-10 16:24:05 +02:00
#chalec_banner,
#chalec_footer {
2022-04-07 13:16:09 +02:00
display: block;
}
2022-04-10 16:24:05 +02:00
#chalec_site-logo img {
2022-04-07 13:16:09 +02:00
all: unset;
display: inline-block;
width: 100%;
height: 160px;
2022-04-07 13:16:09 +02:00
}
2022-04-10 16:24:05 +02:00
#chalec_site-name a {
margin-top: -50px;
2022-04-07 13:16:09 +02:00
position: relative;
float: left;
2022-04-07 13:22:45 +02:00
font-size: 3rem;
2022-04-07 13:16:09 +02:00
}
#chalec_site-titles h2 {
font-weight: normal;
color: var(--chalec_red);
font-size: 130%;
margin-top: 15px;
margin-bottom: 5px;
}
2022-04-07 13:16:09 +02:00
2022-04-10 16:24:05 +02:00
#chalec_site-name a:hover {
2022-04-07 13:16:09 +02:00
float: left;
font-size: 3rem;
}
2022-04-10 16:24:05 +02:00
#chalec_site-description {
2022-04-07 13:16:09 +02:00
all: unset;
margin-top: 15px;
position: relative;
float: left;
font-size: 1rem;
text-align: center;
}
2022-04-15 10:39:36 +02:00
}