blog/themes/chosto/static/css/custom.css

55 lines
1.1 KiB
CSS

@font-face {
font-family: 'Nunito';
src:
url('../font/Nunito-Regular.woff2') format('woff2'),
url('../font/Nunito-Regular.woff') format('woff'),
url('../font/Nunito-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
/* Make the parent background blur under this element */
.blur {
backdrop-filter: blur(3px);
}
/* Useful to force cards to have the same height */
.has-equal-height {
height: 100%;
display: flex;
flex-direction: column;
}
/* Justify all content but not titles */
p:not(.title, .subtitle) {
text-align: justify;
}
/* New font is "smaller" in feeling */
.navbar-dropdown {
font-size: 1rem;
}
figcaption h4 {
margin-top: 10px;
font-size: 1rem !important;
font-weight: 400 !important;
}
figure img {
filter: drop-shadow(4px 4px 5px grey)
}
.menu-label {
text-justify: none;
}
/* Workaround for horizontal scrollbar,
probably because I'm messing with containers,
sections and columns, but I do not understand
CSS enough to fix it properly.
See https://github.com/jgthms/bulma/issues/449 */
body {
overflow-x: hidden;
}