brc/css/projects.css

357 lines
8 KiB
CSS
Raw Normal View History

2020-10-30 00:17:25 +01:00
/* FONTS */
2020-10-30 18:27:59 +01:00
2020-10-30 20:49:47 +01:00
/* Überschrift Font
====================*/
2020-10-30 18:27:59 +01:00
2020-10-30 00:17:25 +01:00
/* im-fell-english-sc-regular - latin */
@font-face {
font-family: 'IM Fell English SC';
font-style: normal;
font-weight: 400;
src: url('../fonts/im-fell-english-sc-v10-latin-regular.eot'); /* IE9 Compat Modes */
src: local('IM FELL English SC'), local('IM_FELL_English_SC'),
url('../fonts/im-fell-english-sc-v10-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/im-fell-english-sc-v10-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/im-fell-english-sc-v10-latin-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/im-fell-english-sc-v10-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/im-fell-english-sc-v10-latin-regular.svg#IMFellEnglishSC') format('svg'); /* Legacy iOS */
}
2020-10-30 18:27:59 +01:00
2020-10-30 20:49:47 +01:00
/* Fließtext Font
====================*/
2020-10-30 18:27:59 +01:00
2020-10-30 00:17:25 +01:00
/* im-fell-great-primer-regular - latin */
@font-face {
font-family: 'IM Fell Great Primer';
font-style: normal;
font-weight: 400;
src: url('../fonts/im-fell-great-primer-v10-latin-regular.eot'); /* IE9 Compat Modes */
src: local('IM FELL Great Primer Roman'), local('IM_FELL_Great_Primer_Roman'),
url('../fonts/im-fell-great-primer-v10-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/im-fell-great-primer-v10-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/im-fell-great-primer-v10-latin-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/im-fell-great-primer-v10-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/im-fell-great-primer-v10-latin-regular.svg#IMFellGreatPrimer') format('svg'); /* Legacy iOS */
}
/* im-fell-great-primer-italic - latin */
@font-face {
font-family: 'IM Fell Great Primer';
font-style: italic;
font-weight: 400;
src: url('../fonts/im-fell-great-primer-v10-latin-italic.eot'); /* IE9 Compat Modes */
src: local('IM FELL Great Primer Italic'), local('IM_FELL_Great_Primer_Italic'),
url('../fonts/im-fell-great-primer-v10-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/im-fell-great-primer-v10-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/im-fell-great-primer-v10-latin-italic.woff') format('woff'), /* Modern Browsers */
url('../fonts/im-fell-great-primer-v10-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/im-fell-great-primer-v10-latin-italic.svg#IMFellGreatPrimer') format('svg'); /* Legacy iOS */
}
2020-10-30 18:27:59 +01:00
2020-10-30 20:49:47 +01:00
/* Festlegung Font
===================*/
2020-10-30 18:27:59 +01:00
2020-10-30 00:17:25 +01:00
body {
font-family: 'IM Fell Great Primer';
2020-10-30 18:27:59 +01:00
margin: 0;
background-color: #000;
color: #f9f9ed;
2020-10-30 00:17:25 +01:00
}
h1, h2, h3, h4, h5 {
font-family: 'IM Fell English SC'
}
2020-10-30 20:49:47 +01:00
/* Breitenanpassung
====================*/
@media only screen and (min-width: 1000px) {
div.collection {
width: calc(33.3333% - 8px);
}
}
@media only screen and (min-width: 600px) and (max-width: 999px) {
div.collection {
width: calc(50% - 8px);
}
}
@media only screen and (max-width: 599px) {
div.collection {
width: calc(100% - 8px);
}
}
2020-10-30 19:45:05 +01:00
/* header
=================== */
@media only screen and (min-width: 1000px) {
header {
z-index: 1;
2020-10-30 21:03:25 +01:00
position: absolute;
2020-10-30 19:45:05 +01:00
top: 0px;
width: 100%;
}
}
@media only screen and (max-width: 500px) {
.nav li {
margin-left: 2px !important;
margin-right: 2px !important;
width: 20vw;
}
}
@media only screen and (min-width: 501px) and (max-width: 999px) {
.nav li {
margin-left: 2px !important;
margin-right: 2px !important;
width: 100px;
}
}
@media only screen and (min-width: 1000px) {
.nav li {
width: 100px;
}
}
header {
background: rgba(0,0,0,0.4);
font-family: 'IM Fell English SC';
2020-10-30 22:27:38 +01:00
margin: 0px;
border-bottom: 2px solid #f9f9ed;
2020-10-30 19:45:05 +01:00
}
@media only screen and (min-width: 1000px) {
2020-10-30 22:27:38 +01:00
div#content_padding {
padding-top: 120px;
2020-10-30 19:45:05 +01:00
}
}
.nav ul {
2020-10-30 20:49:47 +01:00
float: right;
margin-right: 20px;
2020-10-30 19:45:05 +01:00
padding: 0;
list-style: none;
display: flex;
justify-content: center;
}
.nav li {
display: flex;
justify-content: center;
align-items: center;
margin: 1em;
height: 20px;
text-align: center;
}
.nav a {
font-weight: 900;
text-decoration: none;
/*! padding: 0.5em; */
color: white;
font-size: 14pt;
/*! font-weight: bold; */
}
.nav a:hover {
color: #ddd;
font-size: 16pt;
/*! font-weight: bold; */
}
.logo {
2020-10-30 20:49:47 +01:00
margin-top: 20px;
margin-left: 20px;
float: left;
2020-10-30 19:45:05 +01:00
}
2020-10-30 20:49:47 +01:00
/* Collection
================*/
2020-10-30 18:27:59 +01:00
div.collection_container {
clear: both;
2020-10-30 18:27:59 +01:00
display: flex;
flex-wrap: wrap;
}
div.collection {
margin: 4px;
2020-10-30 22:27:38 +01:00
margin-bottom: 50px;
2020-10-30 18:27:59 +01:00
}
div.collection h1 {
2020-10-30 22:27:38 +01:00
margin-top: 40px;
margin-bottom: 30px;
margin-left: auto;
margin-right: auto;
text-align: center;
2020-10-30 22:27:38 +01:00
display: block;
width: 350px;
font-size: 36pt;
}
div.collection div.col-desc {
2020-10-30 01:12:05 +01:00
display: none;
padding: 10px;
text-align: justify;
}
2020-10-30 20:49:47 +01:00
/* Img Collections + Slide in stuff
====================================*/
2020-10-30 01:12:05 +01:00
.flexbox-col-img {
display: flex;
justify-content: center;
}
.col-img-container {
2020-10-30 01:12:05 +01:00
position: relative;
2020-10-30 22:27:38 +01:00
width: 220px;
height: 220px;
}
.col-image {
display: block;
2020-10-30 22:27:38 +01:00
width: 220px;
height: 220px;
2020-10-30 01:12:05 +01:00
border-radius: 50%;
2020-10-30 22:27:38 +01:00
/*border: 2px solid #f9f9ed; */
}
2020-10-30 22:27:38 +01:00
.col-img-desc {
2020-10-30 22:27:38 +01:00
display: block;
position: absolute;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(51, 51, 51, 0.4);
overflow: hidden;
2020-10-30 22:27:38 +01:00
width: 220px;
height: 220px;
2020-10-30 01:12:05 +01:00
opacity: 0;
border-radius: 50%;
transition: .5s ease;
}
.col-img-container:hover .col-img-desc {
2020-10-30 01:12:05 +01:00
opacity: 1;
}
.col-img-desc div {
color: white;
font-size: 20px;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
text-align: center;
2020-10-30 01:15:47 +01:00
}
2020-10-30 19:45:05 +01:00
2020-10-30 20:49:47 +01:00
/* Images Instagram
=======================*/
2020-10-30 19:45:05 +01:00
.images {
filter: grayscale(100%);
transition: height 0.5s ease-out, filter 0.3s ease 0.5s, width 0.3s ease-out;
height: 200px;
width: 200px;
cursor:pointer;
margin-left: 5px;
margin-right: 5px;
margin-bottom: 5px;
}
.images:hover {
-webkit-filter: grayscale(0%);
filter: grayscale(0%);
transition: filter 0.8s ease-out;
}
2020-10-30 20:49:47 +01:00
/* buttons
=======================*/ /* Noch ordnen */
2020-10-30 19:45:05 +01:00
.button {
display: inline-block;
font-size: 1.15rem;
text-decoration: none;
text-transform: uppercase;
border-width: 2px;
border-style: solid;
padding: 0.5em 1.75em;
}
@media (min-width: 60rem) {
.button {
font-size: 1.5rem;
}
}
.button.active {
background-color: #ffffff;
color: #232323;
}
.button-small {
font-size: 0.7rem;
font-weight: 700;
}
.button-accent {
color: #ffffff;
border-color: #ffffff;
cursor:pointer;
background: rgba(0,0,0,0.4);
box-shadow: 0px 0px 15px 5px #fff;
}
.button-accent-projects {
color: #ffffff;
border-color: #ffffff;
cursor:pointer;
background: rgba(0,0,0,0.4);
/*box-shadow: 0px 0px 15px 5px #fff;*/
}
.button-accent:hover,
.button-accent:focus {
background: #fff;
color: #232323;
}
.button-dark {
color: #232323;
border-color: #232323;
}
.button-dark:hover,
.button-dark:focus {
background: #232323;
color: #ffffff;
}
.btn {
/* border: none;
outline: none;
padding: 12px 16px; */
background-color: white;
cursor: pointer;
display: inline-block;
font-size: 1.15rem;
text-decoration: none;
text-transform: uppercase;
border-width: 2px;
border-style: solid;
padding: 0.5em 1.75em;
}
.btn:hover {
background-color: #ddd;
}
.btn.active {
background-color: #666;
color: white;
}