205 lines
3.4 KiB
CSS
205 lines
3.4 KiB
CSS
:root {
|
|
--card-height: 35rem;
|
|
--background-color: #222;
|
|
--foreground-color: #CCC;
|
|
}
|
|
html,body {
|
|
display: block;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 10px;
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
background-color: var(--background-color);
|
|
color: var(--foreground-color);
|
|
}
|
|
body.print {
|
|
color: black;
|
|
background-color: white;
|
|
}
|
|
|
|
#app {
|
|
max-width: 90rem;
|
|
margin: auto;
|
|
font-size: 1.6rem;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
#app > main {
|
|
display: block;
|
|
}
|
|
#app .home-link {
|
|
position: absolute;
|
|
top: 1rem;
|
|
left: 1rem;
|
|
width: 4rem;
|
|
height: 4rem;
|
|
border: none;
|
|
}
|
|
|
|
a {
|
|
display: inline-block;
|
|
height: 1.15em;
|
|
border-bottom: 1px dotted white;
|
|
}
|
|
|
|
#logo {
|
|
transition: transform .3s ease-out;
|
|
}
|
|
#logo path.house {
|
|
fill: #222;
|
|
fill-opacity: 0.0;
|
|
transition: fill-opacity .3s ease-out .2s;
|
|
}
|
|
|
|
#logo:hover {
|
|
transform: scale(4) translate(5%, 15%);
|
|
}
|
|
#logo:hover path.house {
|
|
fill-opacity: 1.0;
|
|
}
|
|
|
|
header {
|
|
display: block;
|
|
font-size: 2rem;
|
|
line-height: 2rem;
|
|
padding: 4rem 0;
|
|
text-align: center;
|
|
}
|
|
header > p {
|
|
opacity: .6;
|
|
}
|
|
footer {
|
|
display: block;
|
|
margin-top: 1.5em;
|
|
}
|
|
section[name=notifications] {
|
|
display: block;
|
|
max-width: 70rem;
|
|
margin: 0 auto 1em;
|
|
}
|
|
section[name=notifications] > .note {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1em 1.5em;
|
|
background-color: #0006;
|
|
border: .5em solid #000;
|
|
}
|
|
section[name=notifications] > .warning {
|
|
border-color: red;
|
|
}
|
|
|
|
#popup {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background-color: #0008;
|
|
overflow-y: auto;
|
|
}
|
|
#popup > .popup-content {
|
|
width: 75rem;
|
|
max-width: 100vw;
|
|
}
|
|
|
|
main.popup > :not(#popup) {
|
|
filter: blur(10px);
|
|
}
|
|
|
|
input, button, select {
|
|
color: #AAA;
|
|
border: .2rem solid #444;
|
|
border-radius: .5rem;
|
|
background: black;
|
|
font-size: 1.8rem;
|
|
line-height: 1.5;
|
|
}
|
|
input {
|
|
padding: 0 .7em;
|
|
}
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
select {
|
|
padding: 0 .5em;
|
|
}
|
|
|
|
section.cards {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
justify-content: space-evenly;
|
|
justify-content: flex-start;
|
|
}
|
|
section.cards.centered {
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
a { color: inherit; text-decoration: inherit; }
|
|
|
|
.card {
|
|
border: .2rem solid #444;
|
|
border-radius: .5rem;
|
|
box-shadow: 0 0 1rem 0 #886;
|
|
height: var(--card-height);
|
|
width: 25rem;
|
|
margin: 2rem;
|
|
cursor: pointer;
|
|
transition: border-color .5s ease, box-shadow 1s ease;
|
|
}
|
|
.card:hover, .card.active {
|
|
border-color: #D66;
|
|
box-shadow: 0 0 2rem 0 #A44;
|
|
}
|
|
|
|
button.action-close {
|
|
background: white url(./zondicons/close-outline.svg) center no-repeat;
|
|
border: 1px solid white;
|
|
border-radius: 1em;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.options-form {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
.deck-form-fields {
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: center;
|
|
max-width: 25rem;
|
|
width: 50%;
|
|
margin-right: -15%;
|
|
text-shadow: 0 0 3px black;
|
|
z-index: 1;
|
|
}
|
|
|
|
.deck-form-fields label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.deck-form-fields label,
|
|
.deck-form-fields select,
|
|
.deck-form-fields input,
|
|
.deck-form-fields button {
|
|
margin: .5em 0;
|
|
}
|
|
.deck-form-fields input[type=color] {
|
|
margin-left: .5em;
|
|
padding: 0;
|
|
vertical-align: middle;
|
|
}
|
|
.codex-editor--narrow .codex-editor__redactor {
|
|
margin-right: 0;
|
|
}
|
|
.centered {
|
|
margin: auto inherit;
|
|
text-align: center;
|
|
}
|