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

291 lines
4.4 KiB
CSS

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;
}
z {
font-size: 19px;
line-height: 2.3;
text-align: left;
left: -3px;
position: relative;
}
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 h1 {
font-family: 'Oswald', sans-serif;
font-size: 35px;
line-height: 1;
font-weight: 300;
text-align: center;
margin-top:15px;
}
.name-desc h2 {
font-family: 'Oswald', sans-serif;
font-size: 28px;
line-height: 1.45;
font-weight: 300;
text-align: center;
}
.name-desc h4 {
font-family: 'Oswald', sans-serif;
font-size: 19px;
line-height: 1.45;
font-weight: 300;
text-align: right;
margin-bottom: -50;
position: relative;
top: 0px;
}
.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;
}
/* Ocena gwiazdki */
*{
margin: 0;
padding: 0;
}
.rate {
float: left;
height: 46px;
padding: 0 10px;
}
.rate:not(:checked) > input {
position:absolute;
top:-9999px;
}
.rate:not(:checked) > label {
float:right;
width:1em;
overflow:hidden;
white-space:nowrap;
cursor:pointer;
font-size:30px;
color:#ccc;
}
.rate:not(:checked) > label:before {
content: '★ ';
}
.rate > input:checked ~ label {
color: #f4c741;
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
color: #deb217;
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
color: #f4c741;
}