conversion to scss
This commit is contained in:
parent
23aa50e4a6
commit
54dc0b77fa
13 changed files with 3411 additions and 246 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.sass-cache/b863b6aa466a488d46195922207da5ecfd250f57/_ntp.scssc
Normal file
BIN
.sass-cache/b863b6aa466a488d46195922207da5ecfd250f57/_ntp.scssc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -1,247 +1,3 @@
|
|||
@media all {
|
||||
div,
|
||||
h1,
|
||||
p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
*:before,
|
||||
*:after {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
div {
|
||||
zoom: 1;
|
||||
}
|
||||
div:before,
|
||||
div:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
div:after {
|
||||
clear: both;
|
||||
}
|
||||
h1 {
|
||||
font-weight: bold;
|
||||
}
|
||||
p {
|
||||
margin: 0 0 14px 0;
|
||||
}
|
||||
h1 {
|
||||
margin: 0 0 54px 0;
|
||||
color: #000;
|
||||
text-transform: uppercase;
|
||||
font-size: 3em;
|
||||
font-weight: 600;
|
||||
line-height: 115%;
|
||||
}
|
||||
p {
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
}
|
||||
.gridContainer {
|
||||
width: 100%;
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.header-homepage {
|
||||
background-image:url(/img/bannerHome.webp);
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
position: relative;
|
||||
color: #fff;
|
||||
z-index: 0;
|
||||
padding-top: 160px;
|
||||
padding-bottom: 160px;
|
||||
}
|
||||
.header-homepage:before {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
display: inline-block;
|
||||
}
|
||||
.header-separator-bottom {
|
||||
position: absolute;
|
||||
bottom: -1px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.header-separator svg {
|
||||
display: block;
|
||||
width: calc(100% + 1.3px);
|
||||
}
|
||||
.header-separator {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
bottom: -1px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.svg-white-bg {
|
||||
fill: #1a2332;
|
||||
}
|
||||
.header-description {
|
||||
min-height: 100px;
|
||||
text-align: center;
|
||||
}
|
||||
p.header-subtitle {
|
||||
color: #fff;
|
||||
font-weight: 300;
|
||||
font-size: 1.4em;
|
||||
text-align: inherit;
|
||||
}
|
||||
.color-overlay:before {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
display: inline-block;
|
||||
content: "";
|
||||
-webkit-transform: translate3d(0, 0, -1px);
|
||||
}
|
||||
.header-wrapper {
|
||||
background-color: #ebebeb;
|
||||
position: relative;
|
||||
}
|
||||
h1.heading8 {
|
||||
font-weight: 600;
|
||||
font-size: 2.2em;
|
||||
color: #fff;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.header-description-row {
|
||||
padding: 0 15px 0 15px;
|
||||
display: block;
|
||||
}
|
||||
.align-holder {
|
||||
width: 100%;
|
||||
}
|
||||
.header-buttons-wrapper {
|
||||
margin: 0;
|
||||
}
|
||||
@media only screen and (min-width:768px) {
|
||||
h1 {
|
||||
font-size: 3.4em;
|
||||
}
|
||||
p {
|
||||
line-height: 130%;
|
||||
}
|
||||
h1.heading8 {
|
||||
font-size: 3.3em;
|
||||
}
|
||||
.gridContainer {
|
||||
width: 90%;
|
||||
max-width: 1232px;
|
||||
}
|
||||
.gridContainer .row {
|
||||
margin-left: -15px;
|
||||
margin-right: -15px;
|
||||
clear: both;
|
||||
}
|
||||
.header-description-row:before,
|
||||
.header-description-row:after {
|
||||
content: normal;
|
||||
}
|
||||
.header-content-centered {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.header-buttons-wrapper {
|
||||
margin: 0 -9px 0 -9px;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width:1024px) {
|
||||
.gridContainer {
|
||||
width: 80%;
|
||||
}
|
||||
h1 {
|
||||
font-size: 3.8em;
|
||||
}
|
||||
p {
|
||||
line-height: 150%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.red {
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
||||
@media all {
|
||||
.gridContainer {
|
||||
margin-right: auto!important;
|
||||
margin-left: auto!important;
|
||||
}
|
||||
.header-homepage {
|
||||
background-color: #fff;
|
||||
}
|
||||
@media only screen and (min-width:1024px) {
|
||||
.header-homepage {
|
||||
min-height: auto;
|
||||
}
|
||||
}
|
||||
p {
|
||||
margin: 0 0 20px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media all {
|
||||
.homepage-template .svg-white-bg {
|
||||
fill: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.header-homepage.color-overlay:before {
|
||||
background-color: #000;
|
||||
opacity: .4;
|
||||
}
|
||||
|
||||
.header-homepage+.header-separator svg {
|
||||
height: 90px!important;
|
||||
}
|
||||
|
||||
.header-separator svg {
|
||||
height: 90px!important;
|
||||
}
|
||||
|
||||
.header-homepage .header-description-row {
|
||||
padding-top: 8%;
|
||||
padding-bottom: 8%;
|
||||
}
|
||||
|
||||
@media only screen and (min-width:768px) {
|
||||
.header-content .align-holder {
|
||||
text-align: center!important;
|
||||
}
|
||||
.header-content {
|
||||
width: 100%!important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width:768px) {
|
||||
.header-homepage {
|
||||
padding-bottom: 230px;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
background-color: #151d28;
|
||||
|
@ -283,6 +39,10 @@ a{
|
|||
display: inline;
|
||||
}
|
||||
|
||||
.red {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.center{
|
||||
text-align: center;
|
||||
}
|
||||
|
|
195
scss/_header.scss
Normal file
195
scss/_header.scss
Normal file
|
@ -0,0 +1,195 @@
|
|||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
&:before {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
&:after {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
.gridContainer {
|
||||
width: 100%;
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-right: auto !important;
|
||||
margin-left: auto !important;
|
||||
}
|
||||
.header-homepage {
|
||||
background-image: url(/img/bannerHome.webp);
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
position: relative;
|
||||
color: #fff;
|
||||
z-index: 0;
|
||||
padding-top: 160px;
|
||||
padding-bottom: 160px;
|
||||
&:before {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
display: inline-block;
|
||||
background-color: #fff;
|
||||
padding-bottom: 230px;
|
||||
}
|
||||
.header-description-row {
|
||||
padding-top: 8%;
|
||||
padding-bottom: 8%;
|
||||
}
|
||||
}
|
||||
.header-separator-bottom {
|
||||
position: absolute;
|
||||
bottom: -1px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
svg { display: block;
|
||||
width: calc(100% + 1.3px);
|
||||
}
|
||||
.header-separator {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
bottom: -1px;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
.svg-white-bg {
|
||||
fill: #1a2332;
|
||||
}
|
||||
.header-description {
|
||||
min-height: 100px;
|
||||
text-align: center;
|
||||
}
|
||||
p.header-subtitle {
|
||||
color: #fff;
|
||||
font-weight: 300;
|
||||
font-size: 1.4em;
|
||||
text-align: inherit;
|
||||
}
|
||||
.color-overlay {
|
||||
&:before {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
display: inline-block;
|
||||
content: "";
|
||||
-webkit-transform: translate3d(0, 0, -1px);
|
||||
}
|
||||
}
|
||||
.header-wrapper {
|
||||
background-color: #ebebeb;
|
||||
position: relative;
|
||||
}
|
||||
h1.heading8 {
|
||||
font-weight: 600;
|
||||
font-size: 2.2em;
|
||||
color: #fff;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.header-description-row {
|
||||
padding: 0 15px 0 15px;
|
||||
display: block;
|
||||
}
|
||||
.align-holder {
|
||||
width: 100%;
|
||||
}
|
||||
.header-buttons-wrapper {
|
||||
margin: 0;
|
||||
}
|
||||
p {
|
||||
margin: 0 0 20px 0;
|
||||
}
|
||||
.homepage-template {
|
||||
.svg-white-bg {
|
||||
fill: #fff;
|
||||
}
|
||||
}
|
||||
.header-homepage.color-overlay {
|
||||
&:before {
|
||||
background-color: #000;
|
||||
opacity: .4;
|
||||
}
|
||||
}
|
||||
.header-homepage.header-separator {
|
||||
svg {
|
||||
height: 90px !important;
|
||||
}
|
||||
}
|
||||
.header-separator {
|
||||
svg {
|
||||
height: 90px !important;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width:768px) {
|
||||
h1 {
|
||||
font-size: 3.4em;
|
||||
}
|
||||
p {
|
||||
line-height: 130%;
|
||||
}
|
||||
h1.heading8 {
|
||||
font-size: 3.3em;
|
||||
}
|
||||
.gridContainer {
|
||||
width: 90%;
|
||||
max-width: 1232px;
|
||||
|
||||
.row {
|
||||
margin-left: -15px;
|
||||
margin-right: -15px;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
.header-description-row {
|
||||
&:before {
|
||||
content: normal;
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: normal;
|
||||
}
|
||||
}
|
||||
.header-content-centered {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.header-buttons-wrapper {
|
||||
margin: 0 -9px 0 -9px;
|
||||
clear: both;
|
||||
}
|
||||
.header-content {
|
||||
width: 100% !important;
|
||||
|
||||
.align-holder {
|
||||
text-align: center !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1024px) {
|
||||
.gridContainer {
|
||||
width: 80%;
|
||||
}
|
||||
h1 {
|
||||
font-size: 3.8em;
|
||||
}
|
||||
p {
|
||||
line-height: 150%;
|
||||
}
|
||||
.header-homepage {
|
||||
min-height: auto;
|
||||
}
|
||||
}
|
|
@ -4,4 +4,5 @@
|
|||
@import "normalize";
|
||||
@import "ntp";
|
||||
@import "prism";
|
||||
@import "sourcesanspro";
|
||||
@import "sourcesanspro";
|
||||
@import "header";
|
Loading…
Add table
Reference in a new issue