arimelody.me/admin/static/admin.css

116 lines
1.6 KiB
CSS
Raw Normal View History

@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;
}
header {
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;
}
header .icon {
height: 100%;
}
header .title {
width: auto;
height: 100%;
margin: 0 1em 0 0;
display: flex;
line-height: 2em;
text-decoration: none;
color: inherit;
}
header a {
width: auto;
height: 100%;
margin: 0px;
padding: 0 1em;
display: flex;
line-height: 2em;
text-decoration: none;
color: inherit;
}
header a:hover {
background: #00000010;
text-decoration: none;
}
header #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;
}
.card {
margin-bottom: 2em;
}
.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;
}
@media screen and (max-width: 520px) {
body {
font-size: 12px;
}
}