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/FrontendMentor/ping-coming-soon-page-master/css/style.css

219 lines
4.0 KiB
CSS
Raw Normal View History

@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@300;600;700&display=swap');
:root {
/* primary */
2020-09-07 15:35:50 +02:00
font-size: 20px;
--site-blue: hsl(223, 87%, 63%);
/* secondary */
--site-paleBlue: hsl(223, 100%, 88%);
--site-lightRed: hsl(354, 100%, 66%);
/* neutral */
--site-gray: hsl(0, 0%, 59%);
--site-veryDarkBlue: hsl(209, 33%, 12%);
}
* {
2020-09-07 15:35:50 +02:00
margin: 0 auto;
padding: 0;
}
body {
font-family: 'Libre Franklin', sans-serif;
2020-09-07 15:35:50 +02:00
/* font-size: 20px; */
/* display: flex;
flex-direction: column;
align-items: center; */
}
.flexContainer {
display: flex;
flex-direction: column;
align-items: center;
align-content: center;
2020-09-08 20:28:04 +02:00
margin-top: 4.2rem;
2020-09-07 15:35:50 +02:00
}
.logoSection {
display: flex;
justify-content: center;
}
.logoSection img {
/* text-align: center; */
width: 66%;
/* height: auto; */
}
.titleSection {
margin-top: 2rem;
}
.titleSection p {
text-align: center;
/* display: flex;
align-items: center; */
}
.titleSection .line1 {
font-weight: 300;
color: var(--site-gray);
2020-09-08 20:28:04 +02:00
letter-spacing: 1.2px;
2020-09-07 15:35:50 +02:00
}
.line1 b {
color: black;
font-weight: 600;
}
.titleSection .line2 {
2020-09-08 20:28:04 +02:00
margin-top: 0.95rem;
2020-09-07 15:35:50 +02:00
font-size: 12px;
color: var(--site-gray);
}
.formSection {
margin: 1.6rem 0 0 0;
text-align: center;
/* width: 100%; */
}
.formSection form {
display: flex;
flex-direction: column;
width: 83%;
}
.formSection input[type=email] {
font-family: 'Libre Franklin', sans-serif;
/* width: 85%; */
width: calc(100% - 46px);
2020-09-08 20:28:04 +02:00
color: black;
2020-09-07 15:35:50 +02:00
font-size: 12px;
font-weight: 300;
border: 2px solid var(--site-paleBlue);
padding: 0.55rem 0;
padding-left: 20px;
padding-right: 20px;
text-align: justify;
text-decoration: none;
/* cursor: ; */
border-radius: 32px;
/*box-shadow: 3px 3px 1px 1px var(--site-paleBlue); */
}
2020-09-08 20:28:04 +02:00
.formSection input::placeholder{
padding-left: 8px;
color: var(--site-paleBlue);;
}
2020-09-07 15:35:50 +02:00
.formSection button {
font-family: 'Libre Franklin', sans-serif;
width: 100%;
background-color: var(--site-blue);
color: white;
font-size: 12px;
font-weight: 300;
border: none;
2020-09-08 20:28:04 +02:00
padding: 0.625rem 0;
2020-09-07 15:35:50 +02:00
text-align: center;
text-decoration: none;
/* display: inline-block; */
/* margin: 4px 2px; */
cursor: pointer;
border-radius: 32px;
box-shadow: 0px 3px 10px 1px var(--site-paleBlue); /* 10px 5px 10px*/
}
.imageSection {
2020-09-08 20:28:04 +02:00
margin-top: 3.4rem;
2020-09-07 15:35:50 +02:00
text-align: center;
2020-09-07 15:47:51 +02:00
width: 95%;
2020-09-07 15:35:50 +02:00
/* display: flex;
justify-content: center; */
}
.imageSection img {
width: 100%;
/* height: auto; */
}
footer {
position: fixed;
bottom: 0;
text-align: center;
width: 100vw;
}
.socialButtonsSection {
/* margin-top: auto; */
2020-09-08 20:28:04 +02:00
margin-bottom: 1.35rem;
font-size: 20px;
}
2020-09-07 15:35:50 +02:00
.socialButtonsSection a {
color: var(--site-blue);
}
.socialButtonsSection .fa-stack {
color: rgba(0, 0, 0, 0.03);
font-size: 15px;
}
2020-09-07 15:35:50 +02:00
.copyright {
color: var(--site-gray);
font-size: 10px;
2020-09-07 15:35:50 +02:00
text-align: center;
2020-09-08 20:28:04 +02:00
margin-bottom: 1.15rem;
}
/* Feel free to remove these styles or customise in your own stylesheet 👍 */
.attribution { font-size: 11px; text-align: center; }
2020-09-07 15:35:50 +02:00
.attribution a i { color: hsl(228, 45%, 44%); }
@media screen and (max-width: 600px) {
2020-09-07 15:35:50 +02:00
/* body {
width: 90%;
align-content: center;
align-items: center;
} */
.flexContainer {
/* text-align: center;
width: 50vw; */
/* max-width: 85%; */
width: 90vw;
height: 100vh;
}
/* .formSection form {
} */
.formSection button {
margin-top: 0.45rem;
}
}
@media screen and (min-width: 600px) {
.flexContainer {
width: 50vw;
height: 100vh;
}
.formSection form {
flex-direction: row;
}
.formSection input[type=email] {
flex-basis: 60%;
}
.formSection button {
margin-left: 1rem;
flex-basis: 40%;
}
2020-09-07 15:47:51 +02:00
.imageSection {
width: 89%;
}
2020-09-07 15:35:50 +02:00
}