create two version old and new

This commit is contained in:
Hugo LAMY
2022-03-26 18:56:28 +01:00
parent e10fc7ce33
commit 3d938681a0
575 changed files with 10766 additions and 3 deletions

0
old/styles/.Rhistory Normal file
View File

View File

@@ -0,0 +1,9 @@
aside.aside_right .relative_box {
border-style: none;
}
.actu_evenements > * {
margin-bottom: var(--gap-unit);
}

28
old/styles/aside_left.css Normal file
View File

@@ -0,0 +1,28 @@
/*---------------------------------------------*/
/*ASIDE LEFT*/
/* aside left is for page table of content */
body aside.aside_left {
top: calc(var(--nav-height) + 1px);
height: 100%;
max-height: calc(100vh - var(--nav-height));
padding: calc(var(--gap-unit) / 2);
}
/* asides elements only have width if they have a child*/
body aside.aside_left .table_box {
min-width: var(--aside-left-width);
max-width: calc(var(--aside-left-width) * 1.5);
margin: calc(var(--aside-margin) / 2);
margin-right: auto;
padding: var(--gap-unit);
/*for style*/
border-left: 1px solid var(--color-lines-3);
}
/*to put space between elements*/
body aside.aside_left .table_box > * {
margin-bottom: var(--gap-unit);
}
body aside.aside_left .table_box h2 {
color: var(--color-text-1);
}

View File

@@ -0,0 +1,53 @@
/*---------------------------------------------*/
/*ASIDE RIGHT*/
/* aside right is for links to relatives content*/
aside.aside_right {
padding: calc(var(--gap-unit) / 2);
}
/* asides elements only have width if they have a child*/
aside.aside_right *:first-child {
width: var(--aside-right-width);
}
/*---------------------------------------------*/
/*RELATIVES BOX*/
aside.aside_right .relative_box {
margin: var(--aside-margin);
padding: var(--gap-unit);
border: 1px solid var(--color-lines-2);
}
aside.aside_right .box_name {
border-bottom: 1px solid var(--color-lines-2);
padding-bottom: var(--gap-unit);
}
aside.aside_right .relative_box > * {
margin-bottom: var(--gap-unit);
}
aside.aside_right .relative_box a h2 {
color: var(--color-text-2);
}
/*---------------------------------------------*/
/*BUTTON BOX*/
aside.aside_right .button_box {
margin: 10px var(--aside-margin);
margin-bottom: 0px;
padding: calc(var(--gap-unit) / 2);
border: 1px solid var(--color-lines-2);
border-radius: 23px;
border-radius: 10em;
}
aside.aside_right .button_box:first-child {
margin-top: var(--aside-margin);
}
aside.aside_right .button_box * {
width: auto;
}
aside.aside_right .button_box h2 {
padding-left: 30px;
}

50
old/styles/fonts.css Normal file
View File

