mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2025-06-29 16:10:43 +00:00
Redesign list layout
This commit is contained in:
parent
75a45a192b
commit
f3419a37b1
5 changed files with 122 additions and 40 deletions
|
@ -195,3 +195,61 @@ img {
|
|||
width: 100%;
|
||||
height: 35vh;
|
||||
}
|
||||
|
||||
.item-list {
|
||||
width: 100%;
|
||||
max-width: 1500px;
|
||||
text-align: left;
|
||||
padding: 20px;
|
||||
margin: 20px auto;
|
||||
|
||||
.item-list-group {
|
||||
display: flex;
|
||||
margin-bottom: 1.9em;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.item-list-year {
|
||||
padding-top: 6px;
|
||||
margin-right: 1.8em;
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
.item-list-items {
|
||||
flex-grow: 1;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.item-list-item {
|
||||
border-bottom: 1px grey dashed;
|
||||
|
||||
.item-link {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: baseline;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
font-size: 1.3rem;
|
||||
margin: 5px 0 5px 0;
|
||||
}
|
||||
|
||||
.item-day {
|
||||
flex-shrink: 0;
|
||||
margin-left: 1em;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.item-details {
|
||||
font-size: 0.8rem;
|
||||
text-indent: 2em;
|
||||
}
|
||||
|
||||
.item-summary {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue