mirror of
https://github.com/getformwork/formwork.git
synced 2025-01-18 05:58:20 +01:00
478 lines
6.5 KiB
CSS
478 lines
6.5 KiB
CSS
html {
|
|
font-size: 16px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
html {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
body {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
* {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
a {
|
|
outline: none;
|
|
color: #3498da;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: #1a608e;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
main {
|
|
padding: 2rem 0;
|
|
}
|
|
|
|
footer {
|
|
padding: 2rem 0;
|
|
}
|
|
|
|
article {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
hr {
|
|
border: 1px solid #e4e4e4;
|
|
}
|
|
|
|
.disabled,
|
|
.disabled:hover,
|
|
.disabled:focus {
|
|
color: #979797;
|
|
cursor: default;
|
|
}
|
|
|
|
@media (min-width: 568px) {
|
|
.hide-from-xs {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 568px) {
|
|
.show-from-xs {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.hide-from-s {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.show-from-s {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
.hide-from-m {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.show-from-m {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
.hide-from-l {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.show-from-l {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
|
|
margin-top: 0;
|
|
margin-bottom: 1rem;
|
|
font-weight: 600;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
h1, .h1 {
|
|
font-size: 2.369rem;
|
|
}
|
|
|
|
h2, .h2 {
|
|
font-size: 2.104rem;
|
|
}
|
|
|
|
h3, .h3 {
|
|
font-size: 1.777rem;
|
|
}
|
|
|
|
h4, .h4 {
|
|
font-size: 1.579rem;
|
|
}
|
|
|
|
h5, .h5 {
|
|
font-size: 1.184rem;
|
|
}
|
|
|
|
h6, .h6 {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
p {
|
|
margin-top: 0;
|
|
margin-bottom: 1rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
blockquote {
|
|
margin: 1rem 2rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
.blockquote-source {
|
|
margin-top: -0.5rem;
|
|
margin-right: 0;
|
|
margin-bottom: 1rem;
|
|
margin-left: 0;
|
|
color: #7e7e7e;
|
|
font-style: normal;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.blockquote-source::before {
|
|
content: '\2014\a0';
|
|
}
|
|
|
|
.relevant {
|
|
font-size: 1.125rem;
|
|
}
|
|
|
|
.small {
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
ol,
|
|
ul {
|
|
margin-top: 0;
|
|
margin-bottom: 1rem;
|
|
margin-left: 1.25rem;
|
|
padding: 0;
|
|
list-style-position: outside;
|
|
}
|
|
|
|
ol ol,
|
|
ol ul,
|
|
ul ol,
|
|
ul ul {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
code,
|
|
kbd,
|
|
pre {
|
|
border-radius: 3px;
|
|
background-color: #f0f0f0;
|
|
font-family: Menlo, Consolas, Courier, monospace;
|
|
}
|
|
|
|
code,
|
|
kbd {
|
|
padding: 0 0.25rem;
|
|
font-size: 0.875em;
|
|
}
|
|
|
|
code {
|
|
color: #227db9;
|
|
}
|
|
|
|
pre {
|
|
overflow-x: auto;
|
|
padding: 1rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
pre > code {
|
|
padding: 0;
|
|
color: inherit;
|
|
font-size: inherit;
|
|
}
|
|
|
|
table {
|
|
overflow-x: auto;
|
|
margin-bottom: 1.5rem;
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
table-layout: auto;
|
|
}
|
|
|
|
table.hoverable tr:hover {
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
table.hoverable thead tr:hover {
|
|
background-color: transparent;
|
|
}
|
|
|
|
thead {
|
|
border-bottom: 2px solid #e4e4e4;
|
|
}
|
|
|
|
td,
|
|
th {
|
|
padding: 0.5rem;
|
|
text-align: left;
|
|
}
|
|
|
|
tr {
|
|
border-bottom: 1px solid #e4e4e4;
|
|
}
|
|
|
|
.container,
|
|
.container-full {
|
|
clear: both;
|
|
margin: 0 auto;
|
|
padding-right: 15px;
|
|
padding-left: 15px;
|
|
}
|
|
|
|
.container::before,
|
|
.container::after,
|
|
.container-full::before,
|
|
.container-full::after {
|
|
display: table;
|
|
content: ' ';
|
|
}
|
|
|
|
.container::after,
|
|
.container-full::after {
|
|
clear: both;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
}
|
|
|
|
.menu {
|
|
overflow: auto;
|
|
}
|
|
|
|
.menu button,
|
|
.menu .button {
|
|
margin-top: 0.559375rem;
|
|
margin-bottom: 0.559375rem;
|
|
padding: 0.375rem 0.5rem;
|
|
}
|
|
|
|
.menu a {
|
|
color: inherit;
|
|
}
|
|
|
|
.menu-header,
|
|
.menu-item {
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
|
|
.menu-header {
|
|
display: inline-block;
|
|
margin-left: -15px;
|
|
padding: 0.65rem 1rem;
|
|
height: 3rem;
|
|
font-weight: 600;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.menu-header img {
|
|
height: 100%;
|
|
}
|
|
|
|
.menu-item {
|
|
position: relative;
|
|
display: block;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.menu-item:hover {
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
.menu-item.active::after,
|
|
.menu-item::after {
|
|
position: absolute;
|
|
bottom: 0.375rem;
|
|
left: 5%;
|
|
display: none;
|
|
width: 90%;
|
|
height: 3px;
|
|
background-color: #cacaca;
|
|
content: ' ';
|
|
}
|
|
|
|
.menu-list {
|
|
overflow: auto;
|
|
overflow-y: hidden;
|
|
margin: 0;
|
|
margin-right: -15px;
|
|
margin-left: -15px;
|
|
list-style-type: none;
|
|
}
|
|
|
|
.menu-list > li {
|
|
display: block;
|
|
overflow: auto;
|
|
}
|
|
|
|
.menu-right {
|
|
float: none;
|
|
}
|
|
|
|
.menu-toggle {
|
|
display: block;
|
|
float: right;
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
|
|
.menu-collapse {
|
|
display: none;
|
|
float: none;
|
|
clear: both;
|
|
}
|
|
|
|
.menu-expanded {
|
|
display: block;
|
|
}
|
|
|
|
@media (min-width: 568px) {
|
|
.menu-header,
|
|
.menu-item,
|
|
.menu-list > li {
|
|
float: left;
|
|
}
|
|
|
|
.menu-list {
|
|
margin: 0;
|
|
}
|
|
|
|
.menu-item:hover,
|
|
.menu-item.active {
|
|
background-color: transparent;
|
|
}
|
|
.menu-item:hover::after,
|
|
.menu-item.active::after {
|
|
display: block;
|
|
}
|
|
|
|
.menu-right {
|
|
float: right;
|
|
}
|
|
|
|
.menu-toggle {
|
|
display: none;
|
|
}
|
|
|
|
.menu-collapse {
|
|
display: block;
|
|
clear: none;
|
|
margin-top: 0;
|
|
margin-right: auto;
|
|
margin-bottom: 0;
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
|
|
button,
|
|
.button {
|
|
display: inline-block;
|
|
margin-right: 0.25rem;
|
|
margin-bottom: 0.5rem;
|
|
padding: 0.375rem 0.5rem;
|
|
min-width: 2rem;
|
|
outline: none;
|
|
border: 1px solid #f0f0f0;
|
|
border-radius: 3px;
|
|
background-color: #f0f0f0;
|
|
color: #444;
|
|
vertical-align: middle;
|
|
white-space: nowrap;
|
|
font-size: 0.875rem;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
line-height: 1.15;
|
|
cursor: default;
|
|
}
|
|
|
|
button:hover,
|
|
.button:hover {
|
|
border-color: #e4e4e4;
|
|
background-color: #e4e4e4;
|
|
color: #444;
|
|
}
|
|
|
|
button:focus,
|
|
.button:focus {
|
|
box-shadow: 0 0 0 2px rgba(0, 127, 255, 0.3);
|
|
}
|
|
|
|
.cover-image {
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 30%;
|
|
width: 100%;
|
|
background-position: center center;
|
|
background-size: cover;
|
|
}
|
|
|
|
.article-title a {
|
|
color: inherit;
|
|
}
|
|
|
|
.read-more {
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.pagination {
|
|
overflow: auto;
|
|
margin: auto;
|
|
margin-bottom: 1rem;
|
|
max-width: 20rem;
|
|
}
|
|
|
|
.pagination-previous {
|
|
float: left;
|
|
}
|
|
|
|
.pagination-next {
|
|
float: right;
|
|
}
|
|
|
|
.tags {
|
|
margin-bottom: 1rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.tag {
|
|
padding: 0.25rem 0.375rem;
|
|
border-radius: 3px;
|
|
background-color: #e9f4fb;
|
|
}
|
|
|
|
.tag:hover {
|
|
background-color: #3498da;
|
|
color: #fff;
|
|
}
|