@@ -0,0 +1,50 @@
/*////////////////////////////////////////////////////*/
/*FONTS*/
@font-face {
font-family: 'cabrion';
src: url('../fonts/cabrion/cabrion-light.woff2') format('woff2'),
url('../fonts/cabrion/cabrion-light.woff') format('woff');
url('../fonts/cabrion/cabrion-light.otf') format('opentype');
}
@font-face {
font-family: 'paradroid';
src: url('../fonts/paradroid/paradroidmono-light.woff2') format('woff2'),
url('../fonts/paradroid/paradroidmono-light.woff') format('woff');
url('../fonts/paradroid/paradroidmono-light.ttf') format('truetype');
}
@font-face {
font-family: 'louisgeorge';
src: url('../fonts/louisgeorge/louis_george_cafe.woff2') format('woff2'),
url('../fonts/louisgeorge/louis_george_cafe.woff') format('woff');
url('../fonts/louisgeorge/louis_george_cafe.ttf') format('truetype');
}
/*test fonts*/
@font-face {
font-family: 'evolventa';
src: url('../fonts/evolventa/Evolventa-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'ptroot';
src: url('../fonts/ptroot/Fonts/PT_Root_UI_Regular/PT_Root_UI_Regular.ttf') format('truetype');
}
@font-face {
font-family: 'tgalcefun';
src: url('../fonts/tgalcefun/TG_Alcefun.ttf') format('truetype');
}
@font-face {
font-family: 'bentonsansbook';
src: url('../fonts/bentonsansbook/BentonSansBook.otf') format('opentype');
}
@font-face {
font-family: 'larsseitlight';
src: url('../fonts/larsseitlight/Larsseit-Light.ttf') format('truetype');
}
/*FONTS*/
/*////////////////////////////////////////////////////*/

15
old/styles/footer.css Normal file
View File

@@ -0,0 +1,15 @@
/*---------------------------------------------*/
/*FOOTER*/
.footer {
height: var(--footer-height);
background-color: var(--color-back-dark);
}
.footer .footer_container {
margin: auto;
}
.footer p {
margin: 3px auto;
font-size: 1.4em;
text-align: center;
}

63
old/styles/global.css Normal file
View File

@@ -0,0 +1,63 @@
/*----------------------------------------------*/
/*GLOBAL VARIABLE*/
:root {
/*COLOR*/
/* background*/
--color-back-base: hsl(0, 0%, 100%);
--color-back-dark: hsl(0, 0%, 95%);
--color-grey-dark: hsl(0, 0%, 50%);
/* color range */
--color-purple: hsl(324, 86%, 52%); /* #ee1998 - rgb(238, 25, 152) */
--color-pink: hsl(324, 100%, 74%); /* #ff7bca - rgb(255, 123, 202) */
--color-green: hsl(86, 60%, 52%); /* #8fce3c - rgb(143, 206, 60 ) */
--color-yellow: hsl(59, 92%, 46%); /* #e3e00a - rgb(227, 224, 10 ) */
--color-blue: hsl(189, 73%, 61%); /* #51cee4 - rgb(81, 206, 228) */
--color-water: hsl(189, 88%, 38%); /* #0c9cb5 - rgb(12, 156, 181) */
--hue-1: 324;
--hue-2: 86;
--hue-3: 59;
--hue-4: 189;
/*text*/
--color-text: hsl(0, 0%, 10%);
--color-text-light: hsl(0, 0%, 25%);
--color-text-strong: hsl(0, 0%, 5%);
--color-text-1: hsl(var(--hue-1), 80%, 50%);
--color-text-2: hsl(var(--hue-2), 90%, 30%);
--color-text-3: hsl(var(--hue-3), 90%, 30%);
--color-text-4: hsl(var(--hue-4), 70%, 40%);
/*links*/
--hue-link: var(--hue-4);
--color-link: hsl(var(--hue-link), 70%, 40%);
--color-link-hover: hsl(var(--hue-link), 70%, 50%);
--color-link-active: hsl(var(--hue-link), 70%, 50%);
--color-link-visited: hsl(var(--hue-link), 60%, 30%);
/* lines*/
--color-lines-1: hsl(var(--hue-1), 50%, 80%);
--color-lines-2: hsl(var(--hue-2), 50%, 80%);
--color-lines-3: hsl(var(--hue-3), 50%, 80%);
--color-lines-4: hsl(var(--hue-4), 50%, 80%);
/* buttons*/
--hue-btn: 12;
--color-btn: hsl(var(--hue-btn), 1%, 1%);
/*TEXTE*/
/* fonts */
--font-titles: 'paradroid';
--font-texts: 'ptroot';
--font-fallback: 'louisgeorge';
/* colors texts */
/*skeleton*/
--gap-unit: 10px;
--max-screen: 1110px;
--base-font-size: 10px;
--small-font-size: 10px;
--nav-height: 40px;
--aside-left-width: 200px;
--aside-right-width: 200px;
--aside-margin: 30px;
--footer-height: 150px;
}

32
old/styles/header.css Normal file
View File

@@ -0,0 +1,32 @@
/*/////////////////////////*/
/*MENU*/
.menu {
display: flex;
height: 40px;
}
.menu > * {
margin: auto;
}
.link-index {
display: flex;
}
.menu-link {
margin: auto;
}
.dot-link {
width: 30px;
height: 30px;
margin: auto;
margin-right: 10px;
border-radius: 50%;
}
.dot-link-asso {
background-color: var(--color-purple);
}
.dot-link-litterall {
background-color: var(--color-green);
}
.dot-link-lettredeeda {
background-color: var(--color-water);
}

88
old/styles/images.css Normal file
View File

@@ -0,0 +1,88 @@
/*
table of content :
- global settings
- GALLERY
- IMAGE single
*/
/*----------------------------------------------------*/
/*adjusting global settings*/
:root {
/*GALLERY*/
/*space between columns of cards*/
--gallery-gap-unit: 6px;
/*images height and border*/
--gallery-img-height: 200px;
--gallery-img-border-width: 1px;
--gallery-img-border-color: lightgrey;
/*IMAGE single*/
}
/*----------------------------------------------------*/
/*GALLERY*/
/*design*/
.gallery {
font-size: 100%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.gallery .card {
font-size: 100%;
display: flex;
flex: 0 1 0;
padding: 0px;
margin: 0px;
/*space between columns of cards*/
margin-right: calc(var(--gallery-gap-unit) * 2);
/*space between lines of cards*/
margin-top: calc(var(--gallery-gap-unit) * 2);
}
.gallery .card > * {
/*vertical space between elements inside of cards*/
/*
margin: var(--gallery-gap-unit) 0px;
*/
}
.gallery .card img {
/*height of imgs, hence of lines*/
height: var(--gallery-img-height);
margin: auto auto auto 0px;
/*appearence of border of imgs*/
border-style: solid;
border-width: var(--gallery-img-border-width);
border-color: var(--gallery-img-border-color);
}
.gallery .card p {
font-size: 12px;
line-height: 1.5em;
}
/*----------------------------------------------------*/
/*IMAGE single*/
.image {
margin-right: auto;
margin-left: 0px;
width: 100%;
}
.image * {
margin: 0px;
}
.image img {
height: 400px;
width: auto;
}
.image h1, .image h2, .image h3, .image p {
width: auto;
margin-left: calc(var(--gap-unit) * 2 );
}
/*images in full page*/
.image.full img {
width: 100%;
height: auto;
}
/*images as icon, like for facebook links*/
.img_icon {
width: 25px;
}

193
old/styles/images_test.css Normal file
View File

@@ -0,0 +1,193 @@
/*GALLERY*/
/*
<div class="gallery">
<div class="card">
<img src="img.jpg">
<p>description</p>
</div>
</div>
.gallery
----- ---- --- ----
' '' '' '' '
' '' '' '' '
'-----''----''---''----'
~~ ~ ~~ ~~ ~~ ~
---- --- --- ------
' '' '' '' '
' '' '' '' '
'----''---''---''------'
~~~ ~ ~ ~ ~~ ~~
------ ---
' '' '
' '' '
'------''---'
~~ ~ ~ ~
images are stretched to cover the entire raw
it works well with images of similar size
<div class="gallery frame">
</div>
.gallery.frame
-------- --------- ---------- ---------
' ---- '' ----- '' ------ '' ----- '
' ' ' '' ' ' '' ' ' '' ' ' '
' ' ' '' ' ' '' ' ' '' ' ' '
' '----' '' '-----' '' '------' '' '-----' '
' ~~ ~~ '' ~~~ ~ '' ~~ ~~ ~ '' ~~ ~~ '
'--------''---------''----------''---------'
----------- -------
' ------- '' --- '
' ' ' '' ' ' '
' ' ' '' ' ' '
' '-------' '' '---' '
' ~~ ~~ '' ~~~ '
'-----------''-------'
images keeps their real ratio, but a frame appear around them
*/
/*adjusting settings*/
:root {
/*GALLERY*/
/*space between columns of cards*/
--gallery-gap-unit: 6px;
/*images height and border*/
--gallery-img-height: 200px;
--gallery-img-border-width: 1px;
--gallery-img-border-color: lightgrey;
/*frames width and color*/
--gallery-frame-width: 1px;
--gallery-frame-color: lightgrey;
--gallery-frame-color: transparent;
}
/*design*/
.gallery {
display: flex;
flex-wrap: wrap;
}
.gallery .card {
display: flex;
flex-direction: column;
flex: 1;
padding: 0px;
margin: 0px;
/*space between columns of cards*/
margin-right: calc(var(--gallery-gap-unit) * 2);
}
.gallery .card > * {
/*vertical space between elements inside of cards*/
/*that also handle vertical space between cards without frames*/
margin: var(--gallery-gap-unit) 0px;
}
.gallery .card img {
/*height of imgs hence of lines*/
height: var(--gallery-img-height);
/*appearence of border of imgs*/
border-style: solid;
border-width: var(--gallery-img-border-width);
border-color: var(--gallery-img-border-color);
}
/*to avoid last element of gallery to stretch untill end of line*/
.gallery::after {
content: "";
flex: 100;
}
/*in case of frames*/
.gallery.frame .card {
/*spaces between cards*/
margin-top: var(--gallery-gap-unit);
margin-right: calc(var(--gallery-gap-unit) * 2);
margin-bottom: var(--gallery-gap-unit);
margin-left: 0px;
/*horizontal spaces inside of cards*/
/*vertical space is handled below by margins of childs elements*/
padding-left: var(--gallery-gap-unit);
padding-right: var(--gallery-gap-unit);
/*width and color of frames*/
border-style: solid;
border-width: var(--gallery-frame-width);
border-color: var(--gallery-frame-color);
}
.gallery.frame .card > * {
/*the auto is what avoid img to stretch towards edges*/
margin: var(--gallery-gap-unit) auto;
}
/*GALERY*/
.galery {
display: flex;
flex-wrap: wrap;
}
.galery .card {
display: flex;
flex-direction: column;
/*
flex-grow: 1;
flex-shrink: 0;
flex-basis: 0;
*/
flex: 1 1 0;
padding: 0px;
margin: 20px 20px 20px 0px;
}
.galery .card img {
height: 200px;
}
.galery .card p {
margin-left: 0px;
}
.galery .card > * {
margin: 5px 0px;
}
.galery::after {
content: "";
flex: 10;
}
/*space*/
.galery.space .card .image_background {
display: flex;
width: 100%;
background-color: hsl(0, 0%, 95%);
}
.galery.space .card .image_background img {
margin: auto;
}
/*cut*/
.galery.cut .card {
display: flex;
}
.galery.cut .card > * {
margin: 5px auto;
}
.galery.cut .card .image_background {
display: flex;
width: 100%;
overflow: hidden;
background-color: hsl(0, 0%, 95%);
}
.galery.cut .card .image {
margin: auto;
}
.galery.cut .card .image img {
margin: auto -30px;
}
/*minwidth*/
.galery.minwidth .card {
min-width: 150px;
}
/*image du haut*/
div.image_container {
border: 1px solid green;
margin: auto;
margin-left: 0px;
overflow: visible;
}
div.image_container img {
margin-left: -10px;
margin-right: -10px;
}

159
old/styles/index.css Normal file
View File

@@ -0,0 +1,159 @@
/*------------------------------------------*/
/*ACCUEIL*/
body main {
display: flex;
flex-direction: column;
height: 100vh;
margin: auto;
padding: 0px;
}
.logo_txt {
height: auto;
width: 100%;
margin: auto;
}
.logo_bubbles {
position: relative;
height: auto;
width: 100%;
margin: auto;
}
.logo_links {
display: flex;
flex-direction: row;
width: 100%;
margin: auto auto 50px auto;
}
/*------------------------------------------*/
/*THE DRAWING*/
/*all the ratios of the following elements*/
._ratio {
position: relative;
width: 100%;
}
.logo_bubbles > ._ratio {
padding-top: 70%;
}
.circle > ._ratio {
padding-top: 100%;
}
/*commmon settings*/
.logo_bubbles .circle {
position: absolute;
border-radius: 50%;
}
/*sie position and color for each circles*/
.logo_bubbles .circle._1 {
top: 13.4%;
left: 2.2%;
width: 51.6%;
background-color: #ee1998;
}
.logo_bubbles .circle._2 {
top: 18.8%;
left: 27.6%;
width: 51.6%;
background-color: #8fce3c;
}
.logo_bubbles .circle._3 {
top: 5.9%;
left: 66.1%;
width: 30.5%;
background-color: #0c9cb5;
}
.logo_bubbles .circle._4 {
top: 36%;
left: 59%;
width: 10.9%;
background-color: #e3e00a;
}
/*mix-blend-mode*/
.logo_bubbles .circle._blend._2 {
mix-blend-mode: luminosity;
}
.logo_bubbles .circle._blend._3 {
mix-blend-mode: color;
}
/*the line*/
.logo_bubbles .logo_line {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
}
/*------------------------------------------*/
/*THE ANIMATION*/
@keyframes position {
0% {transform: translate( 0%, 0%);}
20% {transform: translate( 1%, -1%);}
30% {transform: translate(-1%, 0%);}
40% {transform: translate( 1%, -1%);}
50% {transform: translate( 0%, 1%);}
60% {transform: translate( 1%, -1%);}
70% {transform: translate( 0%, 0%);}
80% {transform: translate(-1%, -1%);}
90% {transform: translate( 1%, -1%);}
100% {transform: translate( 0%, 0%);}
}
.logo_bubbles .circle {
animation-name: position;
animation-duration: 8s;
animation-delay: 0s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
.logo_bubbles .circle._1 {
animation-delay: -0.8s;
animation-direction: reverse;
}
.logo_bubbles .circle._2 {
animation-delay: -2.7s;
}
.logo_bubbles .circle._3 {
animation-delay: -1.3s;
animation-direction: reverse;
}
.logo_bubbles .circle._4 {
animation-delay: 0s;
}
/*------------------------------------------*/
/*LINKS*/
.logo_links > * {
margin: auto;
padding: 0px;
}
.logo_links > :first-child {
margin-left: 0px;
}
.logo_links > :last-child {
margin-right: 0px;
}
.logo_links #kosmopolit a {
color: var(--color-purple);
}
.logo_links #litterall a {
color: var(--color-green);
}
.logo_links #lea a {
color: var(--color-water);
}
.logo_links #actualites a {
color: hsl(59, 100%, 40%);
}

