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

612 lines
11 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: 100;
padding: 15px 20px 10px 20px;
font-size: 3em;
line-height: 1;
color: #fc6399;
}
header .menu {
padding: 20px;
width: 100%;
text-align: left;
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 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: #7ed07e;
padding: 10px;
color: #32302f;
text-align: center;
font-size: 0.8em;
font-weight: 600;
}
@media only screen and (max-width: 640px) {
.main-container .content #the-intro {
font-size: 31px;
line-height: 35px;
}
}
@media only screen and (max-width: 480px) {
.main-container .content #the-intro {
font-size: 25px;
line-height: 33px;
}
.main-container .content #index-display span,
.main-container .content #index-display a {
font: 400 1.2em $bodyType;
}
}
@media only screen and (max-width: 375px) {
.main-container .header {
width: 90%;
}
.main-container .header .header-desc h1 {
line-height: 1rem;
font-size: 3.3rem;
}
.main-container .header .header-desc span a {
color: #d5cfba;
width: 250px;
font-weight: 300;
display: inline-block;
word-break: break-all;
font: 300 7em/1em $titleType;
text-decoration: none;
margin: 0 0 50px 0;
}
.main-container .header .header-desc #the-intro {
color: #fc6399;
opacity: 0;
font: 400 1.8em $titleType;
display: inline-block;
width: 95%;
}
.main-container .header .header-desc #item-intro {
width: 95%;
}
.main-container .header .header-desc #item-intro label {
font-size: 2em;
}
.main-container .content #the-intro {
font-size: 24px;
line-height: 33px;
}
.main-container .content #index-display label {
font-size: 7em;
}
.main-container .content #index-display #recent-work,
.main-container .content #index-display #recent-blog {
float: none;
display: block;
margin: 0 auto;
text-align: left;
padding-bottom: 30px;
}
}
@media only screen and (max-width: 320px) {
.main-container .header .header-desc h1 {
line-height: 1rem;
font-size: 2.9rem;
}
.main-container .content #the-intro {
font-size: 19px;
line-height: 28px;
}
}
/**
-------------------------------
-- Index
-------------------------------
**/
#index-content {
width: 100%;
max-width: 1024px;
margin: 0 auto;
}
header #header-one #the-intro,
header #header-two #the-intro {
margin: 80px 0 0 0;
}
#index-display {
padding: 20px;
width: 100%;
max-width: 1024px;
z-index: 10;
position: relative;
}
#index-display #recent-title {
color: #d5cfba;
font: 400 2em $titleType;
vertical-align: top;
}
#index-display .index-block {
width: 50%;
display: inline-block;
vertical-align: top;
margin-bottom: 50px;
}
/**
-------------------------------
-- 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;
}
/**
-------------------------------
-- Blog
-------------------------------
**/
#blog-content #blog-display #blog-list .blog-entry {
display: inline-block;
height: 500px;
width: 50%;
background-size: cover;
background: #32302f;
position: relative;
text-align: center;
vertical-align: middle;
line-height: 250px;
}
#blog-content #blog-display #blog-list .blog-entry label {
background: #fc6399;
padding: 5px;
border-radius: 3px;
}
#post-content {
width: 100%;
margin: -10px 0 0 0;
}
#post-content #header-post {
width: 100%;
min-height: 350px;
background: #32302f;
position: relative;
padding: 0;
margin: 0;
}
#post-content #header-post img {
padding: 0;
margin: 0;
position: relative;
display: block;
width: 100%;
}
#post-content #header-post #header-one {
position: relative;
width: 80%;
margin: 0 auto;
padding: 30px 0 0 0;
}
#post-content #header-post #header-one label#the-title a {
font: 500 2em $titleType;
width: 97px;
height: 115px;
color: #fc6399;
text-decoration: none;
display: block;
word-break: break-all;
margin: 10px 0 0 10px;
}
#post-content #header-post #header-one span#post-title {
font: 200 4.5em/1em $titleType;
color: #d5cfba;
margin: 20px 0 0 10px;
padding: 20px 0 80px 0;
display: block;
}
#post-content #post-display {
color: $tertiary;
width: 80%;
margin: 50px auto;
font: 400 1.5em $bodyType;
padding-bottom: 50px;
}
/*# sourceMappingURL=base.css.map */