126 lines
2.9 KiB
CSS
126 lines
2.9 KiB
CSS
@font-face {
|
|
font-family: 'Montserrat Regular';
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
src: local('Montserrat Regular'), url('/static/blog/fonts/Montserrat-Medium.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'TH Sarabun New Regular';
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
src: local('TH Sarabun New Regular'), url('/static/blog/fonts/THSarabunNew.woff') format('woff');
|
|
}
|
|
|
|
header , footer {
|
|
background-color: #D5CABD;
|
|
}
|
|
|
|
body {
|
|
background: rgba(255, 125, 125, 0.1) !important;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-attachment: scroll;
|
|
}
|
|
|
|
* {
|
|
font-family: "TH Sarabun New Regular";
|
|
font-size: 30px;
|
|
line-height: 30px;
|
|
}
|
|
|
|
.title {
|
|
font-family: "Montserrat Regular";
|
|
font-size: 46px;
|
|
line-height: 28px;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 32px;
|
|
line-height: 32px;
|
|
}
|
|
|
|
.fb-text {
|
|
overflow: hidden;
|
|
line-height: 1.2em;
|
|
max-height: 3.6em;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.carousel-inner .carousel-item > div {
|
|
display: none;
|
|
}
|
|
.carousel-inner .carousel-item > div:first-child {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.carousel-inner .carousel-item.active,
|
|
.carousel-inner .carousel-item-next,
|
|
.carousel-inner .carousel-item-prev {
|
|
display: flex;
|
|
}
|
|
|
|
/* medium and up screens */
|
|
@media (min-width: 768px) {
|
|
|
|
.carousel-inner .carousel-item-end.active,
|
|
.carousel-inner .carousel-item-next {
|
|
transform: translateX(25%) !important;
|
|
}
|
|
|
|
.carousel-inner .carousel-item-start.active {
|
|
transform: translateX(0) !important;
|
|
}
|
|
.carousel-inner .carousel-item-prev {
|
|
transform: translateX(-25%) !important;
|
|
}
|
|
|
|
.carousel-fade .carousel-inner .carousel-item-end.active,
|
|
.carousel-fade .carousel-inner .carousel-item-next {
|
|
transform: translateX(0) !important;
|
|
}
|
|
|
|
.carousel-fade .carousel-inner .carousel-item-start.active {
|
|
transform: translateX(0) !important;
|
|
}
|
|
.carousel-fade .carousel-inner .carousel-item-prev {
|
|
transform: translateX(0) !important;
|
|
}
|
|
}
|
|
|
|
.carousel-inner .carousel-item-end,
|
|
.carousel-inner .carousel-item-start {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.img-fluid {
|
|
border-radius: 16px;
|
|
}
|
|
|
|
|
|
/* ANCIEN */
|
|
|
|
/* @font-face {
|
|
font-family: 'TH Sarabun New Italic';
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
src: local('TH Sarabun New Italic'), url('../fonts/THSarabunNew Italic.woff') format('woff');
|
|
}
|
|
|
|
|
|
@font-face {
|
|
font-family: 'TH Sarabun New Bold';
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
src: local('TH Sarabun New Bold'), url('../fonts/THSarabunNew Bold.woff') format('woff');
|
|
}
|
|
|
|
|
|
@font-face {
|
|
font-family: 'TH Sarabun New Bold Italic';
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
src: local('TH Sarabun New Bold Italic'), url('../fonts/THSarabunNew BoldItalic.woff') format('woff');
|
|
} */
|
|
|