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

215 lines
2.7 KiB
CSS
Raw 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
}
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;
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;
margin-top: 1em;
margin-bottom: 2rem;
color: #333;
2024-11-03 10:29:30 +01:00
}
/* 1. Use a more-intuitive box-sizing model */
2024-11-10 00:01:15 +01:00
* {
box-sizing: border-box;
}
*::before, *::after {
2024-11-03 10:29:30 +01:00
box-sizing: border-box;
}
body {
-webkit-font-smoothing: antialiased;
font-family: Helvetica, Arial, sans-serif;
padding-bottom: 20vh;
padding-bottom: 2rem;
2024-11-03 10:29:30 +01:00
}
2024-11-04 11:52:45 +01:00
/* Improve media defaults */
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;
2024-11-03 10:29:30 +01:00
max-width: 100%;
2024-11-14 16:22:34 +01:00
width: 100%;
2024-11-03 10:29:30 +01:00
}
2024-11-11 01:25:10 +01:00
pre, .sourceCode {
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;
}
main a:hover {
background: #303030;
color: #dedede;
}
.nav a, .page__index a {
padding: 0.55rem 2rem;
display: block;
margin-right: 1rem;
margin-bottom: 1rem;
}
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;
2024-11-03 10:29:30 +01:00
}
2024-11-04 11:52:45 +01:00
h1 {
2024-11-10 00:01:15 +01:00
color: #221d30;
2024-11-15 23:55:20 +01:00
font-size: 2.5rem;
text-decoration: underline;
2024-11-04 11:52:45 +01:00
}
h2 {
2024-11-15 23:55:20 +01:00
font-size: 2rem;
text-decoration: underline;
2024-11-04 11:52:45 +01:00
}
h3 {
font-size: 1.5rem;
2024-11-15 23:55:20 +01:00
text-decoration: underline;
2024-11-04 11:52:45 +01:00
}
2024-11-10 18:43:38 +01:00
h1,
h2,
h3,
h4,
h5,
h6 {
2024-11-14 16:22:34 +01:00
overflow-wrap: break-word;
2024-11-03 10:29:30 +01:00
text-wrap: balance;
2024-11-04 11:52:45 +01:00
line-height: 1.3em;
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-10 18:43:38 +01:00
input,
button,
textarea,
select {
2024-11-03 10:29:30 +01:00
font: inherit;
}
2024-11-04 11:52:45 +01:00
ul {
padding-left: 4ch;
padding-right: 4ch;
}
2024-11-04 11:52:45 +01:00
li {
margin-bottom: 1em;
}
#title-block-header {
2024-11-10 00:16:15 +01:00
display: none;
}
2024-11-10 18:03:31 +01:00
.navbar-menu img {
width: 2rem;
height: 2rem;
margin-right: 1rem;
}
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 {
padding: 1rem;
}
.blog-title,
.blog-subtitle {
margin: 1rem;
}
2024-11-14 16:22:34 +01:00
#page {
background: #CCC;
}
.body-wrap {
background: #FFF;
padding: 5% 6%;
margin-bottom: 5%;
margin-top: 1rem;
}
2024-11-10 18:03:31 +01:00
.content {
min-height: 50rem;
}
2024-11-10 18:43:38 +01:00
.site-footer {
min-height: 20vh;
padding: 2rem;
2024-11-15 16:24:31 +01:00
background: #aaa;
color: #dedede;
2024-11-10 18:43:38 +01:00
}
@media (max-width: 75ch) {
2024-11-04 11:52:45 +01:00
body {
2024-11-10 18:43:38 +01:00
padding: 0;
}
main {
2024-11-04 11:52:45 +01:00
padding: 1rem;
}
2024-11-10 00:01:15 +01:00
}
/*# sourceMappingURL=style_general.css.map */