1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 02:28:50 +01:00

Switch to Bootstrap 4

This commit is contained in:
2019-12-23 17:49:54 +01:00
parent f28cade211
commit f08254ffef
26 changed files with 207 additions and 120 deletions

View File

@@ -15,11 +15,13 @@
*= require_tree .
*/
@import "bootstrap-sprockets";
@import "bootstrap";
@import "rails_bootstrap_forms";
@import "font-awesome-sprockets";
@import "font-awesome";
.turbolinks-progress-bar {
background-color: $brand-primary;
background-color: $primary;
}
/* Sticky footer styles
-------------------------------------------------- */
@@ -37,21 +39,33 @@ body {
width: 100%;
/* Set the fixed height of the footer here */
height: 40px;
background-color: $navbar-default-bg;
background-color: $light;
}
.container .text-muted {
margin: 10px 0;
}
.problem-buttons {
position: relative;
display: block;
}
.problem-buttons .problem-buttons-inner {
position: absolute;
right: 0;
top: 0;
z-index: 10;
}
/* Style for links to previous and next problem */
.problem-prev {
@extend .pull-left;
float: left;
margin: 20px -30px 0;
}
.problem-next {
@extend .pull-right;
float: right;
margin: 20px -30px 0;
}