UNPKG

glintcms-starter-glintcms

Version:

This is a WebSite implementation with GlintCMS. It shows how you can use GlintCMS.

620 lines (511 loc) 10.1 kB
@import url(http://fonts.googleapis.com/css?family=Dosis:400,500,600,700,800,300,200); /************************* *******Typography********* **************************/ body { font-family: 'Dosis', sans-serif; font-size: 16px; line-height: 26px; color: #fff; margin-bottom: 50px; } body, .preloader { background: -webkit-linear-gradient(90deg, #771d1d 10%, #c8441b 90%) fixed no-repeat; /* Chrome 10+, Saf5.1+ */ background: -moz-linear-gradient(90deg, #771d1d 10%, #c8441b 90%) fixed no-repeat; /* FF3.6+ */ background: -ms-linear-gradient(90deg, #771d1d 10%, #c8441b 90%) fixed no-repeat; /* IE10 */ background: -o-linear-gradient(90deg, #771d1d 10%, #c8441b 90%) fixed no-repeat; /* Opera 11.10+ */ background: linear-gradient(90deg, #771d1d 10%, #c8441b 90%) fixed no-repeat; /* W3C */ } h1, h2, h3, h4, h5, h6 { color: #fff !important; } h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, h1 big, h2 big, h3 big, h4 big, h5 big, h6 big { color: #ddd !important; } .metadata h1 { color: #5e5e5e !important; } img, input, textarea, code, pre, h1, h2, h3, h4, h5, h6 { max-width: 100%; } a, a:visited { color: #47e7f7; text-decoration: none; -webkit-transition: color 400ms, background-color 400ms; transition: color 400ms, background-color 400ms; } a:focus, a:hover { text-decoration: none; outline: none; color: #00b2ff; } header a, header a:visited, header a:focus, header a:hover, .slider-nav a, .slider-nav a:visited, .slider-nav a:focus, .slider-nav a:hover { color: #fff; } pre { overflow-x: scroll; white-space: pre; word-break: normal; word-wrap: normal; width: 0px; max-width: 0px; opacity: 0; background-color: rgba(245, 245, 245, 0.9); } pre > code { white-space: pre; } div.item.active pre { width: 100%; } code { color: #ff1025; } .preloader { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999999; } .preloader > i { position: absolute; font-size: 36px; line-height: 36px; top: 50%; left: 50%; height: 36px; width: 36px; margin-top: -15px; margin-left: -15px; display: inline-block; } .page-main-left, .page-main-right { text-shadow: 0px 0px 5px #888888; } /************************* *******Navigation CSS***** **************************/ #header { position: absolute; top: 0; left: 0; width: 100%; height: 100px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); z-index: 10; } #header .container { height: 100px; display: table; } #header .container-inner { display: table-cell; vertical-align: middle; } #header .logo h1 { margin: 0; } #header a.logo img { transition: all 400ms; } #header a.logo:hover img { -o-transform: scale(1.2); -ms-transform: scale(1.2); -moz-transform: scale(1.2); -webkit-transform: scale(1.2); transform: scale(1.2); } #header a.nav-button, #header a.nav-button * { transition: all 400ms; } #header a.nav-button:hover, #header a.nav-button:hover * { -o-transform: scale(1.2); -ms-transform: scale(1.2); -moz-transform: scale(1.2); -webkit-transform: scale(1.2); transform: scale(1.2); } #header .nav-button { display: inline-block; margin-top: 10px; text-transform: uppercase; } .slider-nav, .slider-nav a { transition: all 400ms; } .slider-nav a:hover { -o-transform: scale(1.2); -ms-transform: scale(1.2); -moz-transform: scale(1.2); -webkit-transform: scale(1.2); transform: scale(1.2); } #navigation { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, .8); z-index: 99999; text-align: center; display: none; } .main-nav { background-color: #fff; width: 400px; display: inline-block; position: relative; text-transform: lowercase; } .main-nav ul { list-style: none; padding: 0; margin: 0; } .main-nav ul li { display: block; text-align: center; margin: 0; padding: 0; } .main-nav ul li a { display: block; border-top: 1px solid #f5f5f5; padding-top: 20px; padding-bottom: 20px; font-weight: 700; font-size: 36px; color: #5e5e5e; } .main-nav ul li:first-child a { border-top: 0; } .main-nav ul li:hover a, .main-nav ul li.active a { background-color: #AB361C; color: #f5f5f5; } #hidemenu { display: inline-block; position: absolute; top: -30px; right: -30px; color: #666; } #hidemenu:hover { color: #000; } /************************* *******Home Page CSS****** **************************/ #home-page .caption { font-weight: 600; font-size: 18px; } #home-page h2.heading { font-size: 60px; font-weight: 700; margin-bottom: 15px; } #page-slider > .carousel-inner, #page-slider .item > .container { height: 100%; } #page-slider .item > .container { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; padding-top: 20px; padding-bottom: 100px; } .vertical-middle { height: 100%; width: 100%; display: table; } .vertical-middle > div { display: table-cell; vertical-align: middle; } #page-main { margin-top: 130px; } #page-slider .item { height: 100%; background-position: 50%; background-repeat: no-repeat; background-size: cover; } .page-main-left { left: 10px; } .page-main-right { right: 10px; } .page-main-left, .page-main-right { position: fixed; top: 32px; font-size: 32px; z-index: 10; } .page-header { font-size: 64px; line-height: 64px; border: 0; padding: 0; margin-top: 0; font-weight: 700; margin-bottom: 50px; } .entry-title { font-size: 24px; line-height: 30px; font-weight: 700; } .overlay-container { display: block; position: relative; } .overlay { position: absolute; top: 0; left: 0; bottom: 0; right: 0; background-color: rgba(0, 0, 0, .5); text-align: center; opacity: 0; -webkit-transition: opacity 400ms; transition: opacity 400ms; } .overlay-container:hover .overlay { opacity: 1; } a.readmore { font-size: 36px; line-height: 36px; } .box { background: rgba(0, 0, 0, .2); padding: 20px; margin-bottom: 20px; -webkit-transition: background-color 400ms; transition: background-color 400ms; } .box:hover { background: rgba(0, 0, 0, .5); } #footer { position: fixed; height: 40px; left: 0; right: 0; bottom: 0; text-align: right; background: -webkit-linear-gradient(90deg, #771d1d 10%, #c8441b 90%); /* Chrome 10+, Saf5.1+ */ background: -moz-linear-gradient(90deg, #771d1d 10%, #c8441b 90%); /* FF3.6+ */ background: -ms-linear-gradient(90deg, #771d1d 10%, #c8441b 90%); /* IE10 */ background: -o-linear-gradient(90deg, #771d1d 10%, #c8441b 90%); /* Opera 11.10+ */ background: linear-gradient(90deg, #771d1d 10%, #c8441b 90%); /* W3C */ opacity: 0.9; border-top: 1px solid rgba(255, 255, 255, 0.1); } #footer > * { position: static; height: 40px; margin: 5px 20px; } .footer-template { float: right; } .footer-created { float: left; } span.glyphicon, i.fa { margin-right: 4px; } form.dropzone { border: 2px solid rgba(227, 227, 227, 0.3); background: rgba(255, 255, 255, 0.21); } /************************************ *******Works With What Page CSS****** ************************************/ #works-with-what table { width: 100% !important; } #works-with-what table td { width: 50% !important; padding: 10px !important; margin-top: auto; margin-bottom: auto; vertical-align: top; } #works-with-what img { height: auto !important; } /************************* *****Contact Page CSS***** **************************/ .btn { border: 0; border-radius: 0; -webkit-transition: color 400ms, background-color 400ms; transition: color 400ms, background-color 400ms; } .btn.btn-transparent { background: rgba(0, 0, 0, .5); color: #fff; } .btn.btn-transparent:hover { background: rgba(255, 255, 255, .3); color: #fff; } input[type="subject"].form-control, input[type="text"].form-control, input[type="email"].form-control, input[type="password"].form-control, input[type="url"].form-control, textarea.form-control { border-radius: 0; background: transparent; box-shadow: none; -webkit-box-shadow: none; color: #fff; border: 2px solid rgba(255, 255, 255, .5); } .form-control::-webkit-input-placeholder { color: rgba(255, 255, 255, .8); } .form-control:-moz-placeholder { color: rgba(255, 255, 255, .8); } .form-control::-moz-placeholder { color: rgba(255, 255, 255, .8); } .form-control:-ms-input-placeholder { color: rgba(255, 255, 255, .8); } .carousel-indicators { position: fixed; bottom: -8px; } .carousel-indicators li.active { height: 22px; width: 22px; } .carousel-indicators li { height: 20px; width: 20px; } .row { margin-right: 0; margin-left: 0; } /* responsive stuff */ @media (max-width: 768px) { #header .container { width: 188px; } h1, h2, h3, h4, h5, h6 { word-wrap: break-word; word-break: normal; } .page-header { font-size: 32px; line-height: 32px; border: 0; padding: 0; margin-top: 0; font-weight: 700; margin-bottom: 30px; } .main-nav { margin-top: 32px; margin-left: auto; margin-right: auto; width: 80%; text-align: center; font-size: 28px; } #works-with-what img { max-height: 80px !important; } #works-with-what table td { margin-top: auto; margin-bottom: auto; vertical-align: text-bottom; } } @media (min-width: 768px) { .container { width: 720px; } } @media (min-width: 992px) { .container { width: 940px; } } @media (min-width: 1200px) { .container { width: 1140px; } } /* GlintCMS overwrites */ .glintcms-block-edit { border: 1px solid rgba(245, 245, 245, 0.75); box-shadow: 1px 1px 1px 1px rgba(245, 245, 245, 0.75); } [contenteditable=true] { min-height: 16px; } /* Small screens */ @media (max-width: 500px) { .sidenav { top: 70px !important; } } /* overwrites for screen capturing */ /*body,*/ /*footer,*/ /*.preloader {*/ /*background: #4a4a4a !important;*/ /*}*/