policybot/fassets/css/imports/pagetitle.css
2021-11-30 16:26:55 +05:30

227 lines
4.8 KiB
CSS

/* ----------------------------------------------------------------
Page Title
-----------------------------------------------------------------*/
#page-title {
position: relative;
padding: 4rem 0;
background-color: #F5F5F5;
border-bottom: 1px solid #EEE;
}
#page-title .container {
position: relative;
}
#page-title h1 {
padding: 0;
margin: 0;
line-height: 1;
font-weight: 600;
letter-spacing: 1px;
color: #333;
font-size: 2rem;
text-transform: uppercase;
}
#page-title span {
display: block;
margin-top: 10px;
font-weight: 300;
color: #777;
font-size: 18px;
}
.breadcrumb {
position: absolute !important;
width: auto !important;
top: 50% !important;
left: auto !important;
right: 15px !important;
margin: 0 !important;
background-color: transparent !important;
padding: 0 !important;
font-size: 90%;
transform: translateY(-50%);
}
.transparent-header + .page-title-parallax .breadcrumb { margin-top: 35px !important; }
.breadcrumb a { color: #555; }
.breadcrumb a:hover { color: #1ABC9C; }
.breadcrumb i { width: auto !important; }
/* Page Title - Dark
-----------------------------------------------------------------*/
#page-title.page-title-dark {
background-color: #333;
text-shadow: 1px 1px 1px rgba(0,0,0,0.1) !important;
border-bottom: none;
}
#page-title.page-title-dark h1 { color: rgba(255,255,255,0.9) !important; }
#page-title.page-title-dark span { color: rgba(255,255,255,0.7) !important; }
#page-title.page-title-dark .breadcrumb > .active { color: rgba(255,255,255,0.6); }
#page-title.page-title-dark .breadcrumb a { color: rgba(255,255,255,0.8); }
#page-title.page-title-dark .breadcrumb a:hover { color: rgba(255,255,255,0.95); }
#page-title.page-title-dark .breadcrumb-item + .breadcrumb-item::before {
color: #CCC;
}
/* Page Title - Right Aligned
-----------------------------------------------------------------*/
.page-title-right { text-align: right; }
.page-title-right .breadcrumb {
left: 15px !important;
right: auto !important;
}
/* Page Title - Center Aligned
-----------------------------------------------------------------*/
.page-title-center { text-align: center; }
#page-title.page-title-center span {
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
#page-title.page-title-center .breadcrumb {
position: relative !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
margin: 20px 0 0 !important;
justify-content: center;
transform: translateY(0);
}
/* Page Title - Background Pattern
-----------------------------------------------------------------*/
.page-title-pattern {
background-image: url('images/pattern.png');
background-repeat: repeat;
background-attachment: fixed;
}
/* Page Title - Parallax Background
-----------------------------------------------------------------*/
.page-title-parallax {
padding: 100px 0;
text-shadow: none;
border-bottom: none;
}
#page-title.page-title-parallax h1 {
font-size: 40px;
font-weight: 600;
letter-spacing: 2px;
}
#page-title.page-title-parallax span { font-size: 1.25rem; }
#page-title.page-title-parallax .breadcrumb { font-size: 0.875rem; }
.page-title-parallax {
background-color: transparent;
background-image: url('images/parallax/parallax-bg.jpg');
background-attachment: fixed;
background-position: 50% 0;
background-repeat: no-repeat;
}
/* Page Title - Mini
-----------------------------------------------------------------*/
#page-title.page-title-mini { padding: 20px 0; }
#page-title.page-title-mini h1 {
font-weight: 600;
font-size: 18px;
color: #444;
}
#page-title.page-title-mini span { display: none; }
/* Page Title - No Background
-----------------------------------------------------------------*/
#page-title.page-title-nobg {
background: transparent !important;
border-bottom: 1px solid #F5F5F5;
}
/* Page Title - Video
-----------------------------------------------------------------*/
.page-title-video {
background: none;
position: relative;
overflow: hidden;
}
.page-title-video .container {
z-index: 5;
}
.page-title-video .video-wrap {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.page-title-video .video-wrap video { width: 100%; }
@media (max-width: 767.98px) {
#page-title {
padding: 2rem 0;
text-align: center;
}
#page-title h1 {
line-height: 1.5;
font-size: calc( 1rem + 2vw );
}
.page-title-parallax span {
font-size: 1rem;
}
#page-title .breadcrumb {
position: relative !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
margin: 20px 0 0 !important;
justify-content: center;
-webkit-transform: translateY(0);
transform: translateY(0);
}
#page-title #portfolio-navigation,
#portfolio-ajax-title #portfolio-navigation {
position: relative;
top: 0;
left: 0;
margin: 15px auto 0;
}
}