aboutsummaryrefslogtreecommitdiff
path: root/static/css/layout.css
diff options
context:
space:
mode:
authorAdrian Rosin <adrian.rosin.etu@univ-lille.fr>2024-02-19 13:40:03 +0100
committerTixie <hello.git.deuxfleurs@tixie.name>2024-06-07 18:11:09 +0000
commit469d165852c384b13302d3a29570078c71742eb1 (patch)
tree6e323ec0667b4ae274812c05c84178e4c416b58d /static/css/layout.css
parent99b6eaae6174e6776c4e320abee7686b98afba70 (diff)
downloadsite-469d165852c384b13302d3a29570078c71742eb1.tar.gz
site-469d165852c384b13302d3a29570078c71742eb1.zip
Merge remote-tracking branch 'origin/feat/UnderlignedTitle'
# Conflicts: # static/css/home.css # static/css/layout.css # static/index.html
Diffstat (limited to 'static/css/layout.css')
-rw-r--r--static/css/layout.css19
1 files changed, 12 insertions, 7 deletions
diff --git a/static/css/layout.css b/static/css/layout.css
index aa1ede3..163f2f1 100644
--- a/static/css/layout.css
+++ b/static/css/layout.css
@@ -32,6 +32,11 @@
}
/* PAR DEFAUT */
+
+h1 > .decoration:last-of-type:before, h2 > .decoration:last-of-type:before{
+ content: '\A____________________________________\A""""""""""""""""""""""""""""""""""""';
+}
+
html, body, main {
margin: 0;
padding: 0;
@@ -220,17 +225,17 @@ pre.center > a {
--small_margin: 5px;
}
- h1:before, h1:after {
+ h1 > .decoration:last-of-type:before {
content: "";
}
- h2:before {
- content: '______________________________________________________________________\A""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""\A* ';
- }
+ h2 > .decoration:first-of-type:before{
+ content: '______________________________________________________________________\A""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""\A* ';
+ }
- h2:after {
- content: ' *\A______________________________________________________________________\A""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""';
- }
+ h2 > .decoration:last-of-type:before{
+ content: ' *\A______________________________________________________________________\A""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""';
+ }
h2, h1 {
font-size: 1rem;