View File

26
old/styles/lettres.css Normal file
View File

@@ -0,0 +1,26 @@
aside.aside_right .relative_box {
border-style: none;
}
.rectangle p {
margin: auto;
padding: 10px;
text-align: center;
}
.rectangle._big {
min-width: 290px;
height: 290px;
margin-right: 20px;
background-color: hsla(var(--hue-4), 73%, 61%, 0.6);
}
.rectangle._little {
width: 170px;
height: 170px;
background-color: hsla(var(--hue-2), 60%, 52%, 0.6);
}
.rectangle._little p {
font-size: 1.7em;
line-height: 1.4em;
}

View File

@@ -0,0 +1,20 @@
.logos_container {
flex-direction: row;
flex-wrap: wrap;
}
.logos_partenaires {
margin: auto;
margin-left: 0px;
padding: 20px;
height: 130px;
width: 130px;
}
.logos_partenaires img {
margin: auto;
max-width: 100%;
max-height: 100%;
}

5
old/styles/litterall.css Normal file
View File

@@ -0,0 +1,5 @@
.page_nav {
min-width: 200px;
padding: 0px 20px 0px 0px;
border-right: 1px solid lightgray;
}

View File

@@ -0,0 +1,23 @@
/*---------------------------------------------*/
/*NAVBAR special DROPDOWN*/
.navbar .nav_right .dropdown .drop {
background-color: var(--color-back-base);
}
.navbar .nav_right .dropdown a:hover, .navbar .nav_right .dropdown a:focus {
background-color: var(--color-back-dark);
}
.navbar .nav_right .dropdown .drop_items {
top: 100%;
left: 0px;
height: 100%;
flex-direction: column;
display: none;
}
.navbar .nav_right .dropdown .drop_items::before {
display: none;
}
.navbar .nav_right .dropdown:focus-within * {
display: flex;
}

