mirror of
https://github.com/DevEhChad/chadsreactproject.git
synced 2025-11-08 21:41:36 +00:00
socials ultrawide fix
This commit is contained in:
@@ -1,43 +1,44 @@
|
|||||||
.social {
|
.social {
|
||||||
background-color: gray;
|
background-color: gray;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: 90svh;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.social .socialTitle {
|
.social .socialTitle {
|
||||||
font-family: sans-serif, Arial;
|
font-family: sans-serif, Arial;
|
||||||
font-size: 60px;
|
font-size: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.socialList {
|
.socialList {
|
||||||
width: 70vw;
|
width: 70vw;
|
||||||
height: auto;
|
height: auto;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 1fr 1fr;
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
place-items: center;
|
place-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* social ITEM STYLING */
|
/* social ITEM STYLING */
|
||||||
|
|
||||||
.socialItem {
|
.socialItem {
|
||||||
background-color: lightgray;
|
background-color: lightgray;
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
height: 350px;
|
height: 350px;
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);
|
box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
.socialItem:hover {
|
|
||||||
|
.socialItem:hover {
|
||||||
box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.5);
|
box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.5);
|
||||||
transition: 0.3s ease-in;
|
transition: 0.3s ease-in;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.socialItem div {
|
.socialItem div {
|
||||||
border-top-left-radius: 15px;
|
border-top-left-radius: 15px;
|
||||||
border-top-right-radius: 15px;
|
border-top-right-radius: 15px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -45,28 +46,28 @@
|
|||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.socialItem a {
|
.socialItem a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: black;
|
color: black;
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.socialItem h1,
|
.socialItem h1,
|
||||||
.socialItem p {
|
.socialItem p {
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 1300px) {
|
@media only screen and (max-width: 1300px) {
|
||||||
.socialList {
|
.socialList {
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 800px) {
|
@media only screen and (max-width: 800px) {
|
||||||
.socialList {
|
.socialList {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user