yet-another-blog/frontend/public/css/blogSingle.css

68 lines
1.1 KiB
CSS

.page .title {
background-color: #222;
padding: 10px;
box-sizing: border-box;
font-size: 24px;
}
.page .image-container {
width: 100%;
margin-bottom: 4px;
}
.page .image-container img {
width: 100%;
}
.page .video-embed {
width: 100%;
min-height: 560px;
display: flex;
}
.page .video-embed iframe {
width: 100%;
height: 560px;
margin: auto;
}
.page .side-by-side {
display: flex;
flex-flow: row wrap;
place-content: space-around;
}
.page .side-by-side .image-container {
padding: 5px;
box-sizing: border-box;
width: 50%;
margin-bottom: 0;
}
.page .side-by-side .video-embed {
width: 50%;
min-height: 280px;
padding: 5px;
box-sizing: border-box;
}
.page .side-by-side .video-embed iframe {
width: 100%;
height: 280px;
}
.page h1 {
border-bottom: 1px solid #777;
}
.page h2 {
width: 50%;
border-bottom: 1px solid #777;
}
.page h3 {
width: 25%;
border-bottom: 1px solid #777;
}
.page h4 {
width: 20%;
border-bottom: 1px solid #777;
}
.page a {
color: white;
}
@media screen and (max-width: 500px) {
.page .side-by-side .image-container {
width: 100%;
}
}