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/huddle-landing-page-with-si.../css/style.css

125 lines
2.4 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@400;700&display=swap');
:root {
font-size: 16px;
--site-color: hsl(257, 40%, 49%);
}
body {
background-color: var(--site-color);
background-image: url("../images/bg-desktop.svg");
/* background-repeat: no-repeat;
background-size: contain; */
color: white;
margin: 0;
}
h1 {
font-family: 'Poppins', sans-serif;
font-weight: 400; /* 400 & 40 are very close*/
font-size: 40px;
}
body {
font-family: 'Open Sans', sans-serif;
}
.logo {
width: 215px;
margin: 3.75% 4.86% 0rem; /* 3.75% 4.375rem 0rem*/
}
.middleSection {
display: flex;
margin: 5.0625rem 0rem 0rem 4.55rem;
}
.siteBlurb {
margin: 1.0625rem 4rem 2rem 3.325rem;
/* line-height: 2rem;
font-weight: 400; */
}
.siteBlurb h1 {
margin-right: 2em;
margin-bottom: 0;
}
.siteBlurb p {
margin-right: 1.5rem;
margin-bottom: 1.5625rem;
line-height: 1.7rem;
font-size: 18px;
font-weight: 400;
}
.registerButton {
background-color: white;
color: var(--site-color);
font-size: 19px;
border: none;
padding: 17px 64px;
text-align: center;
text-decoration: none;
display: inline-block;
/* margin: 4px 2px; */
cursor: pointer;
border-radius: 32px;
box-shadow: 3px 3px 10px 1px rgba(0, 0, 0, 0.4); /* 10px 5px 10px*/
}
.socialButtonsSection {
display: block;
text-align: right;
margin-right: 5.1875rem;
}
.socialButtonsSection i {
padding: 0.5rem;
margin-left: 0.5rem;
margin-top: 0.9375rem;
margin-right: 0;
}
.circleIcon {
magin: 0;
color: white;
background: transparent;
border: 1.75px solid #fff;
width: 20px;
height: 20px;
border-radius: 50%;
text-align: center;
line-height: 20px;
vertical-align: middle;
font-size: 19px;
/* padding: 5px; */
/* border: 2px solid #fff;
border-radius: 50%;
height: 64px;
width: 64px;
position: relative;
left: 8px;
color: transparent; */
}
.circleIcon:hover {
color: blue;
}
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
/* Formating for Mobile devices. Sample to match is 375z800 */
@media screen and (max-width: 375px) {
body {
background-image: url("../images/bg-mobile.svg");
background-repeat: no-repeat;
color: white;
margin: 2em 4em;
}
}