update style
This commit is contained in:
parent
61798ac3cd
commit
0c050b080a
|
@ -8,7 +8,11 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="page" class="container">
|
<div id="page" class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col control">
|
||||||
<button id="restart" type="button" class="btn btn-warning">Restart</button>
|
<button id="restart" type="button" class="btn btn-warning">Restart</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div id="content" class="col"></div>
|
<div id="content" class="col"></div>
|
||||||
<div class="col col-md-10 offset-md-1">
|
<div class="col col-md-10 offset-md-1">
|
||||||
|
|
|
@ -65,9 +65,11 @@ continueToNextChoice = function(s) {
|
||||||
jQuery("#content").append("<p>THE END</p>");
|
jQuery("#content").append("<p>THE END</p>");
|
||||||
jQuery("#options").html("");
|
jQuery("#options").html("");
|
||||||
}
|
}
|
||||||
|
if (window.progress.length > 0) {
|
||||||
return jQuery('html, body').animate({
|
return jQuery('html, body').animate({
|
||||||
scrollTop: scrollTo
|
scrollTop: scrollTo
|
||||||
}, 800);
|
}, 800);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
loadGame = function(s) {
|
loadGame = function(s) {
|
||||||
|
|
|
@ -62,13 +62,16 @@ h2 {
|
||||||
#page {
|
#page {
|
||||||
background: $content-bg;
|
background: $content-bg;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
padding-top: ($font-size-base * 0.5);
|
||||||
|
@include media-breakpoint-up(sm) {
|
||||||
margin-top: $font-size-base;
|
margin-top: $font-size-base;
|
||||||
padding-top: ($font-size-base / 2);
|
}
|
||||||
}
|
}
|
||||||
#restart {
|
#restart {
|
||||||
position: fixed;
|
float: right;
|
||||||
top: $font-size-base / 2;
|
}
|
||||||
right: $font-size-base / 2;
|
.control {
|
||||||
|
margin-bottom: ($font-size-base * 0.5)
|
||||||
}
|
}
|
||||||
#content {
|
#content {
|
||||||
.subtitle {
|
.subtitle {
|
||||||
|
|
Loading…
Reference in a new issue