630 lines
9.3 KiB
CSS
630 lines
9.3 KiB
CSS
/* Grayscale.css v:0.8.1 | MIT LICENSE | https://github.com/n2geoff/grayscale */
|
|
|
|
/* CSS Reset */
|
|
|
|
html {
|
|
box-sizing: border-box;
|
|
font-family: georgia, serif;
|
|
font-size: 16px;
|
|
line-height: 1.4em;
|
|
color: #2A2A2A;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
*,
|
|
*:before,
|
|
*:after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
}
|
|
|
|
body,
|
|
html,
|
|
span,
|
|
div {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-weight: normal;
|
|
}
|
|
|
|
ol,
|
|
ul {
|
|
list-style: none;
|
|
}
|
|
|
|
img,
|
|
embed,
|
|
iframe,
|
|
object,
|
|
audio,
|
|
video {
|
|
height: auto;
|
|
max-width: 100%;
|
|
border: none;
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
/* Blockquote */
|
|
|
|
.blockquote,
|
|
.quote {
|
|
border-left: 0.4em solid #E6E6E6;
|
|
background-color: #F9F9F9;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
padding: 1em 1.5em;
|
|
}
|
|
|
|
.blockquote *:last-child,
|
|
.quote *:last-child {
|
|
margin: 0;
|
|
}
|
|
|
|
/* Buttons */
|
|
|
|
.button,
|
|
a.button,
|
|
.button[type="submit"],
|
|
.button[type="reset"],
|
|
.button[type="button"] {
|
|
position: relative;
|
|
zoom: 1;
|
|
line-height: normal;
|
|
margin: 0;
|
|
white-space: nowrap;
|
|
vertical-align: top;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
box-sizing: border-box;
|
|
font-family: inherit;
|
|
font-size: 1em;
|
|
padding: .5em 1em;
|
|
background-color: #F9F9F9;
|
|
text-decoration: none;
|
|
border: 1px solid #c6c6c6;
|
|
}
|
|
|
|
.button.is-link {
|
|
color: #101111;
|
|
border-color: transparent;
|
|
background-color: transparent;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.button.is-link:hover {
|
|
background-image: none;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.button.is-rounded {
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.button:hover,
|
|
.button[type="submit"]:hover,
|
|
.button[type="reset"]:hover,
|
|
.button[type="button"]:hover {
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(0,0,0,0)', endColorstr='#1a000000',GradientType=0);
|
|
background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
|
|
}
|
|
|
|
.button:active,
|
|
.button[type="submit"]:active,
|
|
.button[type="reset"]:active,
|
|
.button[type="button"]:active {
|
|
box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
|
|
border-color: #000;
|
|
}
|
|
|
|
.button:focus,
|
|
.button[type="submit"]:focus,
|
|
.button[type="reset"]:focus,
|
|
.button[type="button"]:focus {
|
|
outline: 0;
|
|
}
|
|
|
|
.is-disabled,
|
|
.is-disabled:hover,
|
|
.is-disabled:active,
|
|
.is-disabled:focus {
|
|
border: 1px solid #c6c6c6;
|
|
background-image: none;
|
|
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
filter: alpha(opacity=40);
|
|
opacity: 0.40;
|
|
cursor: not-allowed;
|
|
box-shadow: none;
|
|
}
|
|
|
|
a.button,
|
|
a.button:active,
|
|
a.button:visited {
|
|
display: inline-block;
|
|
color: inherit;
|
|
}
|
|
|
|
/* Card Component */
|
|
|
|
.card {
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
-webkit-box-flex: 0;
|
|
-ms-flex: 0 1 calc(50% - 0.5em);
|
|
flex: 0 1 calc(50% - 0.5em);
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.card-header {
|
|
font-weight: bold;
|
|
margin: 0;
|
|
padding: .5em;
|
|
}
|
|
|
|
.card-content {
|
|
padding: 1em .5em;
|
|
min-height: 100px;
|
|
}
|
|
|
|
.card-footer {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-align: stretch;
|
|
-ms-flex-align: stretch;
|
|
align-items: stretch;
|
|
border-top: 1px solid #dbdbdb;
|
|
-webkit-box-flex: 1;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
}
|
|
|
|
.card-footer .card-footer-item {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-flex: 1;
|
|
-ms-flex: 1 0 0;
|
|
flex: 1 0 0;
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
-webkit-box-pack: center;
|
|
-ms-flex-pack: center;
|
|
justify-content: center;
|
|
margin: 0;
|
|
padding: 1em;
|
|
}
|
|
|
|
.card.is-shadowed {
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Forms */
|
|
|
|
.field,
|
|
.textarea {
|
|
font-size: 1em;
|
|
height: 36px;
|
|
width: 100%;
|
|
padding: 6px 10px;
|
|
/* The 6px vertically centers text on FF, ignored by Webkit */
|
|
background-color: #F9F9F9;
|
|
border: 1px solid #E6E6E6;
|
|
box-shadow: none;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.textarea {
|
|
min-height: 6em;
|
|
padding-top: 6px;
|
|
padding-bottom: 6px;
|
|
}
|
|
|
|
.field[type="checkbox"],
|
|
.field[type="radio"] {
|
|
position: relative;
|
|
bottom: -3px;
|
|
height: 16px;
|
|
width: 16px;
|
|
}
|
|
|
|
.field:hover,
|
|
.textarea:hover {
|
|
border: 1px solid #c6c6c6;
|
|
outline: 0;
|
|
}
|
|
|
|
.field:focus,
|
|
.textarea:focus {
|
|
border: 1px solid #787878;
|
|
background-color: #FFF;
|
|
outline: 0;
|
|
}
|
|
|
|
.field-group,
|
|
.group {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-flex-pack: distribute;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.stack {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.addon {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-pack: start;
|
|
-ms-flex-pack: start;
|
|
justify-content: flex-start;
|
|
padding: 0 1em;
|
|
line-height: 2em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.label,
|
|
.legend {
|
|
display: block;
|
|
padding: 0.5em 0;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.fieldset {
|
|
margin: .5em;
|
|
padding: 0;
|
|
border-width: 0;
|
|
}
|
|
|
|
/* Layout Container */
|
|
|
|
.layout {
|
|
margin: 0 auto;
|
|
zoom: 1;
|
|
letter-spacing: normal;
|
|
word-spacing: normal;
|
|
vertical-align: top;
|
|
text-rendering: auto;
|
|
}
|
|
|
|
.container {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-ms-flex-wrap: nowrap;
|
|
flex-wrap: nowrap;
|
|
-webkit-box-pack: start;
|
|
-ms-flex-pack: start;
|
|
justify-content: flex-start;
|
|
-webkit-box-align: stretch;
|
|
-ms-flex-align: stretch;
|
|
align-items: stretch;
|
|
-ms-flex-line-pack: stretch;
|
|
align-content: stretch;
|
|
height: 100%;
|
|
}
|
|
|
|
.page {
|
|
width: 90%;
|
|
max-width: 1140px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Flex-Based Grid Solution */
|
|
|
|
.row {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: horizontal;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: row;
|
|
flex-direction: row;
|
|
-ms-flex-wrap: nowrap;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.column {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-webkit-box-pack: justify;
|
|
-ms-flex-pack: justify;
|
|
justify-content: space-between;
|
|
-webkit-box-flex: 1;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
}
|
|
|
|
.expand {
|
|
-webkit-box-flex: 1;
|
|
-ms-flex: 1 1 auto;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
/* Precent-Based Grid Solution */
|
|
|
|
.column-100,
|
|
.column-20,
|
|
.column-25,
|
|
.column-33,
|
|
.column-50,
|
|
.column-67 {
|
|
display: inline;
|
|
box-sizing: border-box;
|
|
*margin-left: -0.04em;
|
|
}
|
|
|
|
.column-20 {
|
|
width: 20%;
|
|
}
|
|
|
|
.column-25 {
|
|
width: 25%;
|
|
}
|
|
|
|
.column-33 {
|
|
width: 33.33%;
|
|
}
|
|
|
|
.column-50 {
|
|
width: 50%;
|
|
}
|
|
|
|
.column-67 {
|
|
width: 67.67%;
|
|
}
|
|
|
|
.column-100 {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Navigation */
|
|
|
|
.navbar {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: horizontal;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: row;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.navbar-item {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: horizontal;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: row;
|
|
flex-direction: row;
|
|
margin: 0 .5em;
|
|
-webkit-box-align: bottom;
|
|
-ms-flex-align: bottom;
|
|
align-items: bottom;
|
|
}
|
|
|
|
/* Tables */
|
|
|
|
.table {
|
|
width: 100%;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
.table thead tr th {
|
|
border-bottom: 2px solid #c6c6c6;
|
|
}
|
|
|
|
.table th,
|
|
.table td {
|
|
padding: .5em 0;
|
|
text-align: left;
|
|
border-bottom: 1px solid #c6c6c6;
|
|
}
|
|
|
|
.table tr th:first-child,
|
|
.table tr td:first-child {
|
|
padding-left: .5em;
|
|
}
|
|
|
|
.table.is-striped tbody tr:nth-child(odd) {
|
|
background-color: #E6E6E6;
|
|
}
|
|
|
|
.table.is-condensed th,
|
|
table.is-condensed td {
|
|
padding: 0;
|
|
}
|
|
|
|
.table.is-bordered td {
|
|
border: 1px solid #E6E6E6;
|
|
}
|
|
|
|
.table.is-bordered th {
|
|
border: 1px solid #E6E6E6;
|
|
border-bottom: 2px solid #E6E6E6;
|
|
}
|
|
|
|
/* Typeography */
|
|
|
|
p {
|
|
line-height: 1.4em;
|
|
margin-top: 1.4em;
|
|
}
|
|
|
|
/* Utilities */
|
|
|
|
.is-right {
|
|
float: right;
|
|
}
|
|
|
|
.is-left {
|
|
float: left;
|
|
}
|
|
|
|
.is-centered {
|
|
margin: auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.is-inline {
|
|
display: inline;
|
|
}
|
|
|
|
.is-block {
|
|
display: block;
|
|
}
|
|
|
|
.is-bordered {
|
|
border: 1px solid #E6E6E6;
|
|
}
|
|
|
|
.is-divider,
|
|
hr {
|
|
border-top: 1px solid #E6E6E6;
|
|
border-top: 1px solid #E6E6E6;
|
|
}
|
|
|
|
.is-well {
|
|
padding: 1em;
|
|
}
|
|
|
|
.is-wall {
|
|
padding: 0 .5em 0 .5em;
|
|
}
|
|
|
|
.is-wide {
|
|
width: 100%;
|
|
margin: inherit 0;
|
|
}
|
|
|
|
.is-tall {
|
|
height: 100%;
|
|
margin: 0 inherit;
|
|
}
|
|
|
|
.is-fit {
|
|
height: 100%;
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
.is-borderless {
|
|
border: none;
|
|
}
|
|
|
|
.is-clear {
|
|
clear: both;
|
|
}
|
|
|
|
.is-small {
|
|
font-size: .8em;
|
|
}
|
|
|
|
.is-large {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.is-hidden {
|
|
display: none;
|
|
}
|
|
|
|
.is-upper {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.is-lower {
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
.is-title {
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.is-indented {
|
|
margin-left: 1em;
|
|
}
|
|
|
|
.is-muted {
|
|
color: #c6c6c6;
|
|
}
|
|
|
|
/* Grayscale */
|
|
|
|
.is-white {
|
|
background-color: #FFF;
|
|
color: #2A2A2A;
|
|
}
|
|
|
|
.is-lightest {
|
|
background-color: #F9F9F9;
|
|
color: #2A2A2A;
|
|
}
|
|
|
|
.is-lighter {
|
|
background-color: #E6E6E6;
|
|
color: #2A2A2A;
|
|
}
|
|
|
|
.is-light {
|
|
background-color: #c6c6c6;
|
|
color: #2A2A2A;
|
|
}
|
|
|
|
.is-gray {
|
|
background-color: #acacac;
|
|
color: #101111;
|
|
}
|
|
|
|
.is-dark {
|
|
background-color: #787878;
|
|
color: #F9F9F9;
|
|
}
|
|
|
|
.is-darker {
|
|
background-color: #545454;
|
|
color: #F9F9F9;
|
|
}
|
|
|
|
.is-darkest {
|
|
background-color: #2A2A2A;
|
|
color: #F9F9F9;
|
|
}
|
|
|
|
.is-black {
|
|
background-color: #101111;
|
|
color: #F9F9F9;
|
|
} |