103 lines
1.4 KiB
CSS
103 lines
1.4 KiB
CSS
.wrapper {
|
|
display: flex;
|
|
max-width: 64em;
|
|
flex-grow: 1;
|
|
max-width: 64em;
|
|
}
|
|
|
|
body {
|
|
margin: 0px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
header{
|
|
position: sticky;
|
|
top: 0px;
|
|
|
|
background-color: #2867af;
|
|
width: 100vw;
|
|
align-items: center;
|
|
justify-content: center;
|
|
display: flex;
|
|
|
|
}
|
|
|
|
header > .wrapper {
|
|
justify-content: space-around;
|
|
text-align: center;
|
|
}
|
|
|
|
header > .wrapper > .tags{
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
padding: 5px;
|
|
}
|
|
|
|
header > .wrapper > .search{
|
|
display: flex;
|
|
flex-grow: 1;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
header > .wrapper > .title{
|
|
display: flex;
|
|
flex-grow: 2;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
font-size: 2em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
body > .main {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 100vw;
|
|
align-items: center;
|
|
align-content: center;
|
|
}
|
|
|
|
body > .main > .wrapper{
|
|
background-color: white;
|
|
flex-direction: column;
|
|
}
|
|
|
|
@media screen and (min-width: 640em) {
|
|
body > .main > .ad {
|
|
flex-grow: 1;
|
|
background-color: red;`
|
|
}
|
|
}
|
|
|
|
article{
|
|
background-color: #37fa6c;
|
|
margin: 10px;
|
|
flex-grow: 1;
|
|
padding: 5px;
|
|
|
|
display: flex;
|
|
text-overflow: hidden;
|
|
white-space: normal;
|
|
text-overflow: ellipsis;
|
|
|
|
max-height: 40vh;
|
|
}
|
|
|
|
article > .text{
|
|
|
|
}
|
|
|
|
footer{
|
|
background-color: #99dcd9;
|
|
height: 30px;
|
|
width: 100vw;
|