BrainMinder/assets/static/css/guest.css

160 lines
2.8 KiB
CSS
Raw Normal View History

2025-04-16 18:04:28 +02:00
/* Global variables. */
:root,
::backdrop {
/* Set sans-serif & mono fonts */
--sans-font: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir,
"Nimbus Sans L", Roboto, "Noto Sans", "Segoe UI", Arial, Helvetica,
"Helvetica Neue", sans-serif;
--mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
--standard-border-radius: 5px;
/* Default (light) theme */
--bg: #fff;
--primary-color: #2b5797;
}
/* Reset */
/* Box sizing rules */
*,
*::before,
*::after {
box-sizing: border-box;
}
/* Prevent font size inflation */
html {
-moz-text-size-adjust: none;
-webkit-text-size-adjust: none;
text-size-adjust: none;
}
/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
margin-block-end: 0;
}
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
list-style: none;
}
/* Set core body defaults */
body {
margin: 0;
min-height: 100vh;
line-height: 1.5;
}
/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
input, label {
line-height: 1.1;
}
/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
text-wrap: balance;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
text-decoration-skip-ink: auto;
color: currentColor;
}
/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
font-family: inherit;
font-size: inherit;
}
/* Anything that has been anchored to should have extra scroll margin */
:target {
scroll-margin-block: 5ex;
}
h1,h2,h3,h4,h5,h6, form {
margin: 0;
padding: 0;
}
a {
text-decoration: none;
color: var(--primary-color);
}
/* End reset */
html {
font-family: var(--sans-font), sans-serif;
scroll-behavior: smooth;
overflow-x: hidden;
box-sizing: border-box;
}
.logo {
width: 32px;
float: left;
padding-right: 10px;
}
#page-top-bar {
display: flex;
align-items: center;
z-index: 1;
height: 50px;
background-color: var(--primary-color);
position: fixed;
width: 100%;
}
#app-title {
height: 50px;
background-color: var(--primary-color);
color: #ffffff;
font-size: 22px;
font-weight: bold;
padding-left: 8px;
display: flex;
align-items: center;
}
#app-title h5 {
color: #ffffff;
font-size: 22px;
font-weight: bold;
}
#page-title {
color: #ffffff;
font-size: 20px;
}
#page-content {
padding-top: 60px;
padding-left: 4px;
padding-right: 4px;
}
.item-detail dt {
font-weight: bold;
}
.show-large {
display: none;
}
/* Large */
@media (min-width:992px) {
.show-large {
display: inline !important;
}
#app-title {
width: 200px;
}
}