orgmode-to-gemini-blog/templates/styles/style_general.css

394 lines
5.5 KiB
CSS
Raw Permalink Normal View History

2024-11-11 00:02:50 +01:00
@charset "UTF-8";
/*style général scss*/
2024-11-03 10:29:30 +01:00
* {
2024-11-04 11:52:45 +01:00
box-sizing: border-box;
margin: 0;
padding: 0;
2024-11-03 10:29:30 +01:00
}
2025-03-09 17:00:59 +01:00
*::before, *::after {
box-sizing: border-box;
}
2024-11-03 10:29:30 +01:00
html {
font-size: 1rem;
2024-11-04 11:52:45 +01:00
font-family: Helvetica, "Ubuntu Sans", "Noto Sans", Calibri, Arial, sans-serif;
}
body {
2024-11-04 11:52:45 +01:00
text-align: left;
font-size: 1.5rem;
line-height: 1.5em;
color: #000;
background: #fff;
2025-03-09 17:00:59 +01:00
-webkit-font-smoothing: antialiased;
padding-bottom: 2rem;
2024-11-03 10:29:30 +01:00
}
2024-11-10 18:43:38 +01:00
nav,
.navbar,
2024-11-10 18:03:31 +01:00
.container,
.body-wrap {
max-width: 70ch;
margin: 0 auto;
}
2024-11-10 18:43:38 +01:00
h1,
h2,
h3,
h4,
h5,
h6 {
2024-11-04 11:52:45 +01:00
font-family: Helvetica, "Ubuntu Sans", "Noto Sans", Calibri, Arial, sans-serif;
2025-03-09 17:00:59 +01:00
margin-top: 1rem;
2024-11-04 11:52:45 +01:00
margin-bottom: 2rem;
color: #333;
text-decoration: none !important;
2025-03-09 17:00:59 +01:00
overflow-wrap: break-word;
text-wrap: balance;
line-height: 1.3em;
}
2025-05-13 00:13:57 +02:00
.article-title,
hr + h1 {
margin-top: 5rem;
2025-05-13 00:13:57 +02:00
border-left: 3px solid gray;
padding-left: 3rem;
2025-05-13 12:31:24 +02:00
margin-left: -3.25rem;
}
h1:first-letter {
text-transform: uppercase;
2025-05-13 00:13:57 +02:00
font-size: 4.5rem;
2024-11-03 10:29:30 +01:00
}
2025-03-09 17:00:59 +01:00
h1 {
color: #221d30;
font-size: 2.5rem;
text-decoration: underline;
2024-11-10 00:01:15 +01:00
}
2025-03-09 17:00:59 +01:00
h2 {
font-size: 2rem;
text-decoration: underline;
2024-11-03 10:29:30 +01:00
}
2025-03-09 17:00:59 +01:00
h3 {
font-size: 1.5rem;
text-decoration: underline;
2024-11-03 10:29:30 +01:00
}
2024-11-19 14:18:41 +01:00
.content {
font-size: 1.2rem;
2025-03-09 17:00:59 +01:00
min-height: 15rem;
2025-05-13 12:31:24 +02:00
max-width: 100%;
2024-11-19 14:18:41 +01:00
}
2024-11-14 16:22:34 +01:00
.content img,
.content picture,
.content video,
.content canvas,
.content svg {
2024-11-03 10:29:30 +01:00
display: block;
2024-11-04 11:52:45 +01:00
margin-top: 1rem;
margin-bottom: 1rem;
2025-05-13 12:50:28 +02:00
max-width: 100%;
2024-11-03 10:29:30 +01:00
}
2024-11-19 23:50:42 +01:00
pre,
.sourceCode {
2024-11-11 01:25:10 +01:00
overflow: auto;
}
2024-11-14 16:22:34 +01:00
a {
display: inline-block;
border-radius: 1rem;
color: rgb(0, 123, 255);
text-decoration: none;
2025-05-13 12:11:17 +02:00
padding: 0.25rem;
max-width: 65ch;
2025-05-13 12:50:28 +02:00
word-wrap: anywhere;
2024-11-14 16:22:34 +01:00
}
main a:hover {
background: #303030;
2025-02-23 17:37:53 +01:00
color: rgb(0, 123, 255);
}
main a:hover h2 {
color: rgb(0, 123, 255);
2024-11-14 16:22:34 +01:00
}
.nav a, .page__index a {
2025-03-09 17:00:59 +01:00
padding: 0.5rem 2rem;
2024-11-14 16:22:34 +01:00
display: block;
margin-right: 1rem;
margin-bottom: 1rem;
}
2024-11-19 23:50:42 +01:00
.site-footer a {
margin: 0 1rem;
text-decoration: underline;
}
a img {
transition: 0.25s box-shadow ease-out;
}
a img:hover {
box-shadow: 0 0 1rem #ccc;
transition: 0.25s all ease-in;
}
2024-11-14 16:22:34 +01:00
2024-11-10 18:43:38 +01:00
input,
button,
textarea,
select {
2024-11-03 10:29:30 +01:00
font: inherit;
}
p {
2024-11-14 16:22:34 +01:00
overflow-wrap: break-word;
2024-11-03 10:29:30 +01:00
text-wrap: pretty;
2024-11-04 11:52:45 +01:00
margin-top: 1.5rem;
margin-bottom: 1rem;
2025-05-13 00:13:57 +02:00
font-size: 1.25rem;
line-height: 1.75rem;
2025-05-13 12:31:24 +02:00
max-width: 65ch;
2025-05-13 12:11:17 +02:00
text-align: justify;
}
p a {
padding: 0.25rem;
2024-11-03 10:29:30 +01:00
}
2024-11-10 18:43:38 +01:00
#root,
#__next {
2024-11-03 10:29:30 +01:00
isolation: isolate;
}
2024-11-04 11:52:45 +01:00
ul {
padding-left: 4ch;
padding-right: 4ch;
}
2024-11-04 11:52:45 +01:00
li {
2025-05-13 12:31:24 +02:00
margin-bottom: 0.25rem;
2024-11-04 11:52:45 +01:00
}
#tags_page li {
display: inline;
}
li a {
display: inline-block;
2025-03-09 17:00:59 +01:00
margin-right: 1rem;
}
#title-block-header {
2024-11-10 00:16:15 +01:00
display: none;
}
2024-11-16 01:05:09 +01:00
.navbar-brand {
2024-11-19 23:50:42 +01:00
visibility: hidden;
2024-11-16 01:05:09 +01:00
text-align: left;
}
.navbar-start > .navbar-item {
float: left;
}
2024-11-10 18:03:31 +01:00
.navbar-menu img {
width: 2rem;
height: 2rem;
margin-right: 1rem;
}
2024-11-19 23:50:42 +01:00
.navbar-menu a {
margin: 0 1rem;
text-decoration: underline;
}
#recherche {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
float: right;
}
#recherche input {
background: transparent;
padding: 0.5rem;
border: solid 1px #555;
border-radius: 0.5rem;
}
2024-11-10 18:03:31 +01:00
2024-11-10 18:43:38 +01:00
#masthead {
text-align: center;
}
#masthead .site-icon {
width: 9rem;
height: auto;
margin: 1rem auto;
position: static;
padding: 1rem;
}
.header-image {
2025-02-20 17:14:53 +01:00
text-align: center;
2024-11-10 18:43:38 +01:00
padding: 1rem;
2024-11-19 23:50:42 +01:00
background-position: center;
background-size: cover;
2024-11-10 18:43:38 +01:00
}
.blog-title,
2025-05-13 12:31:24 +02:00
p.blog-subtitle {
2024-11-19 23:50:42 +01:00
color: #fff;
text-shadow: 0 0 1rem #555;
2025-05-13 12:31:24 +02:00
width: 100%;
margin: 1rem auto;
2024-11-10 18:43:38 +01:00
}
2024-11-14 16:22:34 +01:00
#page {
2024-11-19 23:50:42 +01:00
background: #f4f4f4;
2024-11-14 16:22:34 +01:00
}
.body-wrap {
2024-11-19 23:50:42 +01:00
background: #fff;
2024-11-14 16:22:34 +01:00
padding: 5% 6%;
margin-bottom: 5%;
margin-top: 1rem;
2024-11-19 23:50:42 +01:00
border-radius: 1rem;
margin-top: 7rem;
2024-11-14 16:22:34 +01:00
}
2025-03-09 17:00:59 +01:00
.body-wrap .site-header {
display: none;
2024-11-10 18:03:31 +01:00
}
2024-11-10 18:43:38 +01:00
.site-footer {
min-height: 20vh;
padding: 2rem;
2025-05-13 12:31:24 +02:00
background: #282828;
2024-11-15 16:24:31 +01:00
color: #dedede;
2024-11-10 18:43:38 +01:00
}
2025-03-09 17:00:59 +01:00
article {
width: 75ch;
max-width: calc(100vw - 6rem);
}
.after-article {
border-top: 1px solid #dedede;
padding: 1rem;
2024-11-17 01:13:07 +01:00
}
2025-05-13 12:31:24 +02:00
.article-date {
border-top: 1px solid #ddd;
}
2025-02-20 17:14:53 +01:00
.article-navigation {
margin-top: 2rem;
margin-bottom: 2rem;
}
.article-navigation a {
padding-right: 2rem;
2025-05-13 12:31:24 +02:00
min-width: 45%;
min-height: 2rem;
2025-02-20 17:14:53 +01:00
}
.article-tags {
margin-top: 1rem;
margin-bottom: 1rem;
}
.article-tags a {
margin-right: 1ch;
padding: 0.5rem;
}
.article-tags ul,
.tags ul {
list-style-type: none;
}
.article-tags li,
.tags li {
2024-11-19 23:50:42 +01:00
margin-right: 2ch;
2025-02-20 17:14:53 +01:00
display: inline-block;
2024-11-19 23:50:42 +01:00
}
2025-02-20 17:14:53 +01:00
.article-tags li a,
.tags li a {
2024-11-19 23:50:42 +01:00
margin-right: 1ch;
2025-02-20 17:14:53 +01:00
padding: 0.5rem;
2024-11-19 23:50:42 +01:00
}
blockquote,
q {
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
quotes: none;
border-left: 3px solid grey;
padding-left: 2rem;
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
2025-02-20 14:53:59 +01:00
.article-main-content {
min-height: 80vh;
}
2025-02-20 17:14:53 +01:00
.more-content .column {
width: 20%;
}
.more-content .column:nth-of-type(2) {
width: 80%;
}
.more-content img {
max-width: 3rem;
height: 3rem;
margin-right: 1rem;
}
2025-05-13 00:13:57 +02:00
.site-foot-soutien {
font-size: 0.8rem;
2025-05-13 12:31:24 +02:00
width: 110ch;
2025-05-13 00:13:57 +02:00
max-width: calc(100vw - 6rem);
2025-05-13 12:31:24 +02:00
margin: 0 auto;
line-height: 1rem;
}
.footer-nav {
2025-05-13 12:50:28 +02:00
max-width: 63ch;
2025-05-13 12:31:24 +02:00
margin-top: 2rem;
2025-05-13 00:13:57 +02:00
}
2025-05-13 12:50:28 +02:00
iframe {
max-width: 100%;
}
@media (max-width: 800px) {
2024-11-04 11:52:45 +01:00
body {
2024-11-10 18:43:38 +01:00
padding: 0;
}
2025-05-13 12:50:28 +02:00
.header-img a {
float: left;
}
.site-icon {
width: 2rem;
height: 2rem;
}
2024-11-10 18:43:38 +01:00
main {
2024-11-04 11:52:45 +01:00
padding: 1rem;
}
2025-05-13 12:50:28 +02:00
#recherche {
display: none;
}
#recherche_footer {
padding-left: 1.25rem;
font-size: 1rem;
}
.navbar-brand {
display: none;
}
.navbar-menu .logo {
display: none;
}
.navbar a {
font-size: 1rem;
padding: 0.5rem;
float: left;
}
.body-wrap {
margin-top: 0;
}
2024-11-10 00:01:15 +01:00
}
/*# sourceMappingURL=style_general.css.map */