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