1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2025-12-10 00:36:42 +01:00
projekteuler/app/assets/stylesheets/application.css.scss

85 lines
1.8 KiB
SCSS

/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
* compiled file so the styles you add here take precedence over styles defined in any styles
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
* file per style scope.
*
*= require_tree .
*= require codemirror
*= require_self
*/
@import "bootstrap-sprockets";
@import "bootstrap";
.turbolinks-progress-bar {
background-color: $brand-primary;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 40px;
background-color: $navbar-default-bg;
}
.container .text-muted {
margin: 10px 0;
}
/* Custom css for fixing styles within problem content */
.problem-content {
blockquote {
margin: 0px;
font-size: 14px;
border-left: medium none;
}
div {
margin: 0px 0px 10px;
}
table {
border-collapse: separate;
border-spacing: 2px;
}
td {
padding: 1px;
}
// Make info/note boxes styled like bootstrap info alerts
> .info, > .note {
@extend .alert;
@extend .alert-info;
margin-bottom: 0px;
> a {
@extend .alert-link;
}
}
dfn {
border-bottom: 1px dotted;
font-style: normal;
cursor: help;
}
}