You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

192 lines
2.6 KiB
CSS

html,
body {
margin: 0;
box-sizing: border-box;
}
h1,h2,h3,{
margin: 0 var(--app-margin);
padding: 0;
}
.content {
padding: 0 var(--app-margin);
margin: 0 auto;
max-width: var(--content-width);
}
.homepage-intro{
display: flex;
margin-bottom: 300px;
}
.homepage-intro > *{
flex: 1;
flex-basis: 700px;
}
.title--name{
background-color: white;
margin: 0;
padding: 0;
}
table {
border-collapse: collapse;
border: 4px solid white;
}
tr {
position: relative;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
grid-gap: 0;
}
td {
grid-column: span 1;
border: 3px solid white;
padding: 0;
min-height: 133px;
text-align: left;
vertical-align: top;
}
td.title {
grid-column: span 4;
}
td.title .title--description {
margin-top: 8px;
}
td.title a {
box-decoration-break: clone;
}
td.title a::after {
display: none;
}
tr:hover {
background-color: white;
color: var(--accent);
}
td.links, td.categories {
grid-column: span 2;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: flex-start;
align-content: flex-start;
}
td.links > * {
background-color: white;
margin: 0;
padding: 0 4px;
position: relative;
z-index: 200;
}
td.date > * {
display: block;
margin: 0;
background-color: white;
}
td.categories {
grid-column: span 1;
flex-direction: column;
}
.tag {
padding: 0 4px;
background-color: white;
border-left-width: 6px;
border-left-style: solid;
border-left-color: #D5DDE8;
}
@media (max-width: 991.98px) {
.content{
margin: 0;
padding: 0;
}
.homepage-intro{
padding: 0 var(--app-margin);
display: block;
margin-bottom: 128px;
}
table {
display: block;
margin: 0;
width: 100%;
border: none;
}
tr {
position: relative;
display: block;
}
td,
td.title,
td:first-of-type,
td:last-of-type {
margin: 0;
border: none;
display: block;
width: auto;
min-height: auto;
}
tr{
min-height: 200px;
}
td * {
padding: 0 var(--app-margin);
}
td.links,
td.date {
display: none;
}
td.categories {
margin: 16px 0;
padding: 0 var(--app-margin);
flex-direction: row;
grid-column-gap: 8px;
line-height: 1;
}
.tag {
font-size: 18px;
padding: 4px 8px;
}
}