160 lines
2.5 KiB
CSS
Executable File
160 lines
2.5 KiB
CSS
Executable File
@charset "utf-8";
|
|
/* CSS Document */
|
|
|
|
h1 {
|
|
font-size: 90px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.mind-site-title {
|
|
height: 100%;
|
|
width: 100%;
|
|
margin: 0%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
background: linear-gradient(45deg, #067062, #063d70, #2d0670, #4e0670, #700667);
|
|
background-size: 1000%, 100%;
|
|
animation: gradient 7s linear infinite;
|
|
animation-direction: alternate-reverse;
|
|
}
|
|
|
|
.mind-site-title h1 {
|
|
margin-top: 100px;
|
|
position: absolute;
|
|
}
|
|
|
|
.mind-feed_main {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
grid-gap: 30px;
|
|
}
|
|
|
|
.post-card_main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
width: 100%;
|
|
padding: 20px;
|
|
|
|
box-sizing: border-box;
|
|
/* Style */
|
|
background-color: rgb(50, 50, 50);
|
|
border: 1px solid;
|
|
border-color: transparent;
|
|
border-radius: 5px;
|
|
box-shadow: 0 1px 1px black, 0 2px 4px black;
|
|
transition: 0.5s;
|
|
}
|
|
|
|
.post-card_main:hover {
|
|
box-shadow: 1px 3px 15px 2px black;
|
|
|
|
/* TODO: decide:
|
|
1. move up
|
|
transform:translate3d(0,-5px,0);
|
|
|
|
2. scale up
|
|
transform: scale(1.04);
|
|
|
|
3. scale down
|
|
transform: scale(0.96);
|
|
|
|
ATM: scale up
|
|
*/
|
|
transform:translate3d(0,-5px,0);
|
|
}
|
|
|
|
a.post-card_main {
|
|
color: white;
|
|
}
|
|
|
|
a.post-card_main:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
footer.post-card_footer {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
height: 100%;
|
|
margin-top: 20px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
article {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.post-card_profile-image {
|
|
border-radius: 20%;
|
|
margin-left: 10px;
|
|
max-width: 30px;
|
|
}
|
|
|
|
.post-card_feature-image {
|
|
border-radius: 5px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* ANIMATED GRADIENT BACKGROUND */
|
|
@keyframes gradient {
|
|
0% {background-position: 0%}
|
|
100% {background-position: 100%}
|
|
}
|
|
|
|
/*MOBILE*/
|
|
@media (min-width: 0px) and (max-width: 200px) {
|
|
|
|
h1 {
|
|
font-size: 20px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 200px) and (max-width: 300px) {
|
|
|
|
h1 {
|
|
font-size: 39px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 300px) and (max-width: 400px) {
|
|
|
|
h1 {
|
|
font-size: 52px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 400px) and (max-width: 500px) {
|
|
|
|
h1 {
|
|
font-size: 64px;
|
|
}
|
|
}
|
|
@media (min-width: 500px) and (max-width: 600px) {
|
|
|
|
h1 {
|
|
font-size: 64px;
|
|
}
|
|
}
|
|
@media (min-width: 600px) and (max-width: 700px) {
|
|
|
|
h1 {
|
|
font-size: 76px;
|
|
}
|
|
}
|
|
@media (min-width: 700px) and (max-width: 1000px) {
|
|
|
|
h1 {
|
|
font-size: 80px;
|
|
}
|
|
}
|
|
|
|
/* 4K+ MONITORS*/
|
|
@media (min-width: 2100px) {
|
|
|
|
h1 {
|
|
font-size: 180px;
|
|
}
|
|
}
|