fipamo/content/themes/default-light/assets/css/base.css

476 lines
7.9 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: #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: #34495e;
text-decoration: none;
2020-08-06 22:00:47 +02:00
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 {
2020-08-06 22:00:47 +02:00
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;
2020-08-06 22:00:47 +02:00
border-bottom: 1px #32302f solid;
border-top: 5px #34495e solid;
}
header span {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
2020-08-06 22:00:47 +02:00
font-weight: 600;
padding: 15px 20px 10px 20px;
font-size: 3em;
line-height: 1;
2020-08-06 22:00:47 +02:00
color: #d5cfba;
text-shadow: 1px 1px 1px rgba(50,48,47,0.9);
}
header .menu {
padding: 20px;
2020-08-06 22:00:47 +02:00
width: 200px;
text-align: left;
2020-08-06 22:00:47 +02:00
color: #34495e;
}
header .menu a.menu-link {
background: #fc6399;
margin-bottom: 4px;
padding: 3px;
border-radius: 3px;
display: inline-block;
font-size: 0.8em;
}
header .menu a.menu-link:hover {
background: #fd82ad;
}
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: #d5cfba;
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: #d5cfba;
vertical-align: top;
color: #32302f;
margin: 0 auto;
}
.container article span {
font: 600 2em/1.5 Helvetica, Arial, sans-serif;
2020-08-06 22:00:47 +02:00
color: #34495e;
}
.container article .index,
.container article .page {
margin: 30px;
}
2020-08-06 22:00:47 +02:00
.container article .index .recent,
.container article .index .featured {
display: inline-block;
width: 50%;
vertical-align: top;
}
.container article .index label {
background: #32302f;
color: #d5cfba;
font-size: 1.5em;
line-height: 1.3;
}
2020-08-06 22:00:47 +02:00
.container article .index label .meta label {
font-size: 0.8em;
}
2020-08-06 22:00:47 +02:00
.container article .index 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 {
2020-08-06 22:00:47 +02:00
background: #32302f;
padding: 10px;
2020-08-06 22:00:47 +02:00
color: #d5cfba;
text-align: center;
font-size: 0.8em;
font-weight: 600;
}
@media only screen and (max-width: 640px) {
2020-08-06 22:00:47 +02:00
header span {
font-size: 2.5em;
}
}
@media only screen and (max-width: 480px) {
2020-08-06 22:00:47 +02:00
header span {
font-size: 2em;
2020-08-06 22:00:47 +02:00
width: 60%;
}
2020-08-06 22:00:47 +02:00
.index p {
font: 400 0.8em/1.3em Helvetica, Arial, sans-serif;
}
2020-08-06 22:00:47 +02:00
.index .recent,
.index .featured {
width: 100% !important;
}
}
2020-08-06 22:00:47 +02:00
@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 */