File: /home/monspa/public_html/wp-content/themes/baoxuan/css/mystyle.scss
/*Custom color and width*/
$container: 1140px; /* Do rong khung website */
$primary-color: #ff5c82; /* Mau sac chinh */
$secondary-color: #e31f0e; /* Mau sac phu */
$font: 'Roboto', sans-serif;
/* /Custom color and width */
* {
margin: 0;
padding: 0;
}
body {
font-family: $font
}
.container {
@media screen and (min-width: 1200px) {
width: $container;
}
}
h1,h2,h3,h4,h5,h6,p {
line-height: 1.5;
}
h1 {
font-size: 20px;
font-weight: bold;
}
h2 {
font-size: 18px;
font-weight: bold;
}
h3 {
font-size: 16px;
font-weight: bold;
&.widget-title {
margin: 20px 0px;
border-bottom: 2px solid $primary-color;
display: block;
span {
background-color: $primary-color;
line-height: 20px;
display: table;
padding: 7px 12px;
color: #fff;
text-transform: uppercase;
font-size: 14px;
position: relative;
font-weight: normal;
font-family: $font;
}
}
}
h4 {
font-size: 14px;
font-weight: bold;
}
h5 {
font-size: 12px;
font-weight: bold;
}
h6 {
font-size: 10px;
font-weight: bold;
}
p {
font-size: 14px;
margin-bottom: 10px;
}
ul li {
list-style-type: none;
}
a {
color: $primary-color;
transition: 300ms ease all;
&:focus,&:hover {
color: $secondary-color;
transition: 300ms ease all;
text-decoration: none;
}
&.hotline_style1 {
font-size: 25px;
color: rgb(255, 255, 255);
font-weight: bold;
text-align: center;
text-shadow: 0px 2px 2px rgba(13, 14, 14, 0.53);
border-radius: 18px;
background-image: -moz-linear-gradient( 90deg, rgb(255,92,131) 0%, rgb(255,229,240) 100%);
background-image: -webkit-linear-gradient( 90deg, rgb(255,92,131) 0%, rgb(255,229,240) 100%);
background-image: -ms-linear-gradient( 90deg, rgb(255,92,131) 0%, rgb(255,229,240) 100%);
box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75),inset 0px 22px 0px 0px rgba(255, 255, 255, 0.06);
z-index: 99;
padding: 10px 30px 10px 70px;
display: inline-block;
position: relative;
&:hover {
color: #f9eb32;
text-decoration: none;
}
&:after {
position: absolute;
content: '';
top: 50%;
margin-top: -24px;
left: 10px;
background: url('../images/iconphone_style1.png') no-repeat center;
background-size:cover;
width: 48px;
height: 48px;
}
}
}
section {
padding: 50px;
@media screen and (max-width: 767px) {
padding: 30px 0 10px;
p {
text-align: justify;
}
}
}
.btn-primary {
color: #fff;
background-color: $primary-color;
&:hover {
color: #fff;
background-color: $secondary-color;
}
}
.btn-secondary {
color: #fff;
background-color: $secondary-color;
&:hover {
color: #fff;
background-color: $primary-color;
}
}
.fixed {
position: fixed;
top: 0px;
z-index: 999999;
left: 0;
right: 0;
box-shadow: 0px 13px 20px 0px rgba(50, 50, 50, 0.2);
}
.aligncenter {
display: block;
margin: 0 auto 10px;
}
.alignleft {
float: left;
padding-left: 10px;
}
.alignright {
float: right;
padding-left: 10px;
}
.aligncenter,.alignleft, .alignright {
margin-bottom: 10px;
}
.wp-caption-text {
font-size: 90%;
font-style: italic;
text-align: center;
}
.navbar-right {
float:right !important;
}
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] {
display: block;
width: 100%;
background: #fff;
border: 1px solid #dfdfdf;
color: #adadad;
font-size: 14px;
height: 40px;
line-height: 24px;
padding: 8px 10px 8px 20px;
outline: none;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-moz-transition: 0.3s all ease;
-o-transition: 0.3s all ease;
-webkit-transition: 0.3s all ease;
transition: 0.3s all ease;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
textarea {
height: 200px;
}
.dt-sc-contact-info i {
font-size: 20px;
color: #808080;
display: inline-block;
margin: 0px 10px 0px 0px;
float: left;
position: relative;
top: 2px;
}
.dt-sc-appointment .dt-sc-contact-info {
background: #f5f5f5;
border: none;
color: #808080;
display: block;
line-height: 40px;
margin: 0px 0px 10px;
padding: 0px;
width: 100%;
i {
background: $primary-color;
margin: 0px 10px 0 0;
line-height: 40px;
padding: 0;
width: 40px;
height: 40px;
text-align: center;
display: inline-block;
color: #fff;
font-size: 14px;
float: left;
}
a, span {
color: $primary-color;
text-decoration: none;
&:hover {
color: $secondary-color;
}
}
}
.page-link {
color: $primary-color;
&:focus, &:hover {
color: $primary-color;
text-decoration: none;
}
}
.page-item.active .page-link, .page-item.active .page-link:focus, .page-item.active .page-link:hover {
background-color: $primary-color;
border-color: $primary-color;
}
.entry-meta, .entry-footer {
display: block;
color: #5E5E5E;
width: 100%;
margin-bottom: 10px;
a, span {
font-size: 14px;
color: #5E5E5E;
}
a:hover {
color: $primary-color;
}
>span {
&:after {
content: "|";
padding: 0 5px;
}
&:last-child:after {
content: '';
}
}
}
.related_album {
padding: 15px 50px;
background: #df1f24;
position: relative;
#goToNextPost,#goToPrevPost {
font-size: 20px;
color: #FFF;
position: absolute;
left: 15px;
top: 11px;
cursor: pointer;
}
#goToNextPost {
left: auto;
right: 15px;
}
}
.slider-wrap{
padding: 0 80px;
background: #1e1e1e;
position: relative;
margin-bottom: 30px;
.lSSlideOuter {
position: relative;
z-index: 1;
}
.lSSlideWrapper{
padding: 20px 0 !important;
ul{
li{
text-align: center;
img{
height: 400px;
width: auto;
max-width: none !important;
}
}
}
.caption{
position: absolute;
bottom: 0;
padding: 20px;
background: rgba(0,0,0,.5);
color: #FFF;
font-weight: 500;
width: 100%;
text-align: left;
h5{
font-size: 15px;
margin-top: 0;
font-weight: bold;
}
}
.lSAction{
display: none !important;
}
&:hover{
.lSAction{
display: block !important;
}
}
}
.lSPager{
padding: 15px 0 !important;
}
#pager-bg{
width: 100%;
background: #000;
position: absolute;
bottom: 0;
left: 0;
#goToPrevSlide,#goToNextSlide{
position: absolute;
display: block;
width: 11px;
height: 40px;
background: url(../images/goToNext.png) no-repeat;
right: 40px;
bottom: 24px;
cursor: pointer;
}
#goToPrevSlide{
right: auto;
left: 40px;
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
}
}
}
.recent-albums{
padding: 15px 50px;
background: #df1f24;
position: relative;
ul{
li{
a{
font-size: 14px;
color: #fff;
&:hover{
text-decoration: underline;
}
}
&.current{
a{
font-weight: 500;
text-decoration: underline;
text-transform: uppercase;
}
}
}
}
#goToPrevPost,#goToNextPost{
font-size: 20px;
color: #FFF;
position: absolute;
left: 15px;
top: 11px;
cursor: pointer;
&:hover{
color: yellow;
}
}
#goToNextPost{
left: auto;
right: 15px;
}
}
.single-thu-vien{
iframe{
width: 100%;
height: 400px;
}
}
.related-galeries{
h3{
background: #F4F4F4;
margin: 0;
padding: 20px 10px;
text-transform: uppercase;
font-size: 20px;
margin: 20px 0;
text-indent: 25px;
position: relative;
i{
font-size: 17px;
color: #DF1F24;
position: absolute;
left: -15px;
top: 21px;
}
}
ul{
padding: 0;
list-style: none;
li{
float: left;
width: 18%;
margin-right: 2.5%;
margin-bottom: 20px;
img{
width: 100%;
height: auto;
}
&:nth-child(5n){
margin-right: 0;
}
position: relative;
h5{
position: absolute;
bottom: 0;
margin: 0;
padding: 5px;
text-align: center;
background: rgba(0,0,0,.8);
width: 100%;
color: #fff;
font-size: 11px;
height: 34px;
overflow: hidden;
}
&:hover{
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
box-shadow: 0 0 5px rgba(0,0,0,.3);
}
}
}
}
.entry-content {
p {
margin-bottom: 10px;
}
ul, ol {
margin: 15px 0;
padding-left: 40px;
li {
list-style-type: disc;
font-size: 14px;
}
}
ol>li {
list-style-type: decimal;
}
}
.card {
box-shadow: 0 0.5px 1.5px 0 rgba(0, 0, 0, 0.16), 0 0.5px 2.5px 0 rgba(0, 0, 0, 0.12);
cursor: pointer;
transition: box-shadow .25s;
&:hover {
}
&.card_style_1 {
display: inline-block;
}
}
.hoverable:hover {
transition: box-shadow .25s;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.19);
}
.list_responsive {
display: flex !important;
flex-direction: row;
flex-wrap: wrap;
&.item3>li{
width: 32%;
margin-right: 2%;
}
&.item4>li{
width: 24%;
margin-right: 1.3%;
}
&.item5>li{
width: 18.5%;
margin-right: 1.87%;
}
>li:last-child {
margin-right: 0 !important;
}
@media screen and (max-width: 767px) {
flex-direction: column;
& li {
width: 100% !important;
margin: 0px 0px 20px !important;
}
}
}
.strikethrough {
position: relative;
margin-top: 1rem;
text-align: center;
hr {
position: absolute;
width: 100%;
top: 50%;
margin: 0;
height: 2px;
background-color: $primary-color;
border: 0;
}
strong {
position: relative;
z-index: 100;
padding: 0 10px;
background: #fff;
text-transform: uppercase;
a {
position: relative;
display: inline-block;
color: #313131;
text-transform: uppercase;
font-size: 200%;
&:hover {
color: $primary-color;
}
}
}
}
.text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.img-circle {
border-radius: 50%;
}
.border_title {
padding-bottom: 10px;
border-bottom: 1px solid #c2c2c2;
margin-bottom: 20px;
text-transform: uppercase;
}
/* Owl */
.owl-nav-center .owl-nav .owl-prev,
.owl-nav-center .owl-nav .owl-next
{
position: absolute;
top: 50%;
display: inline-block;
float: left;
font-size: 40px;
color: #d5d5d5;
margin-top: -35px;
}
.owl-nav-center .owl-nav .owl-prev {
left: 0;
margin-left: -30px;
}
.owl-nav-center .owl-nav .owl-next {
right: 0;
margin-right: -30px;
}