hugo-toha/static/css/read.css
2020-04-13 21:51:32 +06:00

186 lines
2.6 KiB
CSS

.read-area {
background-color: #f9fafc;
}
.hero-area {
margin-top: 50px;
width: 100%;
height: 400px;
background-image: url(/assets/img/bg.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.content {
width: 100%;
position: relative;
top: -60px;
padding: 5px;
}
.author-profile {
position: relative;
align-content: center;
text-align: center;
}
.author-profile img {
height: 120px;
width: 120px;
}
.author-profile p {
color: #8392a5;
}
.title {
text-align: center;
}
.post-content {
padding: 10px;
}
table {
border-radius: 20px;
background: #e5e9f2;
border: 1px solid #c0ccda;
}
table tr {
height: 40px !important;
}
table thead tr {
background: #248aaa;
color: #e5e9f2;
}
tbody tr:nth-child(odd) {
background-color: #e5e9f2;
}
tbody tr:hover {
background: #c0ccda;
}
figure {
border: 1px solid #c0ccda;
height: fit-content;
width: fit-content;
align-self: center;
margin: auto;
}
img {
max-width: 100%;
}
caption,
figcaption {
caption-side: bottom;
text-align: center;
color: #8392a5;
}
pre {
margin: 5px;
}
code {
padding: 10px !important;
}
.navbar-toggler {
display: none;
}
.next-prev-navigator {
padding-left: 10px;
padding-right: 10px;
}
.next-prev-navigator a {
color: #3c4858;
transition: all 0.3s ease-out;
}
.next-prev-navigator a:hover {
color: #2098d1;
transition: all 0.3 ease-out;
}
.next-prev-navigator .next-article {
text-align: right;
}
.next-prev-navigator .next-article a {
transition: all 0.3s ease-out;
}
.next-prev-navigator .previous-article a {
transition: all 0.3s ease-out;
}
.next-prev-navigator .btn-outline-info {
color: #3c4858 !important;
border-color: #e5e9f2 !important;
background-color: #e5e9f2 !important;
transition: all 0.3s ease-out;
}
.next-prev-navigator .btn-outline-info:hover {
color: #f9fafc !important;
background-color: #248aaa !important;
transition: all 0.3s ease-out;
}
.disquss {
padding: 10px;
}
@media only screen and (max-width: 768px) {
.wrapper {
padding-left: 0px;
padding-right: 0px;
overflow: hidden;
}
.container {
max-width: 100%;
}
.container {
padding: 10px;
}
}
@media only screen and (max-width: 576px) {
.wrapper {
padding: 0px;
}
.hero-area {
height: 200px;
}
.content {
padding: 0px;
}
pre {
margin: 0px;
}
code {
padding: 0px;
}
.next-prev-navigator .previous-article {
text-align: center;
margin: 5px;
}
.next-prev-navigator .next-article {
text-align: center;
margin: 5px;
}
.previous-article a,
.next-article a {
width: 100%;
}
}