start print styles

This commit is contained in:
isUnknown 2024-04-15 08:45:09 +02:00
parent fac2b9479d
commit ec3e28f35d
2 changed files with 68 additions and 0 deletions

67
assets/css/src/print.css Normal file
View file

@ -0,0 +1,67 @@
@media print {
/* Hide header / footer infos. */
@page {
margin: 0;
size: auto;
@top-left {
content: none;
}
@top-right {
content: none;
}
@top-center {
content: none;
}
@bottom-left {
content: none;
}
@bottom-right {
content: none;
}
@bottom-center {
content: none;
}
}
body {
padding-top: 4rem;
color: #000;
}
.panel {
display: none;
}
.main-title.fs-xxl {
font-size: 7rem !important;
line-height: 1 !important;
}
#main-header {
position: relative;
}
#logo #actuel {
color: #000;
opacity: 0.8;
}
#logo #inactuel {
color: rgb(86, 217, 163);
}
#entry-btns {
display: none;
}
a {
text-decoration: none !important;
}
article .content {
width: 60%;
margin: auto;
}
}

View file

@ -8,6 +8,7 @@
@import url("src/virtual.css"); @import url("src/virtual.css");
@import url("src/home.css"); @import url("src/home.css");
@import url("src/footer.css"); @import url("src/footer.css");
@import url("src/print.css");
:root { :root {
--color-background: #000; --color-background: #000;
--color-primary: #ffffff; --color-primary: #ffffff;