diff options
author | Andinus <andinus@nand.sh> | 2021-09-26 17:21:15 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2021-09-26 17:21:15 +0530 |
commit | 74eb196a74f410754cd0ac3300ac432463df90b9 (patch) | |
tree | cb707d48b2e64257ca2bdc14abd44b621ae9014d /landing/assets/css/style.css | |
parent | e62f7f13b2602c4764ff949c6d73d9b7dae456c2 (diff) | |
download | MyMedMemoir-74eb196a74f410754cd0ac3300ac432463df90b9.tar.gz |
Add landing page
Diffstat (limited to 'landing/assets/css/style.css')
-rw-r--r-- | landing/assets/css/style.css | 361 |
1 files changed, 361 insertions, 0 deletions
diff --git a/landing/assets/css/style.css b/landing/assets/css/style.css new file mode 100644 index 0000000..d6ac25e --- /dev/null +++ b/landing/assets/css/style.css @@ -0,0 +1,361 @@ + +body { + font-family: "Open Sans", sans-serif; + color: #212529; +} + +a { + color: #fe0000; + text-decoration: none; +} + +a:hover { + color: #fe0000; + text-decoration: none; +} + +h1, h2, h3, h4, h5, h6, .font-primary { + font-family: "Raleway", sans-serif; +} + +.back-to-top { + position: fixed; + visibility: hidden; + opacity: 0; + right: 15px; + bottom: 15px; + z-index: 99999; + background: #fe0000; + width: 40px; + height: 40px; + border-radius: 4px; + transition: all 0.4s; +} +.back-to-top i { + font-size: 24px; + color: #fff; + line-height: 0; +} +.back-to-top:hover { + background: #fe0000; + color: #fff; +} +.back-to-top.active { + visibility: visible; + opacity: 1; +} + +@media screen and (max-width: 768px) { + [data-aos-delay] { + transition-delay: 0 !important; + } +} + +#header { + height: 72px; + transition: all 0.5s; + z-index: 997; + transition: all 0.5s; + background: #fff; + box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1); +} +#header .logo h1 { + font-size: 30px; + margin: 0; + line-height: 1; + font-weight: 400; + letter-spacing: 2px; +} +#header .logo h1 a, #header .logo h1 a:hover { + color: #7a6960; + text-decoration: none; +} +#header .logo img { + padding: 0; + margin: 0; + max-height: 40px; +} + +#main { + margin-top: 72px; +} + +.navbar { + padding: 0; +} +.navbar ul { + margin: 0; + padding: 0; + display: flex; + list-style: none; + align-items: center; +} +.navbar li { + position: relative; +} +.navbar a, .navbar a:focus { + display: flex; + align-items: center; + justify-content: space-between; + padding: 10px 0 10px 30px; + font-size: 15px; + color: #4e4039; + white-space: nowrap; + transition: 0.3s; +} +.navbar a i, .navbar a:focus i { + font-size: 12px; + line-height: 0; + margin-left: 5px; +} +.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a { + color: #fe0000; +} +.navbar .getstarted, .navbar .getstarted:focus { + background: #fe0000; + color: #fff; + padding: 10px 25px; + margin-left: 30px; + border-radius: 50px; +} +.navbar .getstarted:hover, .navbar .getstarted:focus:hover { + color: #fff; + background: #fe0000; +} + +.mobile-nav-toggle { + color: #7a6960; + font-size: 28px; + cursor: pointer; + display: none; + line-height: 0; + transition: 0.5s; +} +.mobile-nav-toggle.bi-x { + color: #fff; +} + +@media (max-width: 991px) { + .mobile-nav-toggle { + display: block; + } + + .navbar ul { + display: none; + } +} +.navbar-mobile { + position: fixed; + overflow: hidden; + top: 0; + right: 0; + left: 0; + bottom: 0; + background: rgba(78, 64, 57, 0.9); + transition: 0.3s; +} +.navbar-mobile .mobile-nav-toggle { + position: absolute; + top: 15px; + right: 15px; +} +.navbar-mobile ul { + display: block; + position: absolute; + top: 55px; + right: 15px; + bottom: 15px; + left: 15px; + padding: 10px 0; + background-color: #fff; + overflow-y: auto; + transition: 0.3s; +} +.navbar-mobile a, .navbar-mobile a:focus { + padding: 10px 20px; + font-size: 15px; + color: #7a6960; +} +.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a { + color: #fe0000; +} +.navbar-mobile .getstarted, .navbar-mobile .getstarted:focus { + margin: 15px; +} + +#hero { + width: 100%; + height: 70vh; + background: #fef8f5; + border-bottom: 2px solid #fcebe3; + margin: 72px 0 -72px 0; +} + +#hero .btn-get-started { + font-family: "Raleway", sans-serif; + font-weight: 500; + font-size: 16px; + letter-spacing: 1px; + display: inline-block; + padding: 8px 28px; + border-radius: 3px; + transition: 0.5s; + margin-top: 30px; + color: #fff; + background: #fe0000; + align-items: center; +} +#hero .btn-get-started:hover { + background: #fe0000; +} +#hero .animated { + animation: up-down 2s ease-in-out infinite alternate-reverse both; +} +@media (max-width: 991px) { + #hero { + height: calc(100vh - 72px); + } + #hero .animated { + -webkit-animation: none; + animation: none; + } + #hero .hero-img { + text-align: center; + } + #hero .hero-img img { + width: 50%; + } +} +@media (max-width: 768px) { + #hero h1 { + font-size: 28px; + line-height: 36px; + } + #hero h2 { + font-size: 18px; + line-height: 24px; + } + #hero .hero-img img { + width: 70%; + } +} +@media (max-width: 575px) { + #hero .hero-img img { + width: 80%; + } +} +@media (max-height: 600px) { + #hero { + height: 120vh; + } +} + +@-webkit-keyframes up-down { + 0% { + transform: translateY(10px); + } + 100% { + transform: translateY(-10px); + } +} + +@keyframes up-down { + 0% { + transform: translateY(10px); + } + 100% { + transform: translateY(-10px); + } +} + +section { + padding: 60px 0; + overflow: hidden; +} + +.section-bg { + background-color: #fef8f5; +} + +.section-title { + text-align: center; + padding-bottom: 30px; +} +.section-title h2 { + font-size: 24px; + font-weight: 700; + padding-bottom: 0; + line-height: 1px; + margin-bottom: 15px; + color: #c2b7b1; +} +.section-title p { + padding-bottom: 15px; + margin-bottom: 15px; + position: relative; + font-size: 32px; + font-weight: 700; + color: #4e4039; +} +.section-title p::after { + content: ""; + position: absolute; + display: block; + width: 60px; + height: 2px; + background: #fe0000; + bottom: 0; + left: calc(50% - 30px); +} + + +.about h3 { + font-weight: 700; + font-size: 34px; + color: #4e4039; +} +.about h4 { + font-size: 20px; + font-weight: 700; + margin-top: 5px; + color: #7a6960; +} +.about i { + font-size: 48px; + margin-top: 15px; + color: #fe0000; +} +.about p { + font-size: 15px; + color: #5a6570; +} +@media (max-width: 991px) { + .about .about-img img { + max-width: 70%; + } +} +@media (max-width: 767px) { + .about .about-img img { + max-width: 90%; + } +} + +.credits { + float: right; + text-align: center; + font-size: 13px; + color: #212529; + background-color: #fe0000; + background: #fcebe3; +} +.credits a { + color: #fe0000; +} +@media (max-width: 575px) { +.credits { + float: none; + -moz-text-align-last: center; + text-align-last: center; + padding: 3px 0; + } +} |