View File

@@ -0,0 +1,7 @@
.sommaire_name_width {
padding: 0px 5px;
background-color: hsl(var(--hue-4) 50% 90%);
}
img#cataplasme {
border: 1px solid lightgrey;
}

View File

@@ -0,0 +1,18 @@
.sommaire_name_width {
padding: 0px 5px;
background-color: hsl(var(--hue-4) 50% 90%);
}
.logos_container {
flex-direction: row;
flex-wrap: wrap;
}
.logos_partenaires {
margin: auto;
margin-left: 0px;
padding: 20px;
width: 100px;
}

View File

@@ -0,0 +1,11 @@
.logos_container {
flex-direction: row;
flex-wrap: wrap;
}
.logos_partenaires {
margin: auto;
margin-left: 0px;
padding: 20px;
width: 100px;
}

4
old/styles/load.css Normal file
View File

@@ -0,0 +1,4 @@
html {
visibility: visible !important;
opacity: 1 !important;
}

41
old/styles/main.css Normal file
View File

@@ -0,0 +1,41 @@
/*---------------------------------------------*/
/*MAIN*/
body main {
padding: calc(var(--gap-unit) / 2);
width: 600px;
min-height: calc(100vh - 1px - var(--nav-height) - var(--footer-height));
}
body main > * {
margin: var(--gap-unit) 0px;
}
body main h1 {
padding: 70px 0px;
border-bottom: 1px solid var(--color-lines-1);
}
body main h2 {
/* padding top of 40px to let the space for the nav height when using anchor*/
padding: 40px 0px 10px 0px;
border-bottom: 1px solid var(--color-lines-1);
}
body main h3 {
padding: 50px 0px 0px 0px;
/*
border-bottom: 1px solid var(--color-lines-1);
margin-right: auto;
*/
}
body main h4 {
padding: 40px 0px 0px 0px;
}
body main h5 {
padding: 0px;
}
body main h6 {
padding: 0px;
}
main iframe {
height: 40px;
}

