Cleaner directory structure, some cleanups
This commit is contained in:
parent
7be3bf9de6
commit
a6e7d060ca
@ -2,11 +2,11 @@ module.exports = function(grunt) {
|
||||
|
||||
grunt.initConfig({
|
||||
watch: {
|
||||
files: ["css/stylus/*.styl"],
|
||||
files: ["assets/css/stylus/*.styl"],
|
||||
tasks: ["stylus"]
|
||||
},
|
||||
stylus: {
|
||||
"css/main.min.css": ["css/stylus/*.styl"],
|
||||
"assets/css/main.min.css": ["assets/css/stylus/*.styl"],
|
||||
options: {
|
||||
globals: {
|
||||
compress: true
|
||||
|
@ -15,6 +15,6 @@
|
||||
<script src="lib/js/jquery.goup.min.js"></script>
|
||||
<script src="lib/js/bootstrap.min.js"></script>
|
||||
<script src="lib/js/fastclick.min.js"></script>
|
||||
<script src="js/main.js"></script>
|
||||
<script src="assets/js/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ page.title }} - Minetest</title>
|
||||
<link rel="stylesheet" href="lib/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="css/main.min.css">
|
||||
<link rel="stylesheet" href="assets/css/main.min.css">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">
|
||||
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
|
||||
|
6
assets/css/main.min.css
vendored
Normal file
6
assets/css/main.min.css
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
.content{margin:0 20%;}.content a{color:#588f3d;text-decoration:none;transition:.15s;}.content a:hover,.content a:focus{color:#456336;text-decoration:underline}.content a:active{color:#000}@media (max-width:992px){.content{margin:0 10%}}@media (max-width:768px){.content{margin:0 5%}}@media (max-width:480px){.content{margin:0 2%}}
|
||||
@font-face{font-family:"Titillium Web Regular";font-weight:500;src:local("Titillium Web Regular"),url("../fonts/titilliumweb/TitilliumWeb-Regular.ttf")}@font-face{font-family:"Titillium Web Italic";font-style:"italic";font-weight:500;src:local("Titillium Web Italic"),url("../fonts/titilliumweb/TitilliumWeb-Italic.ttf")}@font-face{font-family:"Titillium Web Bold";font-weight:700;src:local("Titillium Web Bold"),url("../fonts/titilliumweb/TitilliumWeb-Bold.ttf")}@font-face{font-family:"Titillium Web Bold Italic";font-style:"italic";font-weight:700;src:local("Titillium Web Bold Italic"),url("../fonts/titilliumweb/TitilliumWeb-BoldItalic.ttf")}
|
||||
footer{background-color:#2e2e2e;color:#999;text-align:center;padding:3rem 0;margin-top:3rem;}footer a{color:#e6e6e6;text-decoration:none;transition:.15s;}footer a:hover,footer a:focus{color:#ccc;text-decoration:underline}footer a:active{color:#808080;text-decoration:underline}
|
||||
.jumbotron{background-image:url("../../media/background-home.jpg");background-size:cover;border-radius:0 !important;color:#fff;padding-top:25vh;margin:0 -15px !important;height:100vh;min-height:60rem;text-shadow:0 0 .5rem #000;}.jumbotron .btn{margin:4rem 4rem 0 4rem;font-size:2rem;transition:.15s}.jumbotron.reduced{padding-top:5rem;height:25vh;min-height:30rem}.jumbotron.downloads{background-image:url("../../media/background-downloads.jpg")}.jumbotron.community{background-image:url("../../media/gallery/1.jpg")}.jumbotron.credits{background-image:url("../../media/gallery/2.jpg")}.jumbotron.customize{background-image:url("../../media/gallery/3.jpg")}.jumbotron.irc{background-image:url("../../media/gallery/4.jpg")}.jumbotron.development{background-image:url("../../media/gallery/5.jpg")}
|
||||
@font-face{font-family:"Titillium Web Regular";font-weight:500;src:local("Titillium Web Regular"),url("../fonts/titilliumweb/TitilliumWeb-Regular.ttf")}@font-face{font-family:"Titillium Web Italic";font-style:"italic";font-weight:500;src:local("Titillium Web Italic"),url("../fonts/titilliumweb/TitilliumWeb-Italic.ttf")}@font-face{font-family:"Titillium Web Bold";font-weight:700;src:local("Titillium Web Bold"),url("../fonts/titilliumweb/TitilliumWeb-Bold.ttf")}@font-face{font-family:"Titillium Web Bold Italic";font-style:"italic";font-weight:700;src:local("Titillium Web Bold Italic"),url("../fonts/titilliumweb/TitilliumWeb-BoldItalic.ttf")}.navbar{box-shadow:0 0 1rem #000}.navbar-brand{font-weight:700;color:#659b4b !important;}.navbar-brand img{margin-top:-1.7rem}.content{margin:0 20%;}.content a{color:#588f3d;text-decoration:none;transition:.15s;}.content a:hover,.content a:focus{color:#456336;text-decoration:underline}.content a:active{color:#000}@media (max-width:992px){.content{margin:0 10%}}@media (max-width:768px){.content{margin:0 5%}}@media (max-width:480px){.content{margin:0 2%}}.jumbotron{background-image:url("../../media/background-home.jpg");background-size:cover;border-radius:0 !important;color:#fff;padding-top:25vh;margin:0 -15px !important;height:100vh;min-height:60rem;text-shadow:0 0 .5rem #000;}.jumbotron .btn{margin:4rem 4rem 0 4rem;font-size:2rem;transition:.15s}.jumbotron.reduced{padding-top:5rem;height:25vh;min-height:30rem}.jumbotron.downloads{background-image:url("../../media/background-downloads.jpg")}.jumbotron.community{background-image:url("../../media/gallery/1.jpg")}.jumbotron.credits{background-image:url("../../media/gallery/2.jpg")}.jumbotron.customize{background-image:url("../../media/gallery/3.jpg")}.jumbotron.irc{background-image:url("../../media/gallery/4.jpg")}.jumbotron.development{background-image:url("../../media/gallery/5.jpg")}footer{background-color:#2e2e2e;color:#999;text-align:center;padding:3rem 0;margin-top:3rem;}footer a{color:#e6e6e6;text-decoration:none;transition:.15s;}footer a:hover,footer a:focus{color:#ccc;text-decoration:underline}footer a:active{color:#808080;text-decoration:underline}::-moz-selection{background-color:#659b4b;color:#fff}::selection{background-color:#659b4b;color:#fff}body{background-color:#f2f2f2;color:#333;cursor:default;font-family:"Titillium Web Regular",sans-serif}p,li{font-size:1.7rem}h1{font-weight:bold;font-size:5rem;margin:9rem 0 4.5rem 0;text-align:center}h2{font-weight:bold;font-size:3rem;margin:6rem 0 3rem 0}h3{font-size:2.6rem;margin:5rem 0 2.5rem 0}h4{margin:3rem 0 1.5rem 0;font-size:2.2rem}pre,code{background-color:#e2e2e2;border:1px solid #ccc;color:#333}.intro{margin-top:5rem;font-size:1.8rem;text-align:center}.center{text-align:center}.line{background-color:#bbb;height:1px;margin:4rem 0;width:100%}.inline{display:inline}
|
||||
.navbar{box-shadow:0 0 1rem #000}.navbar-brand{font-weight:700;color:#659b4b !important;}.navbar-brand img{margin-top:-1.7rem}
|
22
assets/css/stylus/footer.styl
Normal file
22
assets/css/stylus/footer.styl
Normal file
@ -0,0 +1,22 @@
|
||||
// footer.styl: Footer
|
||||
|
||||
footer
|
||||
background-color hsl(0, 0, 18%)
|
||||
color hsl(0, 0, 60%)
|
||||
text-align center
|
||||
padding 3rem 0
|
||||
margin-top 3rem
|
||||
|
||||
a
|
||||
color hsl(0, 0, 90%)
|
||||
text-decoration none
|
||||
transition .15s
|
||||
|
||||
&:hover,
|
||||
&:focus
|
||||
color hsl(0, 0, 80%)
|
||||
text-decoration underline
|
||||
|
||||
&:active
|
||||
color hsl(0, 0, 50%)
|
||||
text-decoration underline
|
@ -1,7 +1,7 @@
|
||||
// jumbotron.styl: Jumbotron
|
||||
|
||||
.jumbotron
|
||||
background-image url("../media/background-home.jpg")
|
||||
background-image url("../../media/background-home.jpg")
|
||||
background-size cover
|
||||
border-radius 0 !important
|
||||
color #fff
|
||||
@ -22,19 +22,19 @@
|
||||
min-height 30rem
|
||||
|
||||
&.downloads
|
||||
background-image url("../media/background-downloads.jpg")
|
||||
background-image url("../../media/background-downloads.jpg")
|
||||
|
||||
&.community
|
||||
background-image url("../media/gallery/1.jpg")
|
||||
background-image url("../../media/gallery/1.jpg")
|
||||
|
||||
&.credits
|
||||
background-image url("../media/gallery/2.jpg")
|
||||
background-image url("../../media/gallery/2.jpg")
|
||||
|
||||
&.customize
|
||||
background-image url("../media/gallery/3.jpg")
|
||||
background-image url("../../media/gallery/3.jpg")
|
||||
|
||||
&.irc
|
||||
background-image url("../media/gallery/4.jpg")
|
||||
background-image url("../../media/gallery/4.jpg")
|
||||
|
||||
&.development
|
||||
background-image url("../media/gallery/5.jpg")
|
||||
background-image url("../../media/gallery/5.jpg")
|
6
css/main.min.css
vendored
6
css/main.min.css
vendored
@ -1,6 +0,0 @@
|
||||
.content{margin:0 20%;}.content a{color:#588f3d;text-decoration:none;transition:.15s;}.content a:hover,.content a:focus{color:#456336;text-decoration:underline}.content a:active{color:#000}@media (max-width:992px){.content{margin:0 10%}}@media (max-width:768px){.content{margin:0 5%}}@media (max-width:480px){.content{margin:0 2%}}
|
||||
@font-face{font-family:"Titillium Web Regular";font-weight:500;src:local("Titillium Web Regular"),url("../fonts/titilliumweb/TitilliumWeb-Regular.ttf")}@font-face{font-family:"Titillium Web Italic";font-style:"italic";font-weight:500;src:local("Titillium Web Italic"),url("../fonts/titilliumweb/TitilliumWeb-Italic.ttf")}@font-face{font-family:"Titillium Web Bold";font-weight:700;src:local("Titillium Web Bold"),url("../fonts/titilliumweb/TitilliumWeb-Bold.ttf")}@font-face{font-family:"Titillium Web Bold Italic";font-style:"italic";font-weight:700;src:local("Titillium Web Bold Italic"),url("../fonts/titilliumweb/TitilliumWeb-BoldItalic.ttf")}
|
||||
footer{background-color:#2e2e2e;color:#999;text-align:center;padding:3rem 0;margin-top:3rem;}footer a{color:#e6e6e6;border-bottom:1px solid #e6e6e6;transition:.15s;}footer a:hover,footer a:focus{color:#b3b3b3;border-bottom:1px solid #b3b3b3;text-decoration:none}footer a:active{color:#808080;border-bottom:1px solid #808080}
|
||||
.jumbotron{background-image:url("../media/background-home.jpg");background-size:cover;border-radius:0 !important;color:#fff;padding-top:25vh;margin:0 -15px !important;height:100vh;min-height:60rem;text-shadow:0 0 .5rem #000;}.jumbotron .btn{margin:4rem 4rem 0 4rem;font-size:2rem;transition:.15s}.jumbotron.reduced{padding-top:5rem;height:25vh;min-height:30rem}.jumbotron.downloads{background-image:url("../media/background-downloads.jpg")}.jumbotron.community{background-image:url("../media/gallery/1.jpg")}.jumbotron.credits{background-image:url("../media/gallery/2.jpg")}.jumbotron.customize{background-image:url("../media/gallery/3.jpg")}.jumbotron.irc{background-image:url("../media/gallery/4.jpg")}.jumbotron.development{background-image:url("../media/gallery/5.jpg")}
|
||||
@font-face{font-family:"Titillium Web Regular";font-weight:500;src:local("Titillium Web Regular"),url("../fonts/titilliumweb/TitilliumWeb-Regular.ttf")}@font-face{font-family:"Titillium Web Italic";font-style:"italic";font-weight:500;src:local("Titillium Web Italic"),url("../fonts/titilliumweb/TitilliumWeb-Italic.ttf")}@font-face{font-family:"Titillium Web Bold";font-weight:700;src:local("Titillium Web Bold"),url("../fonts/titilliumweb/TitilliumWeb-Bold.ttf")}@font-face{font-family:"Titillium Web Bold Italic";font-style:"italic";font-weight:700;src:local("Titillium Web Bold Italic"),url("../fonts/titilliumweb/TitilliumWeb-BoldItalic.ttf")}.navbar{box-shadow:0 0 1rem #000}.navbar-brand{font-weight:700;color:#659b4b !important;}.navbar-brand img{margin-top:-1.7rem}.content{margin:0 20%;}.content a{color:#588f3d;text-decoration:none;transition:.15s;}.content a:hover,.content a:focus{color:#456336;text-decoration:underline}.content a:active{color:#000}@media (max-width:992px){.content{margin:0 10%}}@media (max-width:768px){.content{margin:0 5%}}@media (max-width:480px){.content{margin:0 2%}}.jumbotron{background-image:url("../media/background-home.jpg");background-size:cover;border-radius:0 !important;color:#fff;padding-top:25vh;margin:0 -15px !important;height:100vh;min-height:60rem;text-shadow:0 0 .5rem #000;}.jumbotron .btn{margin:4rem 4rem 0 4rem;font-size:2rem;transition:.15s}.jumbotron.reduced{padding-top:5rem;height:25vh;min-height:30rem}.jumbotron.downloads{background-image:url("../media/background-downloads.jpg")}.jumbotron.community{background-image:url("../media/gallery/1.jpg")}.jumbotron.credits{background-image:url("../media/gallery/2.jpg")}.jumbotron.customize{background-image:url("../media/gallery/3.jpg")}.jumbotron.irc{background-image:url("../media/gallery/4.jpg")}.jumbotron.development{background-image:url("../media/gallery/5.jpg")}footer{background-color:#2e2e2e;color:#999;text-align:center;padding:3rem 0;margin-top:3rem;}footer a{color:#e6e6e6;border-bottom:1px solid #e6e6e6;transition:.15s;}footer a:hover,footer a:focus{color:#b3b3b3;border-bottom:1px solid #b3b3b3;text-decoration:none}footer a:active{color:#808080;border-bottom:1px solid #808080}::-moz-selection{background-color:#659b4b;color:#fff}::selection{background-color:#659b4b;color:#fff}body{background-color:#f2f2f2;color:#333;cursor:default;font-family:"Titillium Web Regular",sans-serif}p,li{font-size:1.7rem}h1{font-weight:bold;font-size:5rem;margin:9rem 0 4.5rem 0;text-align:center}h2{font-weight:bold;font-size:3rem;margin:6rem 0 3rem 0}h3{font-size:2.6rem;margin:5rem 0 2.5rem 0}h4{margin:3rem 0 1.5rem 0;font-size:2.2rem}pre,code{background-color:#e2e2e2;border:1px solid #ccc;color:#333}.intro{margin-top:5rem;font-size:1.8rem;text-align:center}.center{text-align:center}.line{background-color:#bbb;height:1px;margin:4rem 0;width:100%}.inline{display:inline}
|
||||
.navbar{box-shadow:0 0 1rem #000}.navbar-brand{font-weight:700;color:#659b4b !important;}.navbar-brand img{margin-top:-1.7rem}
|
@ -1,23 +0,0 @@
|
||||
// footer.styl: Footer
|
||||
|
||||
footer
|
||||
background-color hsl(0, 0%, 18%)
|
||||
color hsl(0, 0%, 60%)
|
||||
text-align center
|
||||
padding 3rem 0
|
||||
margin-top 3rem
|
||||
|
||||
a
|
||||
color hsl(0, 0%, 90%)
|
||||
border-bottom 1px solid hsl(0, 0%, 90%)
|
||||
transition .15s
|
||||
|
||||
&:hover,
|
||||
&:focus
|
||||
color hsl(0, 0%, 70%)
|
||||
border-bottom 1px solid hsl(0, 0%, 70%)
|
||||
text-decoration none
|
||||
|
||||
&:active
|
||||
color hsl(0, 0%, 50%)
|
||||
border-bottom 1px solid hsl(0, 0%, 50%)
|
Loading…
x
Reference in New Issue
Block a user