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

129 lines
1.6 KiB
SCSS
Raw Normal View History

2021-09-07 17:05:03 +02:00
html {
height: 100%;
}
body {
display: flex;
flex-direction: column;
height: 100%;
> .container {
flex: 1 0 auto;
}
}
2021-10-03 17:13:48 +02:00
blockquote {
@extend .blockquote;
font-size: 1rem;
color: $gray-600;
border-left: solid $gray-400 .25rem;
padding-left: 1rem;
font-style: italic;
2021-09-15 16:51:43 +02:00
}
2021-09-07 17:05:03 +02:00
2021-08-22 20:10:29 +02:00
.collapse-cell {
padding: 0 !important;
border: none !important;
}
.chev {
transition: transform .2s;
width: 13px;
height: auto;
}
tr.collapsed .chev {
transform: rotate(90deg);
}
tr.collapse-button:not(.collapsed) {
background: darkgray;
}
.side-card {
display: flex;
position: relative;
> div {
padding: 0.5rem;
}
.text-col {
a {
text-decoration: none;
2021-08-28 19:52:07 +02:00
&:focus, &:active, &:hover {
2021-08-22 20:10:29 +02:00
text-decoration: underline;
}
}
}
}
2021-08-28 19:52:07 +02:00
2021-08-22 20:10:29 +02:00
.character-heading {
border-bottom: solid 2px;
}
2021-08-28 19:52:07 +02:00
.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;
}
}
2021-09-07 17:05:03 +02:00
footer {
margin-top: 1rem;
.navbar-nav {
justify-content: space-between;
width: 100%;
@include media-breakpoint-down(sm) {
flex-direction: column !important;
text-align: center;
}
}
}
2021-09-15 16:51:43 +02:00
@for $i from 1 through 10 {
.tree-#{$i} {
margin-left: $i*1rem;
width: calc(100% - #{$i*1rem});
}
}
2021-10-04 21:49:59 +02:00
tr td:first-child {
width: 20px;
}
svg.icon {
width: 16px;
height: auto;
}