Skip to content

Commit

Permalink
Merge pull request #23 from edrlab/content-preparation-based-on-new-l…
Browse files Browse the repository at this point in the history
…ayout

Content preparation based on new layout
  • Loading branch information
gautierchomel authored Jan 14, 2025
2 parents b7e52a5 + a9262bc commit 01dbd05
Show file tree
Hide file tree
Showing 140 changed files with 1,213 additions and 940 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
w/*

# Logs
logs
*.log
Expand Down
Binary file added assets/images/cover-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/cover-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ code {
}

blockquote > p {
@apply my-0 #{!important};
@apply my-0;
}
File renamed without changes.
File renamed without changes.
217 changes: 209 additions & 8 deletions assets/scss/custom.scss
Original file line number Diff line number Diff line change
@@ -1,25 +1,226 @@
// Add your own custom styles here

:is(.dark .content) :where(code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
color: floralwhite;
font-weight: 600;
font-size: 0.875em;
}
:is(.dark .content) {
color: floralwhite !important;
font-weight: 600;
font-size: 0.875em;
}

.code {
color: floralwhite !important;
}

// :is(.dark .code) {
// color: floralwhite !important;
// }

.cover {
content: url(https://github.com/edrlab/qualebook/blob/content-preparation-based-on-new-layout/assets/images/cover-light.png?raw=true);
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}

:is(.dark .cover) {
content: url(https://github.com/edrlab/qualebook/blob/content-preparation-based-on-new-layout/assets/images/cover-dark.png?raw=true);
}


.normal {
text-decoration: underline;
color: blue;
color: darkblue;
}

body {
background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2), transparent 10%) 0 0 / 20px 20px;
background-color: floralwhite;
}

:is(.dark body) {
background: radial-gradient(circle at center, rgba(235, 235, 235, 0.2), transparent 10%) 0 0 / 20px 20px;
background-color: darkslateblue;
color: floralwhite;
}

:is(.dark li) {
color: floralwhite !important;
}

.taxonomies,.mb-8 {
background-color: cornsilk;
border-color: burlywood;
padding: 1em;
border-radius: 10px;
}


:is(.dark .taxonomies) {
background-color: darkslateblue;
border-color: darkslateblue;
}


:is(.dark .mb-8) {
background-color: darkslateblue;
border-color: cornflowerblue;
padding: 1em;
border-radius: 10px;
}


.taxonomiesticker {
background-color: floralwhite;
border: solid 2px burlywood;
}

:is(.dark .taxonomiesticker) {
background-color: darkslateblue;
border: solid 2px cornflowerblue;
}

bg-body {
background-color: cornsilk;
border-color: burlywood;
}

bg-darkmode-body {
background-color: darkslateblue;
border-color: cornflowerblue;
}

blockquote {
background-color: cornsilk !important;
border-color: burlywood !important;
}

:is(.dark blockquote) {
background-color: darkslateblue !important;
border-color: cornflowerblue !important;
color: floralwhite !important;
}

.bouton {
padding: 1em;
border-radius: 10px;
border: solid 1px;
border-color: burlywood;
background-color: floralwhite;
font-variant: bold;
font-weight: bold;
}

.btn {
padding: 1em;
border-radius: 10px;
border: solid 1px;
border-color: burlywood;
background-color: burlywood;
font-variant: bold;
font-weight: bold;
color: darkslateblue;
}

:is(.dark .btn) {
padding: 1em;
border-radius: 10px;
border: solid 1px;
border-color: cornflowerblue;
background-color: cornflowerblue;
font-variant: bold;
font-weight: bold;
}

:is(.dark .bouton) {
padding: 1em;
border-radius: 10px;
border: solid 1px;
border-color: floralwhite;
background-color: darkslateblue;
font-variant: bold;
font-weight: bold;
color: floralwhite;
}

:is(.dark a) {
color: floralwhite;
}

:is(.dark .pagetitle) {
background-color: darkslateblue;
color: floralwhite;
}

.pagetitle {
padding: 1em;
// border-radius: 2%;
// border: solid 1px;
// border-color: burlywood !important;
background-color: floralwhite;
font-variant: bold;
font-weight: bold;
color: darkslateblue;
}

footer {
background-color: cornsilk !important;
border-top: solid 1px;
border-color: burlywood;
}

:is(.dark footer) {
background-color: darkslateblue !important;
border-color: floralwhite;
border-bottom: solid 1px;
color: floralwhite;
}

header {
background-color: cornsilk !important;
border-color: burlywood;
border-bottom: solid 1px;
}

:is(.dark header) {
background-color: darkslateblue !important;
border-color: floralwhite;
border-bottom: solid 1px;
color: floralwhite;
}

h1{
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: 3rem;
color: DarkSlateBlue;
}

h2{
font-size: 1rem;
:is(.dark) h1,
:is(.dark) h2,
:is(.dark) h3,
:is(.dark) h4,
:is(.dark) h5,
:is(.dark) h6 {
color: floralwhite;
}
h3{
font-size: 1rem;

h1 {
font-size: 3rem;
}
h4{

h2, h3, h4 {
font-size: 1rem;
}
h5{

h5 {
font-size: 1rem;
color: DarkSlateBlue;
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 11 additions & 7 deletions config/_default/menus.en.toml
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
############# English navigation ##############

# main menu
[[main]]
name = "Home"
url = ""
weight = 1

[[main]]
name = "About"
url = "about/"
weight = 2

# [[main]]
# name = "Authors"
# url = "authors/"
# weight = 2

[[main]]
name = "Rules"
url = "rules/"
weight = 3

[[main]]
parent = "Rules"
# parent = "Pages"
name = "Categories"
url = "categories/"

[[main]]
parent = "Rules"
# parent = "Pages"
name = "Tags"
url = "tags/"

[[main]]
parent = "Rules"
name = "Steps"
url = "steps/"
57 changes: 36 additions & 21 deletions config/_default/menus.fr.toml
Original file line number Diff line number Diff line change
@@ -1,46 +1,56 @@
############# French navigation ##############

# main menu
# [[main]]
# name = "Accueil"
# url = ""
# weight = 1
[[main]]
name = "Accueil"
url = ""
weight = 1

[[main]]
name = "À propos"
url = "about/"
weight = 2

# [[main]]
# name = "Auteurs"
# url = "authors/"
# weight = 2

[[main]]
name = "Règles"
url = "rules/"
weight = 3

[[main]]
parent = "Règles"
name = "Toutes les règles"
url = "rules/"
weight = 3
# [[main]]
# weight = 4
# name = "Pages"
# hasChildren = true

# [[main]]
# parent = "Pages"
# name = "Blog"
# url = "blog/"

# [[main]]
# parent = "Pages"
# name = "Contact"
# url = "contact/"

# [[main]]
# parent = "Pages"
# name = "Authors"
# url = "authors/"

[[main]]
parent = "Règles"
# parent = "Pages"
name = "Categories"
url = "categories/"

[[main]]
parent = "Règles"
# parent = "Pages"
name = "Étiquettes"
url = "tags/"

[[main]]
parent = "Règles"
name = "Étapes"
url = "steps/"

[[main]]
name = "Glossaire"
url = "vocabulary"
weight = 3

# [[main]]
# parent = "Pages"
# name = "404 Page"
Expand All @@ -53,6 +63,11 @@ weight = 3
# url = "about/"
# weight = 1

# [[footer]]
# name = "Elements"
# url = "elements/"
# weight = 2

# [[footer]]
# name = "Privacy Policy"
# url = "privacy-policy/"
Expand Down
10 changes: 10 additions & 0 deletions content/english/authors/_index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Authors"

---


[edrlab.org](https://www.edrlab.org/about/)

<span lang="fr">Groupe Normes & Standards de la [Commission Numérique du Syndicat national de l'édition](https://www.sne.fr/numerique-2/). </span>


[OPQUAST](https://www.opquast.com/a-propos/)

Loading

0 comments on commit 01dbd05

Please sign in to comment.