You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Fipamo/content/themes/default-dark/assets/css/base.css

481 lines
8.1 KiB
CSS

/**
-------------------------------
-- 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: #bdccdb;
color: #34495e;
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.3em/1.1em Helvetica, Arial, sans-serif;
}
body {
color: #fff;
margin: 0;
padding: 0;
perspective: 1px;
transform-style: preserve-3d;
height: 100%;
width: 100%;
overflow-y: scroll;
overflow-x: hidden;
}
a {
color: #7ed07e;
text-decoration: none;
border-bottom: 1px solid #d5cfba;
-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: #d5cfba;
}
header {
box-sizing: border-box;
min-height: 100vh;
position: relative;
transform-style: inherit;
width: 100vw;
color: #d5cfba;
border-bottom: 1px #d5cfba solid;
border-top: 5px #7ed07e solid;
}
header span {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-weight: 600;
padding: 15px 20px 10px 20px;
font-size: 3em;
line-height: 1;
color: #fc6399;
text-shadow: 1px 1px 1px rgba(50,48,47,0.9);
}
header .menu {
padding: 20px;
width: 200px;
text-align: left;
color: #d5cfba;
}
header .menu a.menu-link {
background: #32302f;
margin-bottom: 4px;
padding: 3px;
border-radius: 3px;
display: inline-block;
font-size: 0.8em;
}
header .menu a.menu-link:hover {
color: #d5cfba;
}
header .menu #logo {
width: 30px;
}
header,
header:before {
background: 50% 50%/cover;
}
header::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: block;
background-size: cover;
transform-origin: center center 0;
transform: translateZ(-1px) scale(2);
z-index: -1;
min-height: 100vh;
}
.container {
z-index: 2;
position: absolute;
top: 100vh;
background: #32302f;
line-height: 30px;
font-weight: lighter;
width: 100%;
color: #32302f;
}
.container article {
position: relative;
width: 80%;
height: 80%;
max-width: 840px;
min-height: 500px;
background: #32302f;
vertical-align: top;
color: #d5cfba;
margin: 0 auto;
}
.container article span {
font: 600 2em/1.5 Helvetica, Arial, sans-serif;
color: #fc6399;
}
.container article .index,
.container article .page {
margin: 30px;
}
.container article .index .recent,
.container article .page .recent,
.container article .index .featured,
.container article .page .featured {
display: inline-block;
width: 50%;
vertical-align: top;
}
.container article .index label,
.container article .page label {
background: #32302f;
color: #d5cfba;
font-size: 1.5em;
line-height: 1.3;
}
.container article .index label .meta label,
.container article .page label .meta label {
font-size: 0.8em;
}
.container article .index label .meta a,
.container article .page label .meta a {
font-size: 0.8em;
}
.container section {
color: #d5cfba;
}
.container section .archive-item {
display: inline-block;
width: 30%;
vertical-align: top;
}
.container footer {
background: #d5cfba;
padding: 10px;
color: #32302f;
text-align: center;
font-size: 0.8em;
font-weight: 600;
}
@media only screen and (max-width: 640px) {
header span {
font-size: 2.5em;
}
}
@media only screen and (max-width: 480px) {
header span {
font-size: 2em;
width: 60%;
}
.index p {
font: 400 0.8em/1.3em Helvetica, Arial, sans-serif;
}
.index .recent,
.index .featured {
width: 100%;
}
}
@media only screen and (max-width: 375px) {
header span {
font-size: 1.5em;
width: 75%;
}
}
/**
-------------------------------
-- 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: #d5cfba;
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: #34495e;
}
::-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 */