binario/static/css/main.css

673 lines
8.3 KiB
CSS
Raw Normal View History

2018-02-11 06:35:19 +00:00
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-ms-overflow-style: scrollbar;
-webkit-tap-highlight-color: transparent;
}
@-ms-viewport {
width: device-width;
}
article,
aside,
dialog,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
display: block;
}
body {
2018-02-11 06:39:37 +00:00
max-width: 1200px;
margin: 0 auto;
2018-02-11 06:35:19 +00:00
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 1rem;
font-weight: 400;
line-height: 1.4;
color: #ddd;
text-align: left;
background-color: #1b1b1b;
-webkit-font-smoothing: antialiased;
}
hr {
margin: 20px 0;
border: 0;
border-top: 1px solid #444;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
margin-bottom: 0.5rem;
}
p {
margin-top: 0;
margin-bottom: 1rem;
}
abbr[title] {
text-decoration: none;
cursor: help;
border-bottom: 1px dotted #c3c3c3;
}
address {
margin-bottom: 1rem;
font-style: normal;
line-height: inherit;
}
ol,
ul,
dl {
padding-left: 25px;
margin-top: 0;
margin-bottom: 1rem;
}
@media screen and (min-width: 480px) {
ol,
ul,
dl {
padding-left: 2.5rem;
}
}
ol ol,
ul ul,
ol ul,
ul ol {
margin-bottom: 0;
}
dt {
font-weight: 700;
}
dd {
margin-bottom: .5rem;
margin-left: 0;
}
2018-02-11 06:44:25 +00:00
blockquote {
padding-left: 15px;
margin: 0 0 1rem;
border-left: 5px solid #f8ae00;
}
blockquote footer {
text-align: right;
}
2018-02-11 06:35:19 +00:00
dfn {
font-style: italic;
}
b,
strong {
font-weight: bolder;
}
small {
font-size: 80%;
}
sub,
sup {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline;
}
sub {
bottom: -.25em;
}
sup {
top: -.5em;
}
a {
color: #f8ae00;
text-decoration: none;
background-color: transparent;
-webkit-text-decoration-skip: objects;
}
a:hover {
color: #fff;
text-decoration: underline;
}
pre,
code,
kbd,
samp {
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
2018-02-11 06:35:19 +00:00
font-size: 1em;
}
pre {
padding: 1.25rem;
margin-top: 0;
margin-bottom: 1rem;
overflow: auto;
-ms-overflow-style: scrollbar;
background-color: #151515;
}
2018-02-11 06:44:25 +00:00
kbd {
padding: 2px 3px;
color: #000;
background: #999;
}
2018-02-11 06:35:19 +00:00
figure {
margin: 0 0 1rem;
}
img {
max-width: 100%;
vertical-align: middle;
border-style: none;
}
svg:not(:root) {
overflow: hidden;
}
table {
width: 100%;
margin-bottom: 20px;
border-spacing: 0;
2018-02-11 06:35:19 +00:00
border-collapse: collapse;
border-top: 1px solid #ddd;
border-left: 1px solid #ddd;
}
td,
th {
padding: 5px 10px;
border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd;
2018-02-11 06:35:19 +00:00
}
caption {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
color: #6c757d;
text-align: left;
caption-side: bottom;
}
th {
font-weight: 700;
2018-02-11 06:35:19 +00:00
text-align: inherit;
}
label {
display: inline-block;
margin-bottom: 0.5rem;
}
button {
border-radius: 0;
}
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}
input,
button,
select,
optgroup,
textarea {
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
button,
input {
overflow: visible;
}
button,
select {
text-transform: none;
}
button,
html [type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
padding: 0;
border-style: none;
}
input[type="radio"],
input[type="checkbox"] {
box-sizing: border-box;
padding: 0;
}
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
-webkit-appearance: listbox;
}
textarea {
overflow: auto;
resize: vertical;
}
fieldset {
min-width: 0;
padding: 0;
margin: 0;
border: 0;
}
legend {
display: block;
width: 100%;
max-width: 100%;
padding: 0;
margin-bottom: .5rem;
font-size: 1.5rem;
line-height: inherit;
color: inherit;
white-space: normal;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
[type="search"] {
outline-offset: -2px;
-webkit-appearance: none;
}
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
::-webkit-file-upload-button {
font: inherit;
-webkit-appearance: button;
}
output {
display: inline-block;
}
summary {
display: list-item;
cursor: pointer;
}
2018-02-11 06:39:37 +00:00
mark {
background-color: #f8ae00;
}
2018-03-04 07:21:14 +00:00
.mt {
margin-top: 1rem;
}
.mb {
margin-bottom: 1rem;
}
.mla {
margin-left: auto;
}
.tal {
text-align: left;
}
.tar {
text-align: right;
}
2018-02-11 06:39:37 +00:00
/* Header */
.header {
margin: 0 0 5px;
overflow: auto;
background-color: #2a2a2a;
border-color: #333;
border-style: solid;
border-width: 0 0 1px;
}
2018-02-11 06:55:56 +00:00
.block {
padding: 14px;
margin: 3px 0;
color: #eee;
background-color: #2a2a2a;
border-color: #333;
border-style: solid;
border-width: 1px 0;
}
2018-02-11 06:39:37 +00:00
@media screen and (min-width: 480px) {
.header {
margin: 0 5px 5px;
border-width: 0 1px 1px;
}
2018-02-11 06:55:56 +00:00
.block {
margin: 5px;
border-width: 1px;
}
2018-02-11 06:39:37 +00:00
}
.logo {
display: inline-block;
float: left;
padding: 10px 12px;
font-size: 16px;
font-weight: 700;
}
.logo:hover {
color: #f8ae00;
text-decoration: none;
}
2018-04-01 12:56:28 +00:00
/* Menu */
.main-menu {
display: block;
font-size: 0;
font-weight: 700;
}
.main-nav__btn {
float: right;
width: 42px;
height: 42px;
padding: 0;
font-size: 1em;
color: #000;
background-color: #f8ae00;
border: 0;
}
.main-nav__btn:focus,
.main-nav__btn:hover {
color: #000;
}
.main-nav__btn .icon-menu__burger {
display: inline;
}
.main-nav__btn .icon-menu__x {
display: none;
}
.main-nav__btn--active .icon-menu__burger {
display: none;
}
.main-nav__btn--active .icon-menu__x {
display: inline;
}
.main-nav__list {
font-size: 0;
}
.main-nav__item {
font-size: 1rem;
font-weight: 700;
border-top: 1px solid #333;
}
.main-nav__item:hover {
background-color: #444;
}
.main-nav__item--active {
padding: 10px;
}
.main-nav__item--active:hover {
background-color: transparent;
}
.main-nav__link {
display: block;
padding: 10px;
}
.main-nav__list {
padding: 0;
margin: 0;
list-style: none;
}
.classlist .main-nav__list {
display: none;
}
.classlist .main-nav__btn {
display: block;
}
.main-nav__list.main-nav__list--active {
display: block;
width: 100%;
clear: both;
background-color: #2a2a2a;
}
@media (min-width: 720px) {
.logo {
display: inline-block;
}
.logo:hover {
background-color: #444;
}
.classlist .main-nav__list {
display: block;
}
.classlist .main-nav__btn {
display: none;
}
.main-nav__btn {
display: none;
}
.main-nav {
display: inline-block;
}
.main-nav__item {
display: inline-block;
border: 0;
}
.main-nav__list.main-nav__list--active {
position: initial;
border: 0;
}
}
2018-03-10 04:42:33 +00:00
/* Taxonomies */
.page__title {
margin-bottom: 0;
}
.page__content {
margin-top: 1rem;
}
/* Single */
.single {
margin-top: 10px;
}
2018-03-10 04:40:22 +00:00
/* Cards UI*/
.cards {
display: flex;
flex-wrap: wrap;
}
.card {
display: flex;
width: 100%;
padding: 3px 0;
}
@media screen and (min-width: 480px) {
.card {
padding: 5px;
}
}
@media screen and (min-width: 720px) {
.card--2col {
width: 50%;
}
.card--3col {
width: 50%;
}
}
@media screen and (min-width: 860px) {
.card--3col {
width: 33.333%;
}
}
.card__box {
display: flex;
flex-direction: column;
width: 100%;
margin: 0;
}
2018-03-04 07:21:14 +00:00
/* Post */
.post__title-link {
font-size: 20px;
}
2018-03-10 07:19:17 +00:00
.post__content {
flex: 1 0 auto;
margin: 0;
color: #c3c3c3;
}
.post__content p:last-child {
margin-bottom: 0;
}
2018-03-04 07:21:14 +00:00
.post__meta {
font-size: 14px;
color: #888;
}
.post__meta-published,
.post__meta-lastmod {
display: block;
}
2018-02-23 12:54:37 +00:00
.post__tags {
margin-top: 2rem;
}
.post__tag {
display: inline-block;
padding: 0 6px 3px;
margin: 0 5px 5px 0;
line-height: 1.5;
background: #151515;
}
2018-03-11 18:02:29 +00:00
/* Comments */
.comments {
margin-top: 10px;
margin-bottom: 10px;
}
2018-02-23 12:27:28 +00:00
/* Pagination */
.pagination {
margin-bottom: 10px;
text-align: center;
background-color: #2a2a2a;
}
.pagination__item {
display: inline-block;
padding: 4px 10px;
font-weight: 700;
border: 1px solid;
}
.pagination__item--gap {
color: #888;
cursor: default;
border-color: #888;
}
2018-02-11 06:39:37 +00:00
/* Footer */
.footer {
padding: 10px 0;
margin: 5px 0 0;
font-size: 13px;
color: #888;
border-top: 2px solid #333;
}
.footer__copyright {
text-align: center;
}
@media screen and (min-width: 480px) {
.footer {
margin: 5px 5px 0;
}
}