xplr/docs/style.css

152 lines
2.1 KiB
CSS
Raw Normal View History

2021-10-06 14:46:54 +00:00
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
* {
padding: 0;
margin: 0;
2021-10-06 14:46:54 +00:00
}
body {
color: #2d3436;
2021-10-06 14:46:54 +00:00
}
h1 {
padding-left: 5px;
font-family: 'Share Tech Mono', monospace;
font-size: 5rem;
padding-top: 2vh;
text-align: center;
transform: translateY(-50px);
2021-10-06 14:46:54 +00:00
}
.main-page {
display: grid;
grid-template-columns: repeat(2, 1fr);
background-color: #dfe6e9;
min-height: 100vh;
2021-10-06 14:46:54 +00:00
}
.para {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family: Arial, Helvetica, sans-serif;
font-size: 2rem;
color: rgba(0, 0, 0, 0.9);
text-align: center;
2021-10-06 14:46:54 +00:00
}
.para .more a {
font-size: 1.5rem;
color: #636e72;
2021-10-06 14:46:54 +00:00
}
.main-video {
display: flex;
justify-content: center;
align-items: center;
2021-10-06 14:46:54 +00:00
}
.main-video img {
margin-right: 0rem;
2021-10-06 14:46:54 +00:00
}
.links {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 2rem;
margin: 5rem 0;
2021-10-06 14:46:54 +00:00
}
.links .linkCad {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 40vh;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
color: #2d3436;
font-family: sans-serif;
cursor: pointer;
2021-10-06 14:46:54 +00:00
}
.links .linkCad:hover {
box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.2);
2021-10-06 14:46:54 +00:00
}
.links a {
text-decoration: none;
2021-10-06 14:46:54 +00:00
}
.links .linkCad p {
padding-top: 2rem;
font-weight: 600;
2021-10-06 14:46:54 +00:00
}
.mrgL {
margin-left: 60%;
2021-10-06 14:46:54 +00:00
}
.mrgR {
margin-right: 60%;
}
@media (max-width: 1300px) {
.mrgL {
margin-left: 50%;
}
.mrgR {
margin-right: 50%;
}
}
@media (max-width: 1050px) {
.mrgL {
margin-left: 40%;
}
.mrgR {
margin-right: 40%;
}
.main-page {
display: block;
}
.para {
padding: 5rem 0;
}
}
@media (max-width: 850px) {
.mrgL {
margin-left: 30%;
}
.mrgR {
margin-right: 30%;
}
}
@media (max-width: 700px) {
.mrgL {
margin-left: 15%;
}
.mrgR {
margin-right: 15%;
}
}
@media (max-width: 550px) {
.mrgL {
margin-left: 0%;
}
.mrgR {
margin-right: 0%;
}
.links {
display: block;
}
.links {
margin-top: 0rem;
}
.linkCad {
margin-bottom: 4rem;
}
}