philomena/assets/css/elements/base.css

58 lines
835 B
CSS
Raw Normal View History

2023-11-23 17:07:49 +01:00
html {
font-family: var(--font-family);
font-size: var(--font-size);
}
body {
padding: 0;
margin: 0;
background: var(--background-color);
color: var(--text-color);
2024-04-17 16:52:50 +02:00
line-height: var(--default-line-height);
2023-11-23 17:07:49 +01:00
}
main {
2024-04-17 16:52:50 +02:00
padding: var(--padding-large);
2023-11-23 22:20:02 +01:00
flex-grow: 1;
2023-11-23 17:07:49 +01:00
}
@mixin if-mobile {
2023-11-23 17:07:49 +01:00
main {
padding: var(--padding-small);
}
}
a, a:active, a:visited {
color: var(--link-color);
text-decoration: none;
}
a:hover {
color: var(--link-hover-color);
}
2024-05-01 00:10:05 +02:00
hr {
border-color: var(--primary-border-color);
}
2023-11-23 17:07:49 +01:00
.hidden {
display: none !important;
}
2024-04-17 16:52:50 +02:00
p, .paragraph {
hyphens: none;
line-height: var(--readable-line-height);
margin: var(--padding-small);
margin-right: 0;
}
2024-05-20 21:25:43 +02:00
.fa--padded {
padding: 0 var(--padding-normal);
}
@mixin if-mobile {
.fa-padded {
padding: 0 var(--padding-small);
}
}