Skip to content

Commit

Permalink
Factorisation des règles CSS communes à tous les sites
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolite committed Jan 29, 2024
1 parent 32a3047 commit 2b6ac6c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 34 deletions.
23 changes: 23 additions & 0 deletions docs/assets/css/commun.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
header {
background-image: url("https://rok4.github.io/assets/images/bandeau.png");
background-position: top center;
background-repeat: round;
}

.md-header__topic {
color: black;
text-shadow: 0 0 0.2em white, 0 0 0.2em white;
}

.md-tabs {
background-color: #fff0;
color: black;
font-weight: bold;
text-shadow: 0 0 0.2em white, 0 0 0.2em white;
}

iframe {
width: 100%;
height: 700px;
border:none;
}
34 changes: 0 additions & 34 deletions docs/assets/css/style.css
Original file line number Diff line number Diff line change
@@ -1,37 +1,3 @@
header {
background-image: url("https://rok4.github.io/assets/images/bandeau.png");
background-position: top center;
background-repeat: round;
}

.md-header__topic {
color: black;
text-shadow: 0 0 0.2em white, 0 0 0.2em white;
}

.md-tabs {
background-color: #fff0;
color: black;
font-weight: bold;
text-shadow: 0 0 0.2em white, 0 0 0.2em white;
}

iframe {
width: 100%;
height: 700px;
border:none;
}

#version_menu {
position: absolute;
margin-top: -40px;
}

#version_menu > a::before {
content: "➔";
padding-left: 30px;
}

#map {
width: 100%;
height: 700px;
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ plugins:

extra_css:
- assets/css/style.css
- assets/css/commun.css

markdown_extensions:
- attr_list
Expand Down

0 comments on commit 2b6ac6c

Please sign in to comment.