Files
blog/public/css/admin.css
2019-06-23 20:12:37 -04:00

174 lines
2.5 KiB
CSS
Vendored

body {
margin: 0;
color: #212121;
}
hr {
border: 1px solid #f2f2f2;
}
.sidebar {
position: fixed;
left: 0;
top: 0;
height: 100%;
width: 20ch;
border-right: 1px solid #f2f2f2;
}
.sidebar .items {
display: -webkit-flex;
display: flex;
height: 100%;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-justify-content: flex-start;
justify-content: flex-start;
}
.sidebar .item {
line-height: 2em;
}
.sidebar .end {
margin-top: auto;
}
.sidebar .end a {
padding: 2em 0;
}
.sidebar a,
.sidebar span {
display: block;
text-align: center;
text-transform: uppercase;
font-weight: bold;
letter-spacing: 0.2rem;
text-decoration: none;
color: #212121;
}
.sidebar a:hover {
color: #0fa0ce;
}
.sidebar h1 {
text-align: center;
}
.container {
margin-left: 20ch;
height: 100vh;
padding: 0em 2em;
}
@media (max-width: 600px) {
.sidebar {
display: none;
}
.container {
margin-left: 0;
}
}
table {
width: 100%;
border-collapse: collapse;
}
table th {
background: #212121;
color: #f2f2f2;
font-weight: bold;
text-transform: uppercase;
}
table td,
table th {
padding: 6px;
height: 2em;
border-bottom: 1px solid #212121;
text-align: left;
}
table td.controls a,
table td.controls input[type=submit] {
margin: 0;
border: 0;
padding: 0;
width: 100%;
display: block;
text-transform: uppercase;
text-align: left;
font-size: 1rem;
font-weight: 600;
text-decoration: none;
letter-spacing: 0.1em;
color: #212121;
}
table td.controls input[type=submit] {
border: 0;
background-color: white;
cursor: pointer;
}
table th.controls a {
display: block;
text-transform: uppercase;
font-weight: bold;
text-decoration: none;
color: white;
}
form {
height: 100%;
}
form label {
display: block;
text-transform: uppercase;
font-weight: bold;
font-size: 0.9em;
margin-bottom: 0.6em;
}
form input[type=text],
form textarea {
box-sizing: border-box;
display: block;
width: 100%;
height: 2em;
border: 1px solid #212121;
border-radius: 4px;
margin-bottom: 1em;
padding: 0.4em;
font-size: 1rem;
font-weight: 400;
}
form textarea {
font-family: inherit;
box-sizing: border-box;
height: 30em;
}
form .button {
display: inline-block;
box-sizing: border-box;
text-align: center;
cursor: pointer;
color: #212121;
border: 1px solid #212121;
border-radius: 4px;
background-color: #fff;
font-weight: bold;
height: 38px;
padding: 0 38px;
margin-bottom: 3em;
text-transform: uppercase;
}