143
old/styles/media.css Normal file
View File

@@ -0,0 +1,143 @@
/* RESPONSIVE DESIGN */
@media only screen and (max-width: 1000px) {
html {
font-size: var(--small-font-size);
}
.container_main {
flex-direction: column;
}
.container_main > * {
margin: 20px;
}
.aside_left {
position: relative;
}
/*NAVBAR*/
nav.navbar {
flex-direction: column;
height: auto;
}
.navbar .nav_left {
flex-direction: column;
height: auto;
width: 100%;
}
.navbar .nav_left a#nav_logo {
display: flex;
margin-bottom: 0px;
margin-left: 0px;
width: auto;
}
.navbar .nav_left > a:not(#nav_logo) {
display: none;
margin-left: 0px;
width: 100%;
height: 50px;
}
.navbar .nav_left > a p {
margin-left: 20px;
}
.navbar .nav_right {
height: auto;
width: 100%;
display: none;
margin-left: 28px;
}
.navbar .nav_right > a {
height: 50px;
margin: 0px;
}
/*burger menu*/
nav.navbar input#burger {
display: none;
}
nav.navbar .burger {
position: absolute;
right: 0px;
top: 0px;
height: var(--nav-height);
width: 50%;
cursor: pointer;
}
nav.navbar .burger::before {
content: "";
position: absolute;
right: 20px;
top: 10px;
width: 26px;
height: 14px;
border-top: 2px solid var(--color-grey-dark);
border-bottom: 2px solid var(--color-grey-dark);
}
nav.navbar .burger::after {
content: "";
position: absolute;
right: 20px;
top: 18px;
width: 26px;
height: 2px;
border-top: 2px solid var(--color-grey-dark);
}
nav.navbar #burger:checked + .burger {
cursor: default;
}
nav.navbar #burger:checked ~ .nav_right {
display: flex;
}
nav.navbar #burger:checked ~ .nav_left a {
display: flex;
}
nav.navbar #burger:checked ~ .nav_left a:not(#nav_logo) {
}
nav.navbar #burger:checked ~ .nav_left a#nav_logo {
display: flex;
margin-bottom: 40px;
}
nav.navbar #burger:checked + .burger::before {
transform: rotate(40deg);
top: 18px;
right: 21px;
height: 2px;
border-bottom: none;
}
nav.navbar #burger:checked + .burger::after {
transform: rotate(-40deg);
}
nav.navbar .burger:checked::after {
}
/*MAIN*/
main {
max-width: 90%;
}
main .image {
flex-wrap: wrap;
}
main .image img {
margin-bottom: 20px;
}
.image h1, .image h2, .image h3, .image p {
margin-left: 0px;
}
/*INDEX*/
.logo_links#index_links {
flex-direction: column;
}
body#body_index {
display: flex;
flex-direction: column;
min-height: 100vh;
}
main#index {
height: auto;
}
.logo_links#index_links h3 {
margin: 10px auto;
}
.logo_links#index_links {
margin-bottom: 20px;
}
}

