fipamo/public/assets/css/base.css

539 lines
9.7 KiB
CSS
Raw Normal View History

/**
-------------------------------
-- Typography
-------------------------------
**/
/**
-------------------------------
-- Colors
-------------------------------
**/
/**
-------------------------------
-- Mixins
-------------------------------
**/
/**
-------------------------------
-- Normalize
-------------------------------
**/
html {
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
}
article,
aside,
footer,
header,
nav,
section {
display: block;
}
h1 {
font-size: 2em;
margin: 0.67em 0;
line-height: 1em;
}
figcaption,
figure,
main {
display: block;
}
figure {
margin: 1em 40px;
}
hr {
box-sizing: content-box;
height: 0;
overflow: visible;
}
pre {
font-family: monospace, monospace;
font-size: 1em;
}
a {
background-color: transparent;
-webkit-text-decoration-skip: objects;
}
a:active,
a:hover {
outline-width: 0;
}
abbr[title] {
border-bottom: none;
text-decoration: underline;
text-decoration: underline dotted;
}
b,
strong {
font-weight: inherit;
font-weight: bolder;
}
code,
kbd,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
dfn {
font-style: italic;
}
mark {
background-color: #ff0;
color: #000;
}
small {
font-size: 80%;
}
sub,
sup {
font-size: 60%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.55em;
background: #bdcbdb;
color: #151d26;
border-radius: 2px;
padding: 0 2px 0 2px;
margin: 0 2px 0 0;
}
audio,
video {
display: inline-block;
}
audio:not([controls]) {
display: none;
height: 0;
}
img {
border-style: none;
}
svg:not(:root) {
overflow: hidden;
}
button,
input,
optgroup,
select,
textarea {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
}
button,
input {
overflow: visible;
}
button,
select {
text-transform: none;
}
button,
html [type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
border-style: none;
padding: 0;
}
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
outline: 1px dotted ButtonText;
}
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
legend {
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
padding: 0;
white-space: normal;
}
progress {
display: inline-block;
vertical-align: baseline;
}
textarea {
overflow: auto;
}
[type="checkbox"],
[type="radio"] {
box-sizing: border-box;
padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
[type="search"] {
-webkit-appearance: textfield;
outline-offset: -2px;
}
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit;
}
details,
menu {
display: block;
}
summary {
display: list-item;
}
canvas {
display: inline-block;
}
template {
display: none;
}
[hidden] {
display: none;
}
/**
-------------------------------
-- Main Structure
-------------------------------
**/
html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
font: 400 1.2em/1.4em Helvetica, Arial, sans-serif;
}
body {
background: #ebe5d4;
margin: 0;
padding: 0;
perspective: 1px;
transform-style: preserve-3d;
height: 100%;
width: 100%;
overflow-y: scroll;
overflow-x: hidden;
}
a {
color: #151d26;
text-decoration: none;
border-bottom: 1px solid #7ed07e;
-moz-transition: all 0.2s linear;
-webkit-transition: all 0.2s linear;
-o-transition: all 0.2s linear;
transition: all 0.2s linear;
}
a:hover {
border-bottom: 1px solid #fc6399;
}
svg.icons {
width: 25px;
fill: #ebe5d4;
}
header {
background: #151d26;
height: 90%;
width: 100%;
border-top: #ebe5d4 3px solid;
}
header nav {
width: 97%;
margin: 10px auto;
color: #151d26;
}
header nav .left,
header nav .right {
width: 50%;
display: inline-block;
vertical-align: top;
}
header nav .left a.logo-link {
border-bottom: none;
margin: 0 0 20px 0;
display: block;
}
header nav .left a.logo-link #logo {
width: 50px;
border-bottom: none;
}
header nav .right {
text-align: right;
}
header nav .right a.menu-link {
background: #fc6399;
margin-bottom: 4px;
padding: 3px;
border-radius: 2px;
display: inline-block;
font-size: 0.8em;
border-bottom: none;
}
header nav .right a.menu-link:hover {
background: #feb1cc;
}
.container {
z-index: 2;
background: #ebe5d4;
line-height: 30px;
font-weight: lighter;
width: 100%;
color: #32302f;
}
.container article {
position: relative;
width: 80%;
height: 80%;
max-width: 840px;
background: #ebe5d4;
vertical-align: top;
color: #32302f;
margin: 0 auto;
}
.container article .index,
.container article .page {
padding: 0 0 15px 0;
}
.container article .index img,
.container article .page img {
display: block;
width: 100%;
}
.container article .index h1,
.container article .page h1 {
color: #151d26;
}
.container article .index p,
.container article .page p {
font: 300 1.25em/1.6em Helvetica, Arial, sans-serif;
}
.container article .index .meta,
.container article .page .meta {
font: 500 0.8em/1.3em Helvetica, Arial, sans-serif;
padding: 5px 0 0 0;
border-top: 1px solid #151d26;
background: #ede8d8;
}
.container article .index .meta a,
.container article .page .meta a {
font-size: 0.8em;
font-weight: 400;
}
.container article .index .archive-item,
.container article .page .archive-item {
padding: 15px 0 20px 0;
}
.container article .index .archive-item span.year,
.container article .page .archive-item span.year {
font-size: 1.5em;
font-weight: 500;
padding: 5px;
display: block;
color: #151d26;
}
.container article .index .archive-item .archive-month,
.container article .page .archive-item .archive-month {
display: inline-block;
vertical-align: top;
width: 30%;
padding: 5px;
}
.container article .index .archive-item .archive-month span.month,
.container article .page .archive-item .archive-month span.month {
color: #fc6399;
font-size: 1.5em;
font-weight: 300;
padding: 5px;
display: block;
}
.container section {
padding: 0 0 20px 0;
background: #151d26;
}
.container section a {
color: #ebe5d4;
}
.container section .index-lists,
.container section .page-title {
max-width: 840px;
width: 80%;
margin: 0 auto;
padding: 20px 0 0 0;
}
.container section .index-lists span,
.container section .page-title span {
font: 600 2em/1.5 Helvetica, Arial, sans-serif;
color: #ebe5d4;
}
.container section .index-lists .recent,
.container section .page-title .recent,
.container section .index-lists .featured,
.container section .page-title .featured {
display: inline-block;
width: 50%;
vertical-align: top;
}
.container section .index-lists label,
.container section .page-title label {
background: #32302f;
color: #ebe5d4;
font-size: 1.5em;
line-height: 1.3;
}
footer {
background: #e4dcc5;
padding: 10px;
color: #151d26;
font-size: 0.8em;
font-weight: 600;
height: 100px;
}
footer .inner {
margin: 20px auto;
width: 80%;
max-width: 840px;
}
footer .inner a {
color: #fc6399;
}
@media only screen and (max-width: 640px) {
header nav {
width: 98%;
}
header span {
font-size: 2.5em;
}
.container article .index .archive-item .archive-month,
.container article .page .archive-item .archive-month {
width: 45%;
}
}
@media only screen and (max-width: 480px) {
header nav {
width: 96%;
}
.container article .index,
.container article .page {
margin: 0;
}
.container article .index p,
.container article .page p {
font: 300 1em/1.6em Helvetica, Arial, sans-serif;
}
.container section .index-lists .recent,
.container section .index-lists .featured {
width: 100% !important;
}
}
@media only screen and (max-width: 375px) {
header nav {
width: 95%;
}
.container article .index,
.container article .page {
margin: 0;
}
.container article .index p,
.container article .page p {
font: 300 0.9em/1.7em Helvetica, Arial, sans-serif;
}
.container article .index .archive-item .archive-month,
.container article .page .archive-item .archive-month {
width: 95%;
}
}
/**
-------------------------------
-- Forms
-------------------------------
**/
form {
display: inline-block;
}
input[type=email],
input[type=password],
input[type=text] {
border: 0;
border-radius: 5px;
padding: 5px;
margin: 10px 5px 0 0;
font: 15px 'RobotoMono';
display: inline-block;
}
textarea {
border: 0;
border-radius: 3px;
color: $type02;
font: 15px 'RobotoMono';
}
button,
input[type=submit] {
background: #fc6399;
color: #ebe5d4;
font: 14px Helvetica, Arial, sans-serif;
border-radius: 5px;
position: relative;
cursor: pointer;
border: 0;
padding: 5px 5px 0 5px;
-moz-transition: all 0.3s linear;
-webkit-transition: all 0.3s linear;
-o-transition: all 0.3s linear;
transition: all 0.3s linear;
}
button:hover,
input[type=submit]:hover {
background: #fc7ca9;
}
select {
font: 14px 'RobotoMono';
border: 1px solid #fc6399;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
color: #151d26;
}
::-webkit-input-placeholder {
font: 14px 'RobotoMono';
color: #837e7c;
}
:-moz-placeholder {
/* Firefox 18- */
font: 14px 'RobotoMono';
color: #837e7c;
}
::-moz-placeholder {
/* Firefox 19+ */
font: 14px 'RobotoMono';
color: #837e7c;
}
:-ms-input-placeholder {
font: 14px 'RobotoMono';
color: #837e7c;
}
/*# sourceMappingURL=base.css.map */