moviewyrm/bookwyrm/static/css/bookwyrm.css

1306 lines
25 KiB
CSS
Raw Normal View History

html {
scroll-behavior: smooth;
}
2021-04-15 19:51:14 +00:00
body {
min-height: 100vh;
display: flex;
flex-direction: column;
}
2021-12-17 16:29:46 +00:00
button {
border: none;
margin: 0;
padding: 0;
width: auto;
overflow: visible;
background: transparent;
2021-12-17 16:34:22 +00:00
/* inherit font, color & alignment from ancestor */
2021-12-17 16:29:46 +00:00
color: inherit;
font: inherit;
2021-12-17 16:34:22 +00:00
text-align: inherit;
2021-12-17 16:29:46 +00:00
/* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
line-height: normal;
/* Corrects font smoothing for webkit */
-webkit-font-smoothing: inherit;
-moz-osx-font-smoothing: inherit;
/* Corrects inability to style clickable `input` types in iOS */
-webkit-appearance: none;
/* Generalizes pointer cursor */
cursor: pointer;
2021-12-17 16:29:46 +00:00
}
button::-moz-focus-inner {
/* Remove excess padding and border in Firefox 4+ */
border: 0;
padding: 0;
}
/* Better accessibility for keyboard users */
*:focus-visible {
outline-style: auto !important;
}
2020-11-24 20:07:00 +00:00
.image {
overflow: hidden;
}
2020-10-01 20:53:52 +00:00
.navbar .logo {
max-height: 50px;
}
.card {
overflow: visible;
}
2021-12-04 15:18:11 +00:00
.card.has-border {
border: 1px solid #eee;
}
2021-03-26 17:32:42 +00:00
.scroll-x {
overflow: hidden;
overflow-x: auto;
}
.modal-card {
pointer-events: none;
}
.modal-card > * {
pointer-events: all;
}
2021-11-28 17:26:01 +00:00
/* stylelint-disable no-descending-specificity */
.modal-card:focus {
outline-style: auto;
}
2021-11-28 17:26:01 +00:00
.modal-card:focus:not(:focus-visible) {
outline-style: initial;
}
2021-11-28 17:26:01 +00:00
.modal-card:focus-visible {
outline-style: auto;
}
2021-11-28 17:28:49 +00:00
/* stylelint-enable no-descending-specificity */
2021-03-31 20:56:26 +00:00
.modal-card.is-fullwidth {
min-width: 75% !important;
}
2021-08-19 22:33:23 +00:00
@media only screen and (min-width: 769px) {
.modal-card.is-thin {
width: 350px !important;
}
}
.modal-card-body {
max-height: 70vh;
}
2021-03-31 20:56:26 +00:00
.clip-text {
max-height: 35em;
overflow: hidden;
}
2021-04-22 18:57:24 +00:00
/** Utilities not covered by Bulma
2021-04-21 20:32:14 +00:00
******************************************************************************/
@media only screen and (max-width: 768px) {
2021-04-21 20:36:07 +00:00
.is-sr-only-mobile {
2021-04-21 20:32:14 +00:00
border: none !important;
2021-04-21 20:36:07 +00:00
clip: rect(0, 0, 0, 0) !important;
height: 0.01em !important;
2021-04-21 20:32:14 +00:00
overflow: hidden !important;
padding: 0 !important;
position: absolute !important;
white-space: nowrap !important;
2021-04-21 20:36:07 +00:00
width: 0.01em !important;
2021-04-21 20:32:14 +00:00
}
.m-0-mobile {
margin: 0 !important;
}
2021-05-02 19:34:43 +00:00
.card-footer.is-stacked-mobile {
flex-direction: column;
}
2021-05-23 10:10:57 +00:00
2021-05-02 19:34:43 +00:00
.card-footer.is-stacked-mobile .card-footer-item:not(:last-child) {
border-bottom: 1px solid #ededed;
border-right: 0;
}
.is-flex-direction-row-mobile {
flex-direction: row !important;
}
.is-flex-direction-column-mobile {
flex-direction: column !important;
}
}
.tag.is-small {
height: auto;
2021-04-21 20:32:14 +00:00
}
.button.is-transparent {
background-color: transparent;
}
.card.is-stretchable {
display: flex;
flex-direction: column;
height: 100%;
}
.card.is-stretchable .card-content {
flex-grow: 1;
}
2021-07-31 17:15:49 +00:00
.preserve-whitespace p {
white-space: pre-wrap !important;
}
2021-08-01 00:30:21 +00:00
.display-inline p {
display: inline !important;
}
2021-12-29 17:55:02 +00:00
button .button-invisible-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 1rem;
box-sizing: border-box;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
2022-01-07 22:08:36 +00:00
background: rgba(0, 0, 0, 66%);
2021-12-29 17:55:02 +00:00
color: white;
opacity: 0;
transition: opacity 0.2s ease;
}
button:hover .button-invisible-overlay,
button:active .button-invisible-overlay,
2021-12-30 09:43:23 +00:00
button:focus-visible .button-invisible-overlay {
2021-12-29 17:55:02 +00:00
opacity: 1;
}
/** File input styles
******************************************************************************/
2022-01-07 22:08:36 +00:00
input[type="file"]::file-selector-button {
2021-09-12 17:36:06 +00:00
-moz-appearance: none;
-webkit-appearance: none;
background-color: #fff;
border-radius: 4px;
border: 1px solid #dbdbdb;
box-shadow: none;
color: #363636;
cursor: pointer;
font-size: 1rem;
height: 2.5em;
justify-content: center;
line-height: 1.5;
2021-09-12 17:41:16 +00:00
padding-bottom: calc(0.5em - 1px);
2021-09-12 17:36:06 +00:00
padding-left: 1em;
padding-right: 1em;
2021-09-12 17:41:16 +00:00
padding-top: calc(0.5em - 1px);
2021-09-12 17:36:06 +00:00
text-align: center;
white-space: nowrap;
}
2021-09-12 17:41:16 +00:00
2022-01-07 22:08:36 +00:00
input[type="file"]::file-selector-button:hover {
2021-09-12 17:36:06 +00:00
border-color: #b5b5b5;
color: #363636;
}
/** General `details` element styles
******************************************************************************/
2021-12-04 19:30:49 +00:00
details summary {
2021-12-27 21:29:47 +00:00
cursor: pointer;
}
summary::-webkit-details-marker {
display: none;
}
details summary::marker {
content: none;
}
2021-12-04 19:18:41 +00:00
2021-12-29 20:45:36 +00:00
details.detail-pinned-button summary {
position: absolute;
right: 0;
}
2021-12-04 19:18:41 +00:00
2021-12-29 20:45:36 +00:00
details.detail-pinned-button form {
float: left;
2021-12-29 20:45:36 +00:00
width: 100%;
margin-top: 1em;
}
/** Dropdown w/ Details element
******************************************************************************/
details.dropdown[open] summary.dropdown-trigger::before {
content: "";
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
details.dropdown .dropdown-menu {
display: block !important;
}
details.dropdown .dropdown-menu button {
/* Fix weird Safari defaults */
box-sizing: border-box;
}
details.dropdown .dropdown-menu button:focus-visible,
details.dropdown .dropdown-menu a:focus-visible {
outline-style: auto;
outline-offset: -2px;
}
@media only screen and (max-width: 768px) {
details.dropdown[open] summary.dropdown-trigger::before {
2022-01-07 22:08:36 +00:00
background-color: rgba(0, 0, 0, 50%);
z-index: 30;
}
2021-12-17 19:50:04 +00:00
details .dropdown-menu {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex !important;
align-items: center;
justify-content: center;
pointer-events: none;
z-index: 100;
}
2021-12-17 19:51:41 +00:00
details .dropdown-menu > * {
pointer-events: all;
}
}
/** Details panel
******************************************************************************/
details.details-panel {
2022-01-07 22:08:36 +00:00
box-shadow: 0 0 0 1px rgba(0, 0, 0, 10%);
2021-12-29 19:03:07 +00:00
transition: box-shadow 0.2s ease;
padding: 0.75rem;
}
details[open].details-panel,
details.details-panel:hover {
2022-01-07 22:08:36 +00:00
box-shadow: 0 0 0 1px rgba(0, 0, 0, 20%);
}
details.details-panel summary {
position: relative;
}
details summary .details-close {
position: absolute;
right: 0;
top: 0;
transform: rotate(45deg);
transition: transform 0.2s ease;
}
details[open] summary .details-close {
transform: rotate(0deg);
}
@media only screen and (min-width: 769px) {
.details-panel .filters-field:not(:last-child) {
2022-01-07 22:08:36 +00:00
border-right: 1px solid rgba(0, 0, 0, 10%);
margin-top: 0.75rem;
margin-bottom: 0.75rem;
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
}
/** Shelving
******************************************************************************/
/** @todo Replace icons with SVG symbols.
@see https://www.youtube.com/watch?v=9xXBYcWgCHA */
2021-01-30 19:43:40 +00:00
.shelf-option:disabled > *::after {
2022-01-07 22:08:36 +00:00
font-family: icomoon; /* stylelint-disable font-family-no-missing-generic-family-keyword */
2021-09-08 15:56:13 +00:00
content: "\e919"; /* icon-check */
2021-01-30 19:43:40 +00:00
margin-left: 0.5em;
}
/** Toggles
******************************************************************************/
2022-01-07 22:08:36 +00:00
.toggle-button[aria-pressed="true"],
.toggle-button[aria-pressed="true"]:hover {
background-color: hsl(171deg, 100%, 41%);
2021-01-17 03:57:20 +00:00
color: white;
}
2022-01-07 22:08:36 +00:00
.hide-active[aria-pressed="true"],
.hide-inactive[aria-pressed="false"] {
display: none;
}
2021-01-17 03:57:20 +00:00
.transition-x.is-hidden,
.transition-y.is-hidden {
display: block !important;
visibility: hidden !important;
2021-05-20 18:46:24 +00:00
height: 0 !important;
width: 0 !important;
margin: 0 !important;
padding: 0 !important;
overflow: auto;
}
.transition-x,
.transition-y {
transition-duration: 0.5s;
transition-timing-function: ease;
}
.transition-x {
transition-property: width, margin-left, margin-right, padding-left, padding-right;
}
.transition-y {
transition-property: height, margin-top, margin-bottom, padding-top, padding-bottom;
}
@media (prefers-reduced-motion: reduce) {
.transition-x,
.transition-y {
transition-duration: 0.001ms !important;
}
}
2020-09-28 21:47:53 +00:00
/** Stars
******************************************************************************/
.stars {
white-space: nowrap;
}
/** Stars in a review form
*
* Specificity makes hovering taking over checked inputs.
*
* \e9d9: filled star
* \e9d7: empty star;
* -------------------------------------------------------------------------- */
.form-rate-stars {
width: max-content;
2020-09-29 18:00:54 +00:00
}
/* All stars are visually filled by default. */
.form-rate-stars .icon::before {
2022-01-07 22:08:36 +00:00
content: "\e9d9"; /* icon-star-full */
2020-09-29 18:00:54 +00:00
}
2021-09-10 21:19:57 +00:00
/* Icons directly following half star inputs are marked as half */
.form-rate-stars input.half:checked ~ .icon::before {
2022-01-07 22:08:36 +00:00
content: "\e9d8"; /* icon-star-half */
2021-09-10 21:19:57 +00:00
}
2021-09-10 21:56:45 +00:00
/* stylelint-disable no-descending-specificity */
.form-rate-stars input.half:checked + input + .icon:hover::before {
2022-01-07 22:08:36 +00:00
content: "\e9d8" !important; /* icon-star-half */
2021-09-10 21:56:45 +00:00
}
2021-09-10 21:19:57 +00:00
/* Icons directly following half check inputs that follow the checked input are emptied. */
.form-rate-stars input.half:checked + input + .icon ~ .icon::before {
2022-01-07 22:08:36 +00:00
content: "\e9d7"; /* icon-star-empty */
2021-09-10 21:19:57 +00:00
}
/* Icons directly following inputs that follow the checked input are emptied. */
.form-rate-stars input:checked ~ input + .icon::before {
2022-01-07 22:08:36 +00:00
content: "\e9d7"; /* icon-star-empty */
2021-09-10 21:19:57 +00:00
}
2021-09-10 21:56:45 +00:00
/* When a label is hovered, repeat the fill-all-then-empty-following pattern. */
.form-rate-stars:hover .icon.icon::before {
2022-01-07 22:08:36 +00:00
content: "\e9d9" !important; /* icon-star-full */
2021-03-04 18:27:03 +00:00
}
.form-rate-stars .icon:hover ~ .icon::before {
2022-01-07 22:08:36 +00:00
content: "\e9d7" !important; /* icon-star-empty */
2020-09-29 18:00:54 +00:00
}
/** Book covers
*
* - .is-cover gives the behaviour of the cover and its surrounding. (optional)
* - .cover-container gives the dimensions and position (for borders, image and other elements).
* - .book-cover is positioned and sized based on its container.
*
* To have the cover within specific dimensions, specify a width or height for
* standard bulmas named breapoints:
*
* `is-(w|h)-(auto|xs|s|m|l|xl|xxl)[-(mobile|tablet|desktop)]`
*
* The cover will be centered horizontally and vertically within those dimensions.
*
* When using `.column.is-N`, add `.is-w-auto` to the container so that the flex
* calculations are not biased by the default `max-content`.
******************************************************************************/
.column.is-cover {
flex-grow: 0 !important;
2020-09-29 20:11:52 +00:00
}
.column.is-cover,
.column.is-cover + .column {
flex-basis: auto !important;
2021-01-03 19:10:04 +00:00
}
2020-09-29 20:11:52 +00:00
.cover-container {
display: flex;
justify-content: center;
align-items: center;
position: relative;
width: max-content;
max-width: 100%;
overflow: hidden;
2020-11-05 16:21:00 +00:00
}
/* Book cover
2021-04-25 13:45:49 +00:00
* -------------------------------------------------------------------------- */
2020-11-05 16:21:00 +00:00
2020-09-29 04:08:42 +00:00
.book-cover {
display: block;
max-width: 100%;
max-height: 100%;
/* Useful when stretching under-sized images. */
image-rendering: optimizeQuality;
image-rendering: smooth;
2020-09-29 04:08:42 +00:00
}
/* Cover caption
2021-04-25 13:45:49 +00:00
* -------------------------------------------------------------------------- */
2021-05-24 14:16:33 +00:00
.no-cover .cover-caption {
2020-09-29 04:08:42 +00:00
position: absolute;
top: 0;
right: 0;
bottom: 0;
2020-09-29 04:08:42 +00:00
left: 0;
2021-05-24 14:16:33 +00:00
padding: 0.5em;
font-size: 0.75em;
color: white;
background-color: #002549;
2021-05-24 14:16:33 +00:00
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 1em;
2021-05-24 14:16:33 +00:00
white-space: initial;
text-align: center;
}
2020-09-29 04:08:42 +00:00
/** Avatars
******************************************************************************/
2020-09-29 04:08:42 +00:00
.avatar {
vertical-align: middle;
display: inline;
}
2021-04-07 16:07:32 +00:00
/** Statuses: Quotes
*
* \e906: icon-quote-open
* \e905: icon-quote-close
*
* The `content` class on the blockquote allows to apply styles to markdown
* generated HTML in the quote: https://bulma.io/documentation/elements/content/
*
* ```html
* <div class="quote block">
* <blockquote dir="auto" class="content mb-2">
* User generated quote in markdown
* </blockquote>
*
* <p> <a>Book Title</a> by <aclass="author">Author</a></p>
* </div>
* ```
******************************************************************************/
2021-04-07 16:07:32 +00:00
.quote > blockquote {
2020-09-29 21:45:04 +00:00
position: relative;
padding-left: 2em;
}
2021-04-07 16:07:32 +00:00
.quote > blockquote::before,
.quote > blockquote::after {
2022-01-07 22:08:36 +00:00
font-family: icomoon;
2020-09-29 21:45:04 +00:00
position: absolute;
}
2021-04-07 16:07:32 +00:00
.quote > blockquote::before {
2021-09-08 15:56:13 +00:00
content: "\e907"; /* icon-quote-open */
2020-09-29 21:45:04 +00:00
top: 0;
left: 0;
}
2021-04-07 16:07:32 +00:00
.quote > blockquote::after {
2021-09-08 15:56:13 +00:00
content: "\e906"; /* icon-quote-close */
2020-09-29 21:45:04 +00:00
right: 0;
}
/** Animations and transitions
******************************************************************************/
@keyframes turning {
from { transform: rotateZ(0deg); }
to { transform: rotateZ(360deg); }
}
.is-processing .icon-spinner::before {
animation: turning 1.5s infinite linear;
}
.icon-spinner {
display: none;
}
.is-processing .icon-spinner {
display: flex;
}
@media (prefers-reduced-motion: reduce) {
.is-processing .icon::before {
transition-duration: 0.001ms !important;
}
}
/** Transient notification
******************************************************************************/
#live-messages {
position: fixed;
bottom: 1em;
right: 1em;
}
2021-09-17 19:59:16 +00:00
/** Tooltips
******************************************************************************/
.tooltip {
width: 100%;
}
/** States
******************************************************************************/
/* "disabled" for non-buttons */
.is-disabled {
background-color: #dbdbdb;
border-color: #dbdbdb;
box-shadow: none;
color: #7a7a7a;
opacity: 0.5;
cursor: not-allowed;
}
/* Book preview table
******************************************************************************/
2021-04-21 19:26:20 +00:00
.book-preview td {
vertical-align: middle;
}
@media only screen and (max-width: 768px) {
2021-04-21 19:29:28 +00:00
table.is-mobile,
table.is-mobile tbody {
display: block;
}
2021-04-21 19:29:28 +00:00
table.is-mobile tr {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
border-top: 1px solid #dbdbdb;
}
2021-04-21 19:29:28 +00:00
table.is-mobile td {
display: block;
box-sizing: border-box;
flex: 1 0 100%;
order: 2;
border-bottom: 0;
}
2021-04-21 19:29:28 +00:00
table.is-mobile td.book-preview-top-row {
order: 1;
flex-basis: auto;
}
2021-04-21 19:29:28 +00:00
table.is-mobile td[data-title]:not(:empty)::before {
content: attr(data-title);
display: block;
2021-04-21 19:29:28 +00:00
font-size: 0.75em;
font-weight: bold;
}
2021-04-21 19:29:28 +00:00
table.is-mobile td:empty {
padding: 0;
}
2021-04-21 19:29:28 +00:00
table.is-mobile th,
table.is-mobile thead {
display: none;
}
}
2021-04-29 19:41:43 +00:00
/* Book list
******************************************************************************/
ol.ordered-list {
list-style: none;
2021-05-02 19:34:43 +00:00
counter-reset: list-counter;
2021-04-29 19:41:43 +00:00
}
ol.ordered-list li {
2021-05-02 19:34:43 +00:00
counter-increment: list-counter;
2021-04-29 19:41:43 +00:00
}
ol.ordered-list li::before {
2021-05-02 19:34:43 +00:00
content: counter(list-counter);
2021-04-29 19:45:48 +00:00
position: absolute;
left: -20px;
width: 20px;
height: 24px;
2021-05-02 19:34:43 +00:00
background-color: #fff;
2021-04-29 19:45:48 +00:00
border: 1px solid #dbdbdb;
border-right: 0;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
display: flex;
justify-content: center;
align-items: center;
color: #888;
font-size: 0.8em;
font-weight: bold;
2021-04-29 19:41:43 +00:00
}
2021-05-02 19:34:43 +00:00
@media only screen and (max-width: 768px) {
ol.ordered-list li::before {
left: 0;
z-index: 1;
border: 0;
border-right: 1px solid #dbdbdb;
border-bottom: 1px solid #dbdbdb;
border-radius: 0;
border-bottom-right-radius: 2px;
}
}
2021-05-23 10:10:57 +00:00
2022-01-10 22:55:10 +00:00
.overflow-wrap-anywhere {
overflow-wrap: anywhere;
min-width: 10em;
2022-01-10 22:55:10 +00:00
}
2021-10-02 01:05:48 +00:00
/* Threads
******************************************************************************/
2021-10-02 01:09:11 +00:00
2021-10-02 01:05:48 +00:00
.thread .is-main .card {
box-shadow: 0 0.5em 1em -0.125em rgb(50 115 220 / 35%), 0 0 0 1px rgb(50 115 220 / 2%);
}
2021-10-02 01:09:11 +00:00
.thread::after {
content: "";
2021-10-02 01:05:48 +00:00
position: absolute;
z-index: -1;
top: 0;
bottom: 0;
left: 2.5em;
border-left: 2px solid #e0e0e0;
}
2021-10-15 16:40:49 +00:00
/* Breadcrumbs
******************************************************************************/
.breadcrumb li:first-child * {
padding-left: 0;
}
.breadcrumb li > * {
align-items: center;
display: flex;
justify-content: center;
2021-10-15 16:54:14 +00:00
padding: 0 0.75em;
2021-10-15 16:40:49 +00:00
}
2022-01-11 19:04:56 +00:00
/* Notifications page
******************************************************************************/
.notification a.icon {
text-decoration: none !important;
}
2021-12-20 22:37:45 +00:00
/* Breadcrumbs
******************************************************************************/
.books-grid {
display: grid;
2021-12-28 16:58:10 +00:00
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
2021-12-20 22:37:45 +00:00
align-items: end;
2021-12-28 09:18:40 +00:00
justify-items: stretch;
2021-12-20 22:37:45 +00:00
}
.books-grid > .is-big {
grid-column: span 2;
grid-row: span 2;
justify-self: stretch;
}
.books-grid .book-cover {
width: 100%;
}
.books-grid .book-title {
--height-basis: 1.35rem;
2021-12-20 22:40:53 +00:00
2021-12-20 22:37:45 +00:00
display: block;
margin-top: 0.5rem;
line-height: var(--height-basis);
min-height: calc(2 * var(--height-basis));
}
2021-12-28 16:58:10 +00:00
@media only screen and (min-width: 769px) {
.books-grid {
gap: 1.5rem;
grid-template-columns: repeat(auto-fill, minmax(8em, 1fr));
2021-12-28 16:58:10 +00:00
}
}
2021-12-22 14:13:42 +00:00
/* Copy
******************************************************************************/
.horizontal-copy {
2021-12-22 15:55:02 +00:00
display: flex;
2021-12-22 14:13:42 +00:00
flex-direction: row;
align-items: center;
2021-12-22 15:55:02 +00:00
gap: 0.75rem;
2021-12-22 14:13:42 +00:00
}
.horizontal-copy textarea {
min-width: initial;
white-space: nowrap;
}
.horizontal-copy button {
align-self: stretch;
height: unset;
}
.vertical-copy {
2021-12-22 15:55:02 +00:00
display: flex;
2021-12-22 14:13:42 +00:00
flex-direction: column;
align-items: stretch;
2021-12-22 15:55:02 +00:00
gap: 0.75rem;
2021-12-22 14:13:42 +00:00
}
.vertical-copy button {
width: 100%;
}
/* Dimensions
* @todo These could be in rem.
******************************************************************************/
.is-32x32 {
min-width: 32px !important;
min-height: 32px !important;
}
.is-96x96 {
min-width: 96px !important;
min-height: 96px !important;
}
.is-w-auto {
width: auto !important;
}
.is-w-xs {
width: 80px !important;
}
.is-w-s {
width: 100px !important;
}
.is-w-m {
width: 150px !important;
}
.is-w-l {
width: 200px !important;
}
.is-w-xl {
2021-04-27 18:30:10 +00:00
width: 250px !important;
}
.is-w-xxl {
width: 500px !important;
}
.is-h-xs {
height: 80px !important;
}
.is-h-s {
height: 100px !important;
}
.is-h-m {
height: 150px !important;
}
.is-h-l {
height: 200px !important;
}
.is-h-xl {
2021-04-27 18:30:10 +00:00
height: 250px !important;
}
.is-h-xxl {
height: 500px !important;
}
@media only screen and (max-width: 768px) {
.is-w-auto-mobile {
width: auto !important;
}
.is-w-xs-mobile {
width: 80px !important;
}
.is-w-s-mobile {
width: 100px !important;
}
.is-w-m-mobile {
width: 150px !important;
}
.is-w-l-mobile {
width: 200px !important;
}
2021-04-27 18:30:10 +00:00
.is-w-xl-mobile {
width: 250px !important;
}
.is-w-xxl-mobile {
width: 500px !important;
}
.is-h-xs-mobile {
height: 80px !important;
}
.is-h-s-mobile {
height: 100px !important;
}
.is-h-m-mobile {
height: 150px !important;
}
.is-h-l-mobile {
height: 200px !important;
}
2021-04-27 18:30:10 +00:00
.is-h-xl-mobile {
height: 250px !important;
}
.is-h-xxl-mobile {
height: 500px !important;
}
}
@media only screen and (min-width: 769px) {
.is-w-auto-tablet {
width: auto !important;
}
.is-w-xs-tablet {
width: 80px !important;
}
.is-w-s-tablet {
width: 100px !important;
}
.is-w-m-tablet {
width: 150px !important;
}
.is-w-l-tablet {
width: 200px !important;
}
2021-04-27 18:30:10 +00:00
.is-w-xl-tablet {
width: 250px !important;
}
.is-w-xxl-tablet {
width: 500px !important;
}
.is-h-xs-tablet {
height: 80px !important;
}
.is-h-s-tablet {
height: 100px !important;
}
.is-h-m-tablet {
height: 150px !important;
}
.is-h-l-tablet {
height: 200px !important;
}
2021-04-27 18:30:10 +00:00
.is-h-xl-tablet {
height: 250px !important;
}
.is-h-xxl-tablet {
height: 500px !important;
}
}
@media only screen and (min-width: 1024px) {
.is-w-auto-desktop {
width: auto !important;
}
.is-w-xs-desktop {
width: 80px !important;
}
.is-w-s-desktop {
width: 100px !important;
}
.is-w-m-desktop {
width: 150px !important;
}
.is-w-l-desktop {
width: 200px !important;
}
2021-04-27 18:30:10 +00:00
.is-w-xl-desktop {
width: 250px !important;
}
.is-w-xxl-desktop {
width: 500px !important;
}
.is-h-xs-desktop {
height: 80px !important;
}
.is-h-s-desktop {
height: 100px !important;
}
.is-h-m-desktop {
height: 150px !important;
}
.is-h-l-desktop {
height: 200px !important;
}
2021-04-27 18:30:10 +00:00
.is-h-xl-desktop {
height: 250px !important;
}
.is-h-xxl-desktop {
height: 500px !important;
}
}
/* Alignments
*
* Use them with `.align.to-(c|t|r|b|l)[-(mobile|tablet)]`
******************************************************************************/
/* Flex item position
* -------------------------------------------------------------------------- */
.align {
display: flex !important;
flex-direction: row !important;
}
.align.to-c {
justify-content: center !important;
}
2021-04-28 08:47:14 +00:00
.align.to-t {
align-items: flex-start !important;
}
.align.to-r {
justify-content: flex-end !important;
}
.align.to-b {
align-items: flex-end !important;
}
.align.to-l {
justify-content: flex-start !important;
}
@media screen and (max-width: 768px) {
.align.to-c-mobile {
justify-content: center !important;
}
2021-04-28 08:47:14 +00:00
.align.to-t-mobile {
align-items: flex-start !important;
}
.align.to-r-mobile {
justify-content: flex-end !important;
}
2021-04-28 12:48:25 +00:00
.align.to-b-mobile {
align-items: flex-end !important;
}
.align.to-l-mobile {
justify-content: flex-start !important;
}
}
@media screen and (min-width: 769px) {
.align.to-c-tablet {
justify-content: center !important;
}
2021-04-28 08:47:14 +00:00
.align.to-t-tablet {
align-items: flex-start !important;
}
.align.to-r-tablet {
justify-content: flex-end !important;
}
2021-04-28 12:48:25 +00:00
.align.to-b-tablet {
align-items: flex-end !important;
}
.align.to-l-tablet {
justify-content: flex-start !important;
}
}
/* Spacings
*
* Those are supplementary rules to Bulmas. They follow the same conventions.
* Add those youll need.
******************************************************************************/
.mr-auto {
margin-right: auto !important;
}
.ml-auto {
margin-left: auto !important;
}
@media screen and (max-width: 768px) {
2021-04-28 12:48:25 +00:00
.m-0-mobile {
margin: 0 !important;
}
.mr-auto-mobile {
margin-right: auto !important;
}
.ml-auto-mobile {
margin-left: auto !important;
}
.mt-3-mobile {
margin-top: 0.75rem !important;
}
.ml-3-mobile {
margin-left: 0.75rem !important;
}
.mx-3-mobile {
margin-right: 0.75rem !important;
margin-left: 0.75rem !important;
}
.my-3-mobile {
margin-top: 0.75rem !important;
margin-bottom: 0.75rem !important;
}
}
@media screen and (min-width: 769px) {
.m-0-tablet {
margin: 0 !important;
}
.mr-auto-tablet {
margin-right: auto !important;
}
.ml-auto-tablet {
margin-left: auto !important;
}
.mt-3-tablet {
margin-top: 0.75rem !important;
}
.ml-3-tablet {
margin-left: 0.75rem !important;
}
.mx-3-tablet {
margin-right: 0.75rem !important;
margin-left: 0.75rem !important;
}
.my-3-tablet {
margin-top: 0.75rem !important;
margin-bottom: 0.75rem !important;
}
}
/* Gaps (for Flexbox and Grid)
*
* Those are supplementary rules to Bulmas. They follow the same conventions.
* Add those youll need.
******************************************************************************/
.is-gap-0 {
gap: 0;
}
.is-gap-1 {
gap: 0.25rem;
}
.is-gap-2 {
gap: 0.5rem;
}
.is-gap-3 {
gap: 0.75rem;
}
.is-gap-4 {
gap: 1rem;
}
.is-gap-5 {
gap: 1.5rem;
}
.is-gap-6 {
gap: 3rem;
}
.is-row-gap-0 {
row-gap: 0;
}
.is-row-gap-1 {
row-gap: 0.25rem;
}
.is-row-gap-2 {
row-gap: 0.5rem;
}
.is-row-gap-3 {
row-gap: 0.75rem;
}
.is-row-gap-4 {
row-gap: 1rem;
}
.is-row-gap-5 {
row-gap: 1.5rem;
}
.is-row-gap-6 {
row-gap: 3rem;
}
.is-column-gap-0 {
column-gap: 0;
}
.is-column-gap-1 {
column-gap: 0.25rem;
}
.is-column-gap-2 {
column-gap: 0.5rem;
}
.is-column-gap-3 {
column-gap: 0.75rem;
}
.is-column-gap-4 {
column-gap: 1rem;
}
.is-column-gap-5 {
column-gap: 1.5rem;
}
.is-column-gap-6 {
column-gap: 3rem;
}