56
old/styles/menu.css Normal file
View File

@@ -0,0 +1,56 @@
body {
display: flex;
flex-direction: column;
}
/*/////////////////////////*/
/*MENU*/
.menu {
display: flex;
height: 40px;
}
.menu > * {
margin: auto;
}
.link-index {
display: flex;
}
.menu-link {
margin: auto;
}
.dot-link {
width: 30px;
height: 30px;
margin: auto;
margin-right: 10px;
border-radius: 50%;
}
.dot-link-asso {
background-color: var(--color-purple);
}
.dot-link-litterall {
background-color: var(--color-green);
}
.dot-link-lettredeeda {
background-color: var(--color-water);
}
/*//////////////////////////////*/
/*IMAGE*/
#main {
position: relative;
height: calc(100vh - 40px);
width: 100vw;
}
img {
width: 100%;
height: 100%;
}
.contain {
object-fit: contain;
}
.cover {
object-fit: cover;
}

102
old/styles/nav.css Normal file
View File

@@ -0,0 +1,102 @@
/*---------------------------------------------*/
/*NAVBAR*/
nav iframe {
width: 100%;
}
body#body_navbar {
background-color: transparent;
overflow: hidden;
}
.navbar {
flex-direction: row;
/*we have to set the height to use the height % for childs elements*/
height: var(--nav-height);
background-color: var(--color-back-base);
border-bottom: 1px solid var(--color-lines-4);
}
.navbar * {
display: flex;
flex-direction: row;
margin: auto;
height: 100%;
}
/* nav_left is used for links to pages*/
.navbar .nav_left {
margin-left: 0px;
}
.navbar .nav_left a {
padding: 0px 20px;
}
.navbar .nav_left #nav_logo {
padding-left: 40px;
padding-right: 40px;
}
.navbar a > * {
/*to center vertically the text*/
height: auto;
}
.navbar .nav_left img {
height: calc(100% - 4px);
}
.navbar a:hover, .navbar a:focus {
background-color: var(--color-back-dark);
}
.navbar a#nav_logo:hover, .navbar a#nav_logo:focus {
background-color: var(--color-back-base);
}
/* nav_right is used for actions such as connection, search or language*/
.navbar .nav_right {
margin-right: 0px;
}
/*---------------------------------------------*/
/*LANGUAGE*/
/*
nav_right
language selected
language
language inactive
*/
.navbar .nav_right .language {
position: relative;
padding: 0px 10px;
}
/* horizontal space between flag and name*/
.navbar .nav_right .language > * {
margin: auto 3px;
}
/*flag size*/
.navbar .nav_right .language img.flag {
height: 12px;
}
/*text size*/
.navbar .nav_right .language p {
font-size: 1.6em;
}
/*selected language*/
.navbar .language.selected {
background-color: var(--color-back-dark);
pointer-events: none;
}
/*inactive language*/
.navbar .language.inactive {
pointer-events: none;
filter: grayscale(100%);
}
/*menu burger responsive*/
nav.navbar input#burger {
display: none;
}
nav.navbar .burger {
margin: 0px;
}

