172 lines
2.8 KiB
CSS
172 lines
2.8 KiB
CSS
:root {
|
|
--card-height: 35rem;
|
|
}
|
|
|
|
html,body {
|
|
display: block;
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #222;
|
|
font-size: 10px;
|
|
color: #CCC;
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
#app {
|
|
display: block;
|
|
margin: auto;
|
|
font-size: 1.6rem;
|
|
max-width: 90rem;
|
|
}
|
|
|
|
#app > .home-link {
|
|
position: absolute;
|
|
top: 1vh;
|
|
left: 1vw;
|
|
width: 4rem;
|
|
height: 4rem;
|
|
}
|
|
|
|
#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;
|
|
}
|
|
section[name=notifications] {
|
|
display: block;
|
|
max-width: 70rem;
|
|
margin: 0 auto 1em;
|
|
padding: 1rem 3rem;
|
|
border: .5em solid red;
|
|
}
|
|
|
|
#popup {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
display: block;
|
|
background-color: #0008;
|
|
}
|
|
#popup > .popup-content {
|
|
max-width: calc(80rem);
|
|
height: calc(100vh - 20rem);
|
|
margin: 10rem auto;
|
|
}
|
|
|
|
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;
|
|
}
|