mirror of https://github.com/Oreolek/shooter.git
WIP: Bootstrap v4 integration.
parent
c89172ba94
commit
e40045e325
@ -0,0 +1,3 @@
|
||||
[submodule "sass/bootstrap"]
|
||||
path = sass/bootstrap
|
||||
url = https://github.com/twbs/bootstrap.git
|
@ -1,75 +0,0 @@
|
||||
/* Animate newly inserted DOM elements within content */
|
||||
|
||||
/* "Why don't we just use opacity?"
|
||||
"Because opacity, creates massive jank and this doesn't. Browsers!"
|
||||
*/
|
||||
.fade-in() {
|
||||
animation: fadeIn 500ms ease-in-out;
|
||||
-webkit-animation: fadeIn 500ms ease-in-out;
|
||||
//-moz-animation: fadeIn 500ms;
|
||||
a {
|
||||
animation: fadeInA 500ms ease-in-out;
|
||||
-webkit-animation: fadeInA 500ms ease-in-out;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from {
|
||||
color: rgba(0,0,0,0);
|
||||
}
|
||||
to {
|
||||
color: rgba(0,0,0,1);
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes fadeIn {
|
||||
from {
|
||||
color: rgba(0,0,0,0);
|
||||
}
|
||||
to {
|
||||
color: rgba(0,0,0,1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeInA {
|
||||
0% {
|
||||
color: transparentize(@anchor-colour, 1);
|
||||
}
|
||||
100% {
|
||||
color: transparentize(@anchor-colour, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes fadeInA {
|
||||
from {
|
||||
color: transparentize(@anchor-colour, 1);
|
||||
}
|
||||
to {
|
||||
color: transparentize(@anchor-colour, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeInS {
|
||||
0% {
|
||||
color: transparentize(@option-colour, 1);
|
||||
}
|
||||
100% {
|
||||
color: @option-colour;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes fadeInS {
|
||||
from {
|
||||
color: transparentize(@option-colour, 1);
|
||||
}
|
||||
to {
|
||||
color: @option-colour;
|
||||
}
|
||||
}
|
||||
|
||||
.fade {
|
||||
.fade-in();
|
||||
}
|
||||
|
||||
|
@ -1,57 +0,0 @@
|
||||
/////////////////
|
||||
// Semantic.gs // for LESS: http://lesscss.org/
|
||||
/////////////////
|
||||
|
||||
// Defaults which you can freely override
|
||||
@column-width: 60;
|
||||
@gutter-width: 20;
|
||||
@columns: 12;
|
||||
|
||||
// Utility variable — you should never need to modify this
|
||||
@gridsystem-width: (@column-width*@columns) + (@gutter-width*@columns) * 1px;
|
||||
|
||||
// Set @total-width to 100% for a fluid layout
|
||||
@total-width: @gridsystem-width;
|
||||
|
||||
// The micro clearfix http://nicolasgallagher.com/micro-clearfix-hack/
|
||||
.clearfix() {
|
||||
*zoom:1;
|
||||
|
||||
&:before,
|
||||
&:after {
|
||||
content:"";
|
||||
display:table;
|
||||
}
|
||||
&:after {
|
||||
clear:both;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//////////
|
||||
// GRID //
|
||||
//////////
|
||||
|
||||
body {
|
||||
width: 100%;
|
||||
.clearfix;
|
||||
}
|
||||
|
||||
.row(@columns:@columns) {
|
||||
display: block;
|
||||
width: @total-width*((@gutter-width + @gridsystem-width)/@gridsystem-width);
|
||||
margin: 0 @total-width*(((@gutter-width*.5)/@gridsystem-width)*-1);
|
||||
.clearfix;
|
||||
}
|
||||
.column(@x,@columns:@columns) {
|
||||
display: inline;
|
||||
float: left;
|
||||
width: @total-width*((((@gutter-width+@column-width)*@x)-@gutter-width) / @gridsystem-width);
|
||||
margin: 0 @total-width*((@gutter-width*.5)/@gridsystem-width);
|
||||
}
|
||||
.push(@offset:1) {
|
||||
margin-left: @total-width*(((@gutter-width+@column-width)*@offset) / @gridsystem-width) + @total-width*((@gutter-width*.5)/@gridsystem-width);
|
||||
}
|
||||
.pull(@offset:1) {
|
||||
margin-right: @total-width*(((@gutter-width+@column-width)*@offset) / @gridsystem-width) + @total-width*((@gutter-width*.5)/@gridsystem-width);
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
$font-family-sans-serif: 'PT Sans','Open Sans',"Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
$body-bg: lightgrey url("../img/background.jpg");
|
||||
$link-color: #D29506;
|
||||
|
||||
/*
|
||||
@text-colour: rgba(0,0,0,0.9);
|
||||
@anchor-colour: #D29506;
|
||||
@option-colour: #125D79;
|
||||
|
||||
@background: lightgrey url("../img/background.jpg");
|
||||
@text_background: #e6e6c6;
|
||||
@color: black;
|
||||
@links: #B68000;
|
||||
*/
|
@ -0,0 +1 @@
|
||||
Subproject commit 70247e36f64295c61e0f867606793da5a26eebeb
|
Loading…
Reference in New Issue