64
old/styles/reset.css Normal file
View File

@@ -0,0 +1,64 @@
/*/////////////////////////////////////////////*/
/*RESET*/
* {
box-sizing: content-box;
}
/*
body *:not(script) {
display: block;
}
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
text-decoration: none;
}
:focus {
outline: 0;
}
body {
line-height: 1;
color: black;
background: white;
}
ol, ul {
list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
* {
cursor: default;
}
/*RESET*/
/*/////////////////////////////////////////////*/

110
old/styles/skeleton.css vendored Normal file
View File

@@ -0,0 +1,110 @@
/*---------------------------------------------*/
/*SKELETON*/
/*the position, size, and orientation of all elements without style or spaces*/
body, body * {
display: flex;
/*by default all elements are verticals*/
flex-direction: column;
}
html {
scroll-behavior: smooth;
/*default font-size for rem*/
font-size: var(--base-font-size);
}
body {
background-color: var(--color-back-base);
}
nav {
flex-direction: row;
/*we have to set the height to use the height % for childs elements*/
height: calc(var(--nav-height) + 1px);
z-index: 10;
position: relative;
}
.container_main {
flex-direction: row;
}
.container_main > * {
margin: 0px auto;
}
aside.aside_left {
top: calc(var(--nav-height) + 1px);
height: calc(100vh - var(--nav-height) - 1px);
background-color: var(--color-back-base);
}
main {
background-color: var(--color-back-base);
min-height: calc(100vh - 1px - var(--nav-height) - var(--footer-height));
}
aside.aside_right {
background-color: var(--color-back-base);
}
footer {
height: var(--footer-height);
}
footer iframe {
width: 100%;
height: 100%;
}
/*---------------------------------------------*/
/*DESIGN KEYWORDS*/
/* contains elements oriented vertically (default) or horizontally*/
.vertical {
flex-direction: column;
}
/* horizontal is only in web version, it becomes vertical in mobile design*/
.horizontal {
flex-direction: row;
}
/* self position of elements to the left, the right, or the center of their container*/
.right {
margin-right: 0px;
margin-left: auto;
text-align: right;
}
.left > * {
margin-left: 0px;
}
.center {
margin-right: auto;
margin-left: auto;
text-align: center;
}
.sticky {
position: -webkit-sticky; /*safari*/
position: sticky;
top: 0;
}
/*- - - - - - - - - - - - - - - - - - - - -*/
/* test for fonts */
/*- - - - - - - - - - - - - - - - - - - - -*/
.nav_left #fonts {
flex-direction: column;
position: relative;
}
.nav_left #fonts:hover #fonts_dropdown {
display: flex;
}
.nav_left #fonts #fonts_dropdown {
position: absolute;
top: 100%;
left: 0px;
flex-direction: column;
display: none;
}
.nav_left #fonts #fonts_dropdown button {
margin-left: 0px;
}

