Files
yatima1460.github.io-1/main.css
T
2020-07-17 00:48:44 +02:00

218 lines
3.3 KiB
CSS

* {
box-sizing: border-box;
text-rendering: geometricPrecision
}
h1 {
padding-bottom: 0.25em;
padding-top: 1em;
}
h2 {
padding-top: 0.5em;
padding-left: 0.1em;
}
a {
color: #c4298d;
text-decoration: none;
word-break: break-word;
}
a:hover {
text-decoration: underline;
}
html {
width: 100%;
}
@media (orientation: landscape) {
body {
width: 40%;
font-size: 1rem;
line-height: 1.5rem;
margin: auto;
font-family: 'Roboto', sans-serif;
word-wrap: break-word;
}
}
.introduction {
display: flex;
flex-direction: row;
}
.presentation {
width: 80%;
}
/* .avatar {
background: url( "avatar.webp") no-repeat;
background-size: contain;
object-fit: contain;
width: 100%;
height: 0;
padding-top: 100%;
/* height: auto; */
/* } */
.content {
margin-top: 2em;
}
.avatar-zone {
width: 40%;
display: flex;
flex-direction: column;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 1em;
text-align: center;
justify-content: center;
}
.avatar-square {
position: relative;
box-shadow: 1px 4px 4px 1px #ccc;
border-radius: 0.5em;
margin-bottom: 1em;
width: 80%;
height: 100%;
align-self: center;
}
.avatar-real {
width: 100%;
height: 100%;
position: relative;
border-radius: 0.5em;
/* object-fit: contain; */
}
.avatar-trans-flag {
width: 100%;
position: absolute;
opacity: 0;
/* display: none; */
top: 0;
left: 0;
border-radius: 0.5em;
/* object-fit: contain; */
height: 100%;
}
/* .avatar:hover{
/* display: none; */
/* no-repeat; */
/* background-image: url(
"trans-flag.webp"
);
} */
.avatar-trans-flag:hover {
/* display: none; */
opacity: 0.75;
}
.social-icons {
display: flex;
flex-wrap: wrap;
flex-direction: row;
box-shadow: 1px 4px 4px 1px #ccc;
text-align: center;
justify-content: center;
border-radius: 0.5em;
border: 1px #eee solid;
}
.social-icons a {
/* width: 33.33%; */
/* object-fit: contain; */
/* text-align: center; */
/* margin: 0.1em; */
width: 12%;
height: 100%;
margin-right: 0.3em;
margin-left: 0.3em;
margin-top: 0.5em;
}
.social-icons img {
/* object-fit: contain; */
/* text-align: center; */
}
.project {
display: flex;
flex-direction: column;
border: 1px #eee solid;
box-shadow: 1px 4px 4px 1px #ccc;
margin-bottom: 1em;
padding-left: 1em;
padding-bottom: 1em;
min-height: 15em;
border-radius: 0.5em;
}
.project div {
display: flex;
flex-direction: row;
}
.project h2 {}
.project img {
width: 20%;
/* height: 20%; */
box-shadow: 1px 4px 4px 1px #ccc;
object-fit: cover;
border-radius: 0.5em;
border-top: 1px #eee solid;
/* border: 1px solid #ccc; */
/* box-shadow: 0px 4px 5px #ccc; */
}
.project p {
padding-left: 1.5em;
}
.project a {
display: block;
padding: 1em;
/* box-shadow: 0px 4px 5px #ccc; */
}
body {
margin-bottom: 1em;
}
body::after {
display: block;
content: "Copyright© 2020 Federico Santamorena (yatima1460) - All Rights Reserved";
color: #666666;
text-align: center;
}