L'ancien dépot du générateur de sites d'Antopie https://antopie.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 

289 lines
3.7 KiB

@light: ~"(prefers-color-scheme: light)";
@dark: ~"(prefers-color-scheme: dark)";
::selection {
@media @light {
color: @lightColor;
background-color: @darkColor;
}
@media @dark {
color: @darkColor;
background-color: @lightColor;
}
}
html {
@media @light {
scrollbar-color: @darkColor @lightColor;
}
@media @dark {
scrollbar-color: @lightColor @darkColor;
}
}
body {
font-family: system-ui, sans-serif;
padding: 0px;
margin: 0px;
font-size: 30px;
line-height: 50px;
@media @light {
background-color: @lightlessColor;
color: @darkColor;
}
@media @dark {
background-color: @darkerColor;
color: @lightColor;
}
}
main {
margin: 0px;
padding: 30px;
padding-top: 15px;
@media (max-width: 500px) {
padding-left: 10px;
padding-right: 10px;
}
@media @light {
background-color: @lightColor;
}
@media @dark {
background-color: @darkColor;
}
}
a, a:visited {
text-decoration: underline;
transition-property: color, border-color;
transition-duration: 0.1s;
transition-timing-function: linear;
@media @light {
color: @darkColor;
}
@media @dark {
color: @lightColor;
}
&:hover, &:focus {
text-decoration: none;
color: @mainColor;
}
}
.bouton {
border-width: 2px;
border-style: solid;
padding: 10px;
padding-left: 15px;
padding-right: 15px;
margin: 5px;
display: inline-block;
border-radius: 14px;
text-decoration: none;
@media @light {
border-color: @darkColor;
}
@media @dark {
border-color: @lightColor;
}
&:hover, &:focus {
color: @mainColor;
border: 2px solid @mainColor;
}
}
.petit-bouton {
border-width: 2px;
border-style: solid;
padding: 2px;
padding-left: 10px;
padding-right: 10px;
margin: 5px;
font-size: 80%;
display: inline-block;
border-radius: 14px;
text-decoration: none;
@media @light {
border-color: @darkColor;
}
@media @dark {
border-color: @lightColor;
}
&:hover, &:focus {
color: @mainColor;
border: 2px solid @mainColor;
}
}
.logo {
margin-bottom: 10px;
}
img {
height: auto;
max-width: 100%;
}
.imgArticle {
display: block;
margin: auto;
margin-top: 20px;
margin-bottom: 20px;
}
.border {
border-width: 1px;
border-style: solid;
border-radius: 5px;
@media @light {
border-color: @darkColor;
}
@media @dark {
border-color: @lightColor;
}
}
strong {
font-weight: bold;
}
pre, code, var, samp {
font-family: monospace;
overflow: scroll;
padding: 5px;
border-radius: 10px;
font-style: normal;
@media @dark {
background-color: @darkerColor;
}
@media @light {
background-color: @lightlessColor;
}
}
abbr[title] {
text-decoration: dotted underline;
}
address {
font-style: normal;
}
ul {
padding-left: 35px;
margin: 0px;
}
dt {
font-weight: 500;
}
dd {
margin-left: 25px;
padding-bottom: 10px;
}
p {
margin: 0px;
padding-top: 10px;
padding-bottom: 10px;
}
.centre {
text-align: center;
justify-content: center;
}
article {
margin-left: 20%;
margin-right: 20%;
@media (max-width: 1400px) {
margin-left: 10%;
margin-right: 10%;
}
@media (max-width: 800px) {
margin-left: 0px;
margin-right: 0px;
}
}
// FOOTER
.textefooter {
margin: 30px;
line-height: 1.5em;
text-align: center;
}
footer {
text-align: center;
}
header {
display: flex;
justify-content: center;
}
// ----- TITLES -----
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
line-height: 100%;
}
h1 {
font-size: 250%;
text-align: center;
margin: 0px;
padding-bottom: 20px;
padding-top: 15px;
}
h2 {
font-size: 200%;
margin-top: 50px;
margin-bottom: 20px;
}
h3 {
font-size: 160%;
margin-top: 30px;
margin-bottom: 10px;
}
h4 {
font-size: 130%;
margin-top: 0px;
margin-bottom: 0px;
}
h5 {
font-size: 115%;
}
h6 {
font-size: 107%;
}