Plume/static/main.css

160 lines
2.3 KiB
CSS
Raw Normal View History

2018-05-10 22:31:52 +02:00
html, body {
2018-05-10 20:01:16 +02:00
margin: 0px;
padding: 0px;
2018-05-10 22:31:52 +02:00
font-family: 'Lato';
line-height: 1.5em;
}
h1, h2, h3, h4, h5, h6 {
font-weight: bolder;
2018-05-10 22:31:52 +02:00
}
a, a:visited {
color: #7765e3;
2018-05-10 22:31:52 +02:00
text-decoration: none;
}
header {
padding: 20px 10%;
display: flex;
align-content: center;
justify-content: space-between;
}
2018-05-12 19:59:38 +02:00
header #menu {
display: none;
}
2018-05-10 22:31:52 +02:00
header nav a {
margin: 0px 20px;
}
body > main > * {
2018-05-10 22:31:52 +02:00
padding: 20px 20%;
}
main article {
font-family: 'Utopia';
2018-05-12 15:31:48 +02:00
text-align: justify;
2018-05-10 22:31:52 +02:00
}
.inline {
display: flex;
align-items: center;
}
.button, input[type="submit"] {
background: white;
color: #7765e3;
border: 1px solid #7765e3;
2018-05-10 22:31:52 +02:00
border-radius: 3px;
padding: 5px 10px;
margin: 0px 20px;
cursor: pointer;
transition: ease-in 0.2s all;
}
.button:hover, input[type="submit"]:hover {
background: #7765e399;
color: white;
2018-05-10 22:31:52 +02:00
}
input[type="submit"] {
margin: 40px 0px;
2018-05-10 22:31:52 +02:00
}
.article-meta {
background: #F9F9F9;
}
.inline-block {
display: inline-block;
margin: 20px 0px;
2018-05-10 22:31:52 +02:00
}
label {
display: block;
margin-top: 20px;
2018-05-10 22:31:52 +02:00
}
input {
border: none;
border-bottom: 1px solid #DADADA;
display: block;
margin: 10px 0px;
padding: 5px;
width: 50%;
2018-05-10 22:31:52 +02:00
}
textarea {
width: 100%;
min-height: 200px;
resize: vertical;
font-family: 'Utopia';
padding: 5px;
2018-05-10 20:01:16 +02:00
}
.badge {
font-size: 12pt;
background: white;
color: #7765e3;
border: 1px solid #7765e3;
border-radius: 3px;
padding: 5px 10px;
margin: 0px 10px;
}
2018-05-12 19:59:38 +02:00
@media screen and (max-width: 500px) {
header {
padding: 20px 0px;
flex-direction: column;
}
header #menu {
display: flex;
}
header > nav {
display: none;
text-align: center;
}
header nav a {
padding: 10px;
}
header:focus-within > nav {
display: flex;
flex-direction: column;
}
input {
width: 100%;
}
}
.cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-auto-rows: 1fr;
grid-gap: 20px;
}
.card {
background: white;
border: 1px solid #d0ccd0;
border-radius: 3px;
padding: 20px;
display: flex;
flex-direction: column;
}
.card main {
flex: 1;
}
.list {
display: grid;
grid-gap: 20px;
}