1
Fork 0

Use build scss files

This commit is contained in:
Jake Howard 2017-04-21 22:17:57 +01:00
parent ab5c2042f6
commit 90bfd0803e
8 changed files with 1545 additions and 168 deletions

1
.gitignore vendored
View file

@ -129,3 +129,4 @@ typings/
# End of https://www.gitignore.io/api/node,hugo,jetbrains # End of https://www.gitignore.io/api/node,hugo,jetbrains
static/build/css

View file

@ -3,7 +3,7 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="build/js/ie/html5shiv.js"></script><![endif]--> <!--[if lte IE 8]><script src="build/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="/build/css/main.css" /> <link rel="stylesheet" href="/build/css/style.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap-grid.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap-grid.min.css">
<!--[if lte IE 8]><link rel="stylesheet" href="build/css/ie8.css" /><![endif]--> <!--[if lte IE 8]><link rel="stylesheet" href="build/css/ie8.css" /><![endif]-->

View file

@ -41,6 +41,8 @@ const buildSCSS = function () {
if (!error) { if (!error) {
fs.writeFileSync(OUT_FILE, result.css); fs.writeFileSync(OUT_FILE, result.css);
console.log("Build CSS"); console.log("Build CSS");
} else {
console.log("ERROR", error);
} }
}); });
} }

File diff suppressed because one or more lines are too long

View file

@ -1,161 +0,0 @@
/*
Alpha by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
/* Basic */
pre, code {
position: relative;
-ms-behavior: url("assets/js/ie/PIE.htc");
}
/* Form */
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
position: relative;
-ms-behavior: url("assets/js/ie/PIE.htc");
line-height: 3em;
}
input[type="checkbox"],
input[type="radio"] {
opacity: 1;
z-index: auto;
}
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
display: none;
}
/* Button */
input[type="submit"],
input[type="reset"],
input[type="button"],
.button {
position: relative;
-ms-behavior: url("assets/js/ie/PIE.htc");
}
input[type="submit"].alt,
input[type="reset"].alt,
input[type="button"].alt,
.button.alt {
border: solid 2px #e5e5e5;
}
/* Box */
.box {
position: relative;
-ms-behavior: url("assets/js/ie/PIE.htc");
}
.box .image.featured {
margin: 2em 0;
width: 100%;
}
/* Icon */
.icon.major {
position: relative;
-ms-behavior: url("assets/js/ie/PIE.htc");
}
/* Image */
.image {
position: relative;
-ms-behavior: url("assets/js/ie/PIE.htc");
}
.image img {
position: relative;
-ms-behavior: url("assets/js/ie/PIE.htc");
}
/* Header */
#header nav > ul > li a {
color: #fff;
display: inline-block;
text-decoration: none;
border: 0;
}
#header nav > ul > li a.icon:before {
color: #fff;
margin-right: 0.5em;
}
#header.alt {
color: #fff;
}
#header.alt nav > ul > li a:not(.button).icon:before {
color: rgba(255, 255, 255, 0.75);
}
#header.alt nav > ul > li.active a:not(.button) {
background-color: rgba(255, 255, 255, 0.2);
}
.dropotron {
border: solid 1px #e5e5e5;
}
.dropotron.level-0 {
margin-top: 0;
}
.dropotron.level-0:before {
display: none;
}
/* Banner */
#banner {
background-attachment: scroll;
background-image: url("../../images/banner.jpg");
background-position: auto;
background-repeat: no-repeat;
background-size: cover;
-ms-behavior: url("assets/js/ie/backgroundsize.min.htc");
}
#banner input[type="submit"],
#banner input[type="reset"],
#banner input[type="button"],
#banner .button {
border: solid 2px #fff;
}
/* Main */
#main {
position: relative;
z-index: 1;
}
/* CTA */
#cta input[type="text"],
#cta input[type="password"],
#cta input[type="email"],
#cta select,
#cta textarea {
background: #e89980;
border: solid 2px #fff;
}
#cta .formerize-placeholder {
color: #fff !important;
}

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,3 @@
@import url("font-awesome.min.css");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,300italic,400italic"); @import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,300italic,400italic");
/* /*

View file

@ -0,0 +1 @@
@import 'alpha';