html {
overflow: auto;
scroll-behavior: smooth;
}
body.site {
display: flex;
min-height: 100vh;
flex-direction: column;
}
main.site-content {
flex: 1;
}
.card.has-equal-height {
height: 100%;
display: flex;
flex-direction: column;
}
.navbar {
padding-right: 0.8em;
}
[data-theme="dark"] .navbar.is-primary {
background-color: #3B4774;
}
/* No good way other than this for now, because the item hover background setting
* applies only for a navbar without is-primary.
*/
@media screen and (min-width: 1024px) {
[data-theme="dark"] .navbar.is-primary .navbar-end > a.navbar-item:hover,
[data-theme="dark"] .navbar.is-primary .navbar-item.has-dropdown:hover .navbar-link {
background-color: #455382;
}
}
.navbar-item .navbar-link {
padding-left: 1.5em;
padding-right: 2.5em;
}
.navbar-link:not(.is-arrowless)::after {
right: 1.125em;
margin-top: -0.455em;
}
.navbar-item.has-no-highlight:hover {
background-color: transparent;
}
#navbar-banner {
background-color: transparent;
}
#navbar-banner img {
max-height: 3rem;
}
#discord-btn a {
color: transparent;
background-image: url(../../images/navbar/discord.svg);
background-size: 200%;
background-position: 100% 50%;
background-repeat: no-repeat;
padding-left: 2.5rem;
padding-right: 2.5rem;
background-color: #697ec4ff;
transition: all 0.2s cubic-bezier(.25,.8,.25,1);
overflow: hidden;
}
[data-theme="dark"] #discord-btn a {
background-color: #58689cff;
}
#discord-btn:hover a {
box-shadow: 0 1px 4px rgba(0,0,0,0.16), 0 1px 6px rgba(0,0,0,0.23);
/*transform: scale(1.03) translate3d(0,0,0);*/
background-size: 200%;
background-position: 1% 50%;
}
#discord-btn:hover {
background-color: transparent;
}
#linode-logo {
padding-left: 15px;
background: url(https://www.linode.com/wp-content/uploads/2021/01/Linode-Logo-Black.svg) no-repeat center;
filter: invert(1) grayscale(1);
background-size: 60px;
color: #00000000;
}
#netcup-logo {
padding-left: 15px;
background: url(/static/images/sponsors/netcup-white.svg) no-repeat center;
background-size: 60px;
background-position: 0px 3px;
color: #00000000;
}
#django-logo {
padding-bottom: 2px;
background: url(https://static.djangoproject.com/img/logos/django-logo-negative.svg) no-repeat center;
filter: grayscale(1) invert(0.09);
background-size: 52px 25.5px;
background-position: -2px -1px;
color: #00000000;
}
#bulma-logo {
padding-left: 18px;
height: 20px;
background: url(https://bulma.io/images/bulma-logo-white.png) no-repeat center;
background-size: 60px;
background-position: 0px 3px;
color: #00000000;
}
#pydis-text {
font-weight: bold;
}
/* Navbar "more" menu should be on top of messages. I could not figure
* out a better way to fix this one without just applying a high z-index
* to everything - anyone have any better ideas? Does it matter since the
* navbar should be above everything anyway?
*/
.navbar, .navbar * {
z-index: 1001;
}
/* Fix for logout form submit button in navbar */
button.is-size-navbar-menu, a.is-size-navbar-menu {
font-size: 14px;
padding-left: 1.5rem;
padding-right: 1.5rem;
}
@media screen and (min-width: 1088px) {
button.is-size-navbar-menu, a.is-size-navbar-menu {
padding-left: 1rem;
padding-right: 1rem;
}
}
/* 16:9 aspect ratio fixing */
.force-aspect-container {
position: relative;
padding-bottom: 56.25%;
}
.force-aspect-content {
top: 0;
left: 0;
width: 100%;
height: 100%;
position: absolute;
}
/* 16:9 aspect ratio fixing */
.force-aspect-container {
position: relative;
padding-bottom: 56.25%;
}
.force-aspect-content {
top: 0;
left: 0;
width: 100%;
height: 100%;
position: absolute;
}
/* Tone down animations to avoid motion triggers */
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
}
[data-theme="dark"] .button.is-primary, .button.is-link {
background-color: #5365A4;
}
[data-theme="dark"] .button.is-primary:hover, .button.is-primary.is-hovered,
[data-theme="dark"] .button.is-link:hover, .button.is-link.is-hovered {
background-color: #6276BC;
}
[data-theme="dark"] .light-image {
display: none;
}
[data-theme="light"] .dark-image {
display: none;
}