1
0
Fork 0
mirror of https://github.com/Findus23/RPGnotes.git synced 2024-09-19 15:43:45 +02:00
RPGnotes/static/scss/_misc.scss
2023-05-28 12:52:21 +02:00

128 lines
1.8 KiB
SCSS

html {
height: 100%;
}
body {
display: flex;
flex-direction: column;
height: 100%;
> .container {
flex: 1 0 auto;
}
}
blockquote {
@extend .blockquote;
font-size: 1rem;
color: $gray-600;
border-left: solid $gray-400 .25rem;
padding-left: 1rem;
font-style: italic;
}
.side-card {
display: flex;
position: relative;
> div {
padding: 0.5rem;
}
.text-col {
a {
text-decoration: none;
&:focus, &:active, &:hover {
text-decoration: underline;
}
}
}
}
.character-heading {
border-bottom: solid 2px;
}
.cp:after {
background: #B87333;
}
.sp:after {
background: #CFD0D1;
}
.gp:after {
background: #FFD700;
}
.pp:after {
background: #B7B4AE;
}
.cp, .sp, .gp, .pp {
&:after {
content: "";
width: 19px;
height: 19px;
display: inline-block;
border-radius: 50%;
vertical-align: middle;
margin: 0 5px;
}
}
footer {
margin-top: 1rem;
.navbar-nav {
justify-content: space-between;
width: 100%;
@include media-breakpoint-down(sm) {
flex-direction: column !important;
text-align: center;
}
}
}
@for $i from 1 through 10 {
.tree-#{$i} {
margin-left: $i*1rem;
width: calc(100% - #{$i*1rem});
}
}
.lum-lightbox {
z-index: 50;
}
.cm-scroller {
font-family: inherit !important;
}
.cm-editor {
border: $input-border-width solid $input-border-color;
@include border-radius($input-border-radius, 0);
&.cm-focused {
border-color: $input-focus-border-color;
outline: 0 !important;
@if $enable-shadows {
@include box-shadow($input-box-shadow, $input-focus-box-shadow);
} @else {
// Avoid using mixin so we can pass custom focus shadow properly
box-shadow: $input-focus-box-shadow;
}
}
}
.draft {
margin-bottom: 2rem;
}