This repository has been archived on 2023-01-17. You can view files and clone it, but cannot push or open issues or pull requests.
old_tarasis.net/freeCodeCamp/responsive-web-design-projects/Project3-ProductLandingPage/style.css

169 lines
2.8 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Roboto&family=Rubik:wght@300;500&display=swap');
:root {
--blue: rgb(17, 76, 202);
font-family: 'Roboto', sans-serif;
}
body {
background-color: rgb(189, 188, 188);
}
#nav-bar {
position: fixed;
top: 0;
width: 100%;
background-color: rgb(179, 179, 179);
display: flex;
flex-direction: row;
justify-content: space-between;
align-content: center;
}
/* On screens that are 600px wide or less, make the menu links stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
.nav-bar a {
float: none;
width: 100%;
}
}
#header-img {
width: 15%;
height: 15%;
margin: 0 1em 0;
}
.push {
margin-left: auto;
}
#nav-links {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding-left: 1rem;
padding-right: 1rem;
/* margin: 1em; */
}
.btn-link {
background: var(--blue);
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
color: #FFFFFF;
font-family: 'Rubik', sans-serif;
font-size: 1em;
padding: 5px 40px;
box-shadow: 1px 1px 20px 0px #000000;
-webkit-box-shadow: 1px 1px 20px 0px #000000;
-moz-box-shadow: 1px 1px 20px 0px #000000;
text-shadow: 1px 1px 20px #000000;
border: solid #337FED 1px;
text-decoration: none;
/* display: inline-block; */
cursor: pointer;
text-align: center;
}
.btn-link + .btn-link {
margin-left: 1rem;
}
.btn-link:hover {
border: double 1px;
}
#empty-space {
display: block;
padding: 1.5em;
}
/* Form Section */
#formsection {
text-align: center;
font-family: 'Rubik', sans-serif;
font-weight: 500;
font-size: 25px;
color: #000000;
}
#formsection #email {
padding-left: 10px;
padding-top: 5px;
padding-bottom: 5px;
font-size: 25px;
border: 2px solid var(--blue);
border-radius: 5px;
}
#formsection #submit {
background-color: var(--blue);
color: white;
margin-top: 1rem;
font-size: 20px;
font-weight: 500;
}
/* Games Section */
#games {
margin-top: 2rem;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.grid {
display: flex;
}
#games .icon {
display: flex;
align-items: center;
justify-content: center;
height: 125px;
/* width: 15vw; */
color: var(--blue);
}
#games .details {
margin-left: 2rem;
text-align: left;
height: 125px;
width: 50vw;
padding: 5px;
}
/* How To Section */
#videos {
padding: 1em;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.video + .video {
margin-top: 1rem;
}
/* Pricing Section */
#features {
margin: auto;
width: 60%;
text-align: center;
}