189 lines
2.7 KiB
CSS
189 lines
2.7 KiB
CSS
@import url("/style/prideflag.css");
|
|
@import url("/font/inter/inter.css");
|
|
|
|
body {
|
|
width: 100%;
|
|
height: calc(100vh - 1em);
|
|
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
font-family: "Inter", sans-serif;
|
|
font-size: 16px;
|
|
|
|
color: #303030;
|
|
background: #f0f0f0;
|
|
}
|
|
|
|
nav {
|
|
width: min(720px, calc(100% - 2em));
|
|
height: 2em;
|
|
margin: 1em auto;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: left;
|
|
|
|
background: #f8f8f8;
|
|
border-radius: .5em;
|
|
border: 1px solid #808080;
|
|
}
|
|
nav .icon {
|
|
height: 100%;
|
|
}
|
|
nav .title {
|
|
width: auto;
|
|
height: 100%;
|
|
|
|
margin: 0 1em 0 0;
|
|
|
|
display: flex;
|
|
|
|
line-height: 2em;
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
}
|
|
.nav-item {
|
|
width: auto;
|
|
height: 100%;
|
|
|
|
margin: 0px;
|
|
padding: 0 1em;
|
|
|
|
display: flex;
|
|
|
|
line-height: 2em;
|
|
}
|
|
.nav-item:hover {
|
|
background: #00000010;
|
|
text-decoration: none;
|
|
}
|
|
nav a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
nav #logout {
|
|
/* margin-left: auto; */
|
|
}
|
|
|
|
main {
|
|
width: min(720px, calc(100% - 2em));
|
|
margin: 0 auto;
|
|
padding: 1em;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
a img.icon {
|
|
height: .8em;
|
|
}
|
|
|
|
.card {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.card h2 {
|
|
margin: 0 0 .5em 0;
|
|
}
|
|
|
|
/*
|
|
.card h3,
|
|
.card p {
|
|
margin: 0;
|
|
}
|
|
*/
|
|
|
|
.card-title {
|
|
margin-bottom: 1em;
|
|
display: flex;
|
|
gap: 1em;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.card-title h1,
|
|
.card-title h2,
|
|
.card-title h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
.flex-fill {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
@media screen and (max-width: 520px) {
|
|
body {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#error {
|
|
background: #ffa9b8;
|
|
border: 1px solid #dc5959;
|
|
padding: 1em;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
|
|
|
|
button, .button {
|
|
padding: .5em .8em;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
border-radius: .5em;
|
|
border: 1px solid #a0a0a0;
|
|
background: #f0f0f0;
|
|
color: inherit;
|
|
}
|
|
button:hover, .button:hover {
|
|
background: #fff;
|
|
border-color: #d0d0d0;
|
|
}
|
|
button:active, .button:active {
|
|
background: #d0d0d0;
|
|
border-color: #808080;
|
|
}
|
|
|
|
button {
|
|
color: inherit;
|
|
}
|
|
button.new {
|
|
background: #c4ff6a;
|
|
border-color: #84b141;
|
|
}
|
|
button.save {
|
|
background: #6fd7ff;
|
|
border-color: #6f9eb0;
|
|
}
|
|
button.delete {
|
|
background: #ff7171;
|
|
border-color: #7d3535;
|
|
}
|
|
button:hover {
|
|
background: #fff;
|
|
border-color: #d0d0d0;
|
|
}
|
|
button:active {
|
|
background: #d0d0d0;
|
|
border-color: #808080;
|
|
}
|
|
button[disabled] {
|
|
background: #d0d0d0 !important;
|
|
border-color: #808080 !important;
|
|
opacity: .5;
|
|
cursor: not-allowed !important;
|
|
}
|
|
a.delete {
|
|
color: #d22828;
|
|
}
|