TAS-ALFA/blog-post/css/style.css

222 lines
3.2 KiB
CSS
Raw Normal View History

2018-12-01 22:54:48 +01:00
html,
body {
height: 100%;
}
body {
font-family: "Lato" sans-serif;
font-weight: 400;
font-size: 16px;
color: #000;
-webkit-font-smoothing: antialiased;
-webkit-overflow-scrolling: touch;
}
h1, h2 {
font-family: "Oswald", sans-serif;
font-weight: 300;
}
post {
font-size: 18px;
}
/* ==========================================================================
Wrap Sections
========================================================================== */
#menuwrap {
position: relative;
left: 15px;
top: 10px
}
#aboutdown{
position: relative;
top: 30px
}
#aboutwrap {
margin-top: -20px;
margin-bottom: 80px;
}
.ikona {
margin-top: 0px;
margin-bottom: 20px;
}
.name {
text-align: center;
margin-top: 40px;
}
.name p {
font-size: 29px;
font-weight: lighter;
margin-top: 10px;
margin-bottom: 12px;
letter-spacing: 1px;
}
.name p1 {
font-size: 20px;
font-weight: lighter;
margin-top: 10px;
margin-bottom: 12px;
letter-spacing: 1px;
}
.name-desc h2 {
font-family: 'Oswald', sans-serif;
font-size: 40px;
line-height: 1.45;
font-weight: 300;
}
.name-desc h4 {
font-family: 'Oswald', sans-serif;
font-size: 19px;
line-height: 1.45;
font-weight: 300;
text-align: right;
margin-bottom: 30;
}
.name-desc h5 {
font-family: 'Oswald', sans-serif;
font-size: 13px;
line-height: 1.45;
margin-top: -7px;
font-weight: 300;
text-align: right;
margin-bottom: 25
}
.name-desc h6 {
font-size: 16px;
line-height: 1.3;
font-weight: 300;
text-align: left;
}
.name-desc po
{ font-style: italic;
font-size: 19px;
}
/* Posty */
#postwrap {
display: block;
margin-top: 20px;
margin-bottom: 80px;
}
#postwrap h1 {
font-weight: 300;
text-align: center;
margin-top: 0px;
margin-bottom: 5px;
}
#postwrap h2 {
font-size: 37px;
font-weight: 300;
text-align: center;
margin-top: 0px;
margin-bottom: 5px;
}
#postwrap h3 {
font-size: 28px;
font-weight: 300;
text-align: center;
margin-top: 0px;
margin-bottom: 5px;
}
/* Galeria */
.photo-wrapper {
display: block;
position: relative;
background-color: #2f2f2f;
}
.text-block {
position: absolute;
bottom: 5px;
right: 5px;
background-color: #2f2f2f;
color: white;
padding-left: 5px;
padding-right: 5px;
}
.project:hover .photo {
opacity: 10;
filter: alpha(opacity=4000);
opacity: 0.65;
filter: alpha(opacity=40);
}
.desc {
margin-top: 15px;
}
a:link {
color: black;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: black;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: #f4c741;
background-color: transparent;
}
a:active {
color: #f4c741;
background-color: transparent;
}
.foto1 img{
width:360px;
height:360px;
}
.foto img{
background-color:#ccc;
}
.foto2 img{
background-color:#ccc;
width: 100%;
}
.fill img{
object-fit:fill;
}
.contain img{
object-fit:contain;
}
.cover img{
object-fit:cover;
}
.none img{
object-fit:none;
}
.scale-down img{
object-fit:scale-down;
}