21
old/styles/style.css Normal file
View File

@@ -0,0 +1,21 @@
/*----------------------------------------------*/
/*IMPORT CSS*/
@import url(./reset.css);
@import url(./global.css);
@import url(./skeleton.css);
@import url(./nav.css);
@import url(./aside_left.css);
@import url(./main.css);
@import url(./aside_right.css);
@import url(./footer.css);
@import url(./fonts.css);
@import url(./text.css);
@import url(./images.css);
@import url(./media.css);
@import url(./load.css);

149
old/styles/text.css Normal file
View File

@@ -0,0 +1,149 @@
/*---------------------------------------------*/
/*FONTS*/
h1, h2, h3, h4, h5, h6, em {
font-family: var(--font-titles), var(--font-fallback), sans-serif;
}
a, p, li {
font-family: var(--font-texts), var(--font-fallback), sans-serif;
}
code {
font-family: monospace;
}
/*---------------------------------------------*/
/*COLORS*/
/*links when they are part of a text*/
p a, p a:link {
color: var(--color-link);
}
p a:visited {
color: var(--color-link-visited);
}
p a:hover {
color: var(--color-link-hover);
}
p a:active {
color: var(--color-link-active);
}
/*color text*/
h1, h2, h3, h4, h5, h6, p, span {
color: var(--color-text);
}
/*---------------------------------------------*/
/*SIZES*/
aside {
font-size: .8rem;
}
main {
font-size: 1rem;
}
p {
font-size: 1.8em;
line-height: 1.5em;
}
h1 {
font-size: 3.5em;
line-height: 1.5em;
}
h2 {
font-size: 2em;
line-height: 1.5em;
}
h3 {
font-size: 1.8em;
line-height: 1.5em;
}
h4 {
font-size: 1.8em;
line-height: 1.5em;
}
h5 {
font-size: 1.8em;
line-height: 1.5em;
}
h6 {
font-size: 1.8em;
line-height: 1.5em;
}
small, sub, sup {
font-size: 0.8em;
line-height: 1.2em;
}
/*---------------------------------------------*/
/*OTHER SETTINGS*/
p, p *, h1, h1 *, h2, h2 *, h3, h3 *, h4, h4 *, h5, h5 *, h6, h6 *, li * {
display: inline;
}
a, a * {
cursor: pointer;
}
i {
font-style: italic;
}
b {
font-weight: 600;
}
mark { /*text with background color*/
padding: 0px 5px;
background-color: hsl(var(--hue-4) 50% 90%);
}
strong { /*text with color*/
background-color: hsl(var(--hue-2) 80% 80%);
}
del {
text-decoration: line-through;
}
ins {
text-decoration: underline;
}
sub {
vertical-align: sub;
}
sup {
vertical-align: super;
}
code {
background-color: var(--color-back-dark);
}
/*
<i> - Italic
<em> - Emphasized -> title font
<b> - Bold
<strong> - Important -> background color
<mark> - Marked -> background color
<small> - Smaller
<del> - Deleted
<ins> - Inserted -> underline
<sub> - Subscript
<sup> - Superscript
<code> - Computer
*/
/*---------------------------------------------*/
/*CLASS SETTINGS*/
/*quote*/
.quote {
max-width: 480px;
margin-right: 0px;
margin-left: auto;
text-align: right;
}
.quote p, .quote p * {
color: var(--color-text-light);
}
.quote_credit {
font-size: 1.8em;
margin-top: 0.9em;
}
.quote_credit p {
font-size: 0.8em;
line-height: 1.2em;
}
/*nocut*/
.nocut {
white-space: nowrap;
}

View File

@@ -0,0 +1,11 @@
.aside_left {
width: var(--aside-left-width);
}
main#main_traduire_retraduire {
width: 100%;
}
main .image.full img {
border: 1px solid lightgrey;
margin: 10px 0px;
}