This commit is contained in:
vincent_b
2025-10-17 00:18:16 +02:00
parent a9c8ef66db
commit 1c1f514531
28 changed files with 1422 additions and 124 deletions

View File

@@ -1,3 +1,8 @@
body,
html {
margin: 0;
padding: 0;
}
body {
font-family: sans-serif;
margin: auto;
@@ -8,19 +13,22 @@ h1 {
text-align: center;
}
.navbar {
background-color: #FFF !important;
#navbar {
background-color: #fff !important;
border-radius: 2px;
/* max-width: 800px; */
position: sticky;
top: 0px;
width: 100%;
display: block;
max-width: none;
text-align: center;
* {
}
a {
/* color: #000; */
color: blue;
color: blue;
display: inline-block;
font-size: 15px;
padding: 10px 10px 10px 0;
@@ -32,43 +40,114 @@ h1 {
}
}
.resume {
white-space: pre-line;
border: 1px solid #aaf;
border-radius: 0;
padding: 0px;
line-height: 1.8em;
background: #f2f2ff;
padding: 15px 10px 20px 20px;
}
#contenant {
background-color: red;
/* height: 2000px; */
.code-toolbar + .code-toolbar {
margin-top: -30px !important;
}
/* https://www.w3schools.com/howto/howto_css_two_columns.asp */
.left, .right {
float:left;
width: 50%;
box-sizing: border-box;
}
.left {
width: calc(50% - 30px);
padding-left: 10px;
}
.right {
border-left: 1px solid #000;
padding-left: 30px;
}
p:first-child {
margin-top: 0;
}
p:last-child {
margin-bottom: 0;
}
display: none;
.exemple,
.code-content {
/* border: 1px solid #e8cf8b; */
border-radius: 0 0 3px 3px;
padding: 8px 16px 12px;
margin-top: -16px;
background: #fff;
/* margin-bottom: 10px; */
float: none;
}
.code-content::after {
content: "";
clear: both;
display: table;
}
.code-toolbar {
border: 1px solid #e8cf8b;
margin-bottom: 50px;
}
pre[class*="language-"] {
margin-bottom: 0 !important;
}
pre[class*="language-"] {
margin-top: 0 !important;
padding-bottom: 30px !important;
}
.exemple {
padding-top: 22px;
}
pre.language-css {
background: #f5fde3 !important;
}
#contenant_cols {
column-count: 3;
float: left;
/* PENSER à mettre <html lang="fr"> */
.text {
text-align: justify;
hyphens: auto;
display: block;
}
}
codescaped {
background-color: #fdf6e3;
border-radius: 0 0 3px 3px;
padding: 3px;
color: #000 !important;
}
.file {
background: #e3eafd;
font-style: normal;
text-decoration: none;
color: #000 !important;
padding: 0 7px;
}
code:not([class]) {
font-size: 1.3em;
color: #000;
background: #fdf6e3;
padding: 0 5px;
}
:is(.code-toolbar) + :not(.exemple) {
margin-top: 1rem;
}
:is(.exemple, .code-content) p {
color: #000;
}
div.code-toolbar > .toolbar {
opacity: 1 !important;
}
.toolbar-item:first-child span {
border-radius: 0 !important;
background: #FFF !important;
box-shadow: none !important;
left: -10px !important;
position: relative !important;
}
.language-markup {
word-wrap: anywhere !important;
white-space: break-spaces !important;
}
code.key {
background: gray;
color: #fff !important;
font-size: 1.3em;
font-weight: bold;
padding: 3px 13px;
border-radius: 4px;
}
hr.space {
height: 2rem;
border: 0;
}
hr.visible {
background-color: #000;
height: 10px;
margin: 3rem 0;
}