Merge pull request #10 from WDI-Ideas/development

html web view
This commit is contained in:
rizwanisready
2024-05-24 17:45:31 +05:30
committed by GitHub
2 changed files with 766 additions and 745 deletions

View File

@@ -1,13 +1,11 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap') @import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap') * {
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap') @import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap') * {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
}
:root {
:root {
--black: #000000;
--light-black: #050505;
--main-yellow: rgba(209, 170, 88, 1);
@@ -17,74 +15,74 @@
--white-other: rgba(207, 207, 207, 1);
--white-mix: #cecece;
--border: #ff72a285;
}
}
body {
body {
font-family: "Poppins", sans-serif;
}
}
.ptb {
.ptb {
padding: 40px 0;
}
}
.sec-heading {
.sec-heading {
font-size: 38px;
font-weight: 600;
text-align: center;
/* padding-top: 40px; */
color: var(--main-yellow);
}
}
.sec-subheading {
.sec-subheading {
font-size: 18px;
font-weight: 400;
text-align: center;
color: var(--white);
}
}
.big-heading {
.big-heading {
font-size: 52px;
font-weight: 700;
color: var(--white);
letter-spacing: 1.8px;
}
}
.para {
.para {
font-size: 18px;
font-weight: 400;
color: rgba(255, 255, 255, 1);
}
}
.sec-mini-heading {
.sec-mini-heading {
font-size: 24px;
font-weight: 600;
}
}
.para-dark {
.para-dark {
font-size: 24px;
/* font-weight: 600; */
}
}
.para-mid {
.para-mid {
font-size: 18px;
color: rgba(255, 255, 255, 0.69);
}
}
li {
li {
list-style: none;
}
}
.pt {
.pt {
padding: 40px 0;
}
}
/* header */
/* header */
header {
header {
border-bottom: 1px solid var(--main-yellow);
position: absolute;
background-color: transparent;
@@ -95,53 +93,53 @@
display: flex;
align-items: center;
z-index: 9999;
}
}
header .header-main-inner {
header .header-main-inner {
display: flex;
align-items: center;
justify-content: space-between;
}
}
header nav ul {
header nav ul {
display: flex;
gap: 80px;
align-items: center;
margin: 0;
}
}
.header-main-inner .logo {
.header-main-inner .logo {
width: 212px;
height: 52px;
}
}
.header-main-inner .logo img {
.header-main-inner .logo img {
width: 100%;
}
}
header nav ul .menu-btn img {
header nav ul .menu-btn img {
width: 24px;
height: 24px;
}
}
header nav ul li a {
header nav ul li a {
color: var(--white);
font-size: 18px;
/* font-weight: 600; */
position: relative;
text-decoration: none;
}
}
.sticky {
.sticky {
background-color: var(--black);
position: fixed;
animation: slideDown 0.8s ease-out;
-webkit-animation: slideDown 0.8s ease-out;
}
}
@keyframes slideDown {
@keyframes slideDown {
0% {
transform: translateY(-100%);
}
@@ -149,13 +147,13 @@
100% {
transform: translateY(0);
}
}
}
header a.active {
header a.active {
color: var(--main-yellow);
}
}
header nav ul li a::after {
header nav ul li a::after {
content: "";
position: absolute;
left: 50%;
@@ -164,64 +162,64 @@
border-bottom: 2px solid var(--main-yellow);
transition: all 0.3s;
transform: translateX(-50%);
}
}
header nav ul li a:hover {
header nav ul li a:hover {
color: var(--main-yellow);
}
}
header nav ul li a:hover:after {
header nav ul li a:hover:after {
width: 100%;
}
}
.hamburger {
.hamburger {
display: none;
}
}
.hamburger {
.hamburger {
position: relative;
width: 25px;
height: 25px;
display: none;
cursor: pointer;
}
}
.hamburger img {
.hamburger img {
width: 25px;
height: 25px;
}
}
.overlay {
.overlay {
display: none;
}
}
.cross-btn {
.cross-btn {
padding: 2px 20px;
text-align: right;
display: none;
font-size: 40px;
cursor: pointer;
color: var(--main-yellow);
}
}
.cross-btn i {
.cross-btn i {
font-size: 20px;
font-weight: 500;
}
}
/* about-head */
.head-sec header,
.terms-sec header {
/* about-head */
.head-sec header,
.terms-sec header {
/* position: inherit; */
background-color: var(--black);
}
}
/* baner */
.baner-section {
/* baner */
.baner-section {
background-image: linear-gradient(rgba(4, 9, 10, 0.7), rgba(4, 9, 10, 0.7)),
url("https://goodtimes.betadelivery.com/static/images/baner.jpg");
background-position: center;
@@ -229,164 +227,163 @@
height: 100vh;
display: flex;
align-items: center;
}
}
.baner-section .row {
.baner-section .row {
align-items: center;
padding-top: 100px;
}
}
.baner-section .store-app {
.baner-section .store-app {
display: flex;
align-items: center;
gap: 15px;
margin: 30px 0;
}
}
.baner-img {
.baner-img {
text-align: center;
padding-top: 20px;
}
}
.baner-section .baner-img img {
.baner-section .baner-img img {
width: 75%;
}
}
.baner-content .big-heading span {
.baner-content .big-heading span {
color: var(--main-yellow);
}
}
.baner-content .grey-para {
.baner-content .grey-para {
margin-top: 24px;
font-size: 20px;
color: var(--white-other);
}
}
.baner-btn {
.baner-btn {
margin-top: 24px;
}
}
/* plan */
/* plan */
.modal-body .your-plan {
.modal-body .your-plan {
margin-top: 15px;
}
}
.modal-body .your-plans-main {
.modal-body .your-plans-main {
padding: 0px 10px 30px;
}
}
.modal-body .your-plans-main .head {
.modal-body .your-plans-main .head {
font-size: 25px;
color: black;
font-weight: 500;
}
}
.modal-body .your-plans-main .monthly-div-main {
.modal-body .your-plans-main .monthly-div-main {
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
padding: 15px 20px;
border-radius: 8px;
}
}
.modal-body .your-plans-main .monthly-div-main .monthly-div {
.modal-body .your-plans-main .monthly-div-main .monthly-div {
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
padding: 6px 10px;
border-radius: 8px;
border: 1px solid rgb(215 169 72 / 28%);
}
}
.modal-body .your-plans-main .your-heading {
.modal-body .your-plans-main .your-heading {
color: var(--main-yellow);
font-size: 24px;
font-weight: 500;
}
}
.modal-body .your-plans-main .your-subheading {
.modal-body .your-plans-main .your-subheading {
font-size: 24px;
font-weight: 500;
color: black;
}
}
.modal-body .your-plans-main .your-subheading span {
.modal-body .your-plans-main .your-subheading span {
font-size: 18px;
font-weight: 400;
}
}
.modal-body .your-plans-btn {
.modal-body .your-plans-btn {
text-align: center;
margin-top: 20px;
}
}
.modal-body .your-plans-btn .common-btn {
.modal-body .your-plans-btn .common-btn {
width: 100%;
}
}
/* plan end */
/* plan end */
.common-btn {
.common-btn {
background: linear-gradient(90.02deg, #CDA34C 0.02%, #F1D6A0 52%, #D1A956 98.68%);
width: 252px;
/* height: 50px; */
font-weight: 500;
border: none;
font-size: 18px;
font-weight: 600;
padding: 12px 0;
}
padding: 10px 40px;
border-radius: 5px;
}
/* key-feature */
.key-features {
/* key-feature */
.key-features {
background-color: #10100e;
color: white;
}
}
.key-features .row {
.key-features .row {
align-items: center;
padding-bottom: 40px;
}
}
.key-features .key-main-img img {
.key-features .key-main-img img {
width: 75%;
}
}
.key-features .key-right-first,
.key-right-second {
.key-features .key-right-first,
.key-right-second {
display: flex;
align-items: start;
gap: 20px;
}
}
.key-right-second {
.key-right-second {
margin-top: 60px;
}
}
/* easy-steps */
.easy-steps {
/* easy-steps */
.easy-steps {
background-color: var(--black);
}
}
.easy-steps .para-dark {
.easy-steps .para-dark {
margin-top: 50px;
color: var(--white);
}
}
.easy-steps .para {
.easy-steps .para {
color: rgba(192, 192, 192, 1);
text-align: center;
}
}
.easy-steps-main {
.easy-steps-main {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
margin-top: 100px;
padding-bottom: 40px;
}
}
.easy-steps-first {
.easy-steps-first {
background-color: rgba(255, 255, 255, 0.05);
border: 1px solid var(--main-yellow);
border-top-left-radius: 14px;
@@ -397,155 +394,155 @@
position: relative;
height: 400px;
padding: 0px 20px;
}
}
.easy-steps-first-img-num {
.easy-steps-first-img-num {
width: 75px;
height: 75px;
position: absolute;
top: -50px;
}
}
img.easy-steps-first-img-bot {
img.easy-steps-first-img-bot {
position: absolute;
bottom: -1px;
}
}
/* Adventure
/* Adventure
*/
.Adventure {
.Adventure {
background-color: #10100e;
color: white;
}
}
.Adventure .row {
.Adventure .row {
align-items: center;
padding-top: 40px;
}
}
.Adventure-rti {
.Adventure-rti {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 40px;
}
}
.Adventure-right img {
.Adventure-right img {
width: 75%;
}
}
.Adventure-left .store-app {
.Adventure-left .store-app {
display: flex;
gap: 15px;
}
}
.Adventure-btn {
.Adventure-btn {
margin-top: 40px;
}
}
/* faq */
.faq {
/* faq */
.faq {
background-color: black;
}
}
.main-faq {
.main-faq {
padding: 40px 0 80px;
}
}
div#accordionExample {
div#accordionExample {
display: flex;
flex-direction: column;
gap: 30px;
}
}
.faq .accordion-item {
.faq .accordion-item {
border: 1px solid var(--main-yellow);
background-color: transparent;
color: #fff;
border-radius: 5px;
}
}
.faq button.accordion-button:focus {
.faq button.accordion-button:focus {
box-shadow: inherit;
}
}
.faq button.accordion-button {
.faq button.accordion-button {
background-color: transparent;
color: var(--white);
}
}
.accordion-button:not(.collapsed) {
.accordion-button:not(.collapsed) {
color: var(--main-yellow) !important;
font-family: "Nunito Sans", sans-serif;
font-weight: 600;
}
}
.accordion-item:first-of-type .accordion-button {
.accordion-item:first-of-type .accordion-button {
box-shadow: none;
}
}
.accordion-button::after {
.accordion-button::after {
background-image: url(images/ab.png);
}
}
.accordion-button:not(.collapsed)::after {
.accordion-button:not(.collapsed)::after {
background-image: url(images/at.png);
transform: none;
}
}
/* footer */
.footer {
/* footer */
.footer {
background-color: rgba(16, 16, 14, 1);
}
}
.footer .footer-main-img {
.footer .footer-main-img {
width: 212px;
height: 52px;
padding: 40px 0;
}
}
.footer .footer-main-img img {
.footer .footer-main-img img {
width: 100%;
}
}
.footer .footer-main-grid {
.footer .footer-main-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
color: var(--white);
padding: 3rem 0 2rem;
}
}
.footer .footer-main-grid .para-dark {
.footer .footer-main-grid .para-dark {
font-size: 18px;
font-weight: 600;
}
}
.footer .footer-main-grid .para {
.footer .footer-main-grid .para {
font-size: 16px;
}
}
.footer .store-app {
.footer .store-app {
display: flex;
gap: 15px;
margin: 0;
flex-direction: column;
}
}
.footer-btn .common-btn {
.footer-btn .common-btn {
margin-bottom: 16px;
}
}
.footer-main-grid-fourth {
.footer-main-grid-fourth {
margin-top: -20px;
}
}
.copy-right {
.copy-right {
color: var(--main-yellow);
text-decoration: none;
font-size: 16px;
@@ -553,16 +550,16 @@
align-items: center;
justify-content: center;
padding-bottom: 20px;
}
}
.store-app img {
.store-app img {
width: 165px;
}
}
/* About us */
/* About us */
.about-us {
.about-us {
background-image: url(images/About\ Us\ Banner.png);
background-position: top;
background-size: cover;
@@ -571,22 +568,22 @@
display: flex;
align-items: center;
margin-top: 90px;
}
}
.about-us .row {
.about-us .row {
align-items: center;
}
}
.about,
.terms {
.about,
.terms {
background-color: var(--black);
color: var(--white);
padding: 40px 0 70px;
}
}
.terms-main {
.terms-main {
background-image: url(images/terms.png);
background-position: top;
background-size: cover;
@@ -595,33 +592,49 @@
display: flex;
align-items: center;
margin-top: 90px;
}
}
.gold-text {
.card_design {
background: #000;
padding: 40px 0;
}
.gold-text {
color: rgb(209 170 88);
}
.feat-card {
margin: 0;
padding: 12px;
}
.bg_color {
background-color: #e5e2e2;
border: none;
color: #000;
font-weight: 600;
border-radius: 5px;
}
.feat-card {
border: 1px solid #d1aa588c;
padding: 18px;
width: 300px;
padding: 35px;
border-radius: 6px;
background-color: #00000080;
}
text-align: center;
}
/* mediascreen */
@media (max-width: 1199px) {
/* mediascreen */
@media (max-width: 1199px) {
.big-heading br {
display: none;
}
}
}
@media (max-width: 1024px) {
@media (max-width: 1024px) {
.big-heading {
font-size: 42px;
}
}
}
@media (max-width: 991px) {
@media (max-width: 991px) {
/* .big-heading br {
display: none;
} */
@@ -656,11 +669,11 @@
margin-top: 0px;
}
}
}
@media (max-width: 767px) {
@media (max-width: 767px) {
.ptb {
padding: 20px 0 40px 0;
}
@@ -790,9 +803,9 @@
br {
display: none;
}
}
}
@media (max-width: 444px) {
@media (max-width: 444px) {
/* .easy-steps-main {
grid-template-columns: repeat(1, 1fr);
} */
@@ -805,4 +818,4 @@
.footer .store-app {
margin-bottom: 16px;
}
}
}

View File

@@ -52,7 +52,13 @@
<!-- baner -->
<section class="baner-section">
<div class="row message">
{% for message in messages %}
<div class="alert {{ message.tags }} alert-dismissible messgae-alert mt-3" role="alert">
{{ message }}
</div>
{% endfor %}
</div>
<div class="container">
<div class="row">
<div class="col-md-6">
@@ -91,7 +97,7 @@
</section>
<section class="section card_design">
<section class="card_design">
<div class="container">
<div class="row">
{% for subscription in subscriptions %}
@@ -99,13 +105,13 @@
<div class="feat-card">
<div class="card text-center mb-2">
<!-- Dark card with gold border -->
<h5 class="gold-text mb-0 p-1" style="background-color: #f1d59f6e;">{{ subscription.title }}
<h5 class="gold-text bg_color">{{ subscription.title }}
</h5>
{% if subscription.image %}
<img src="{{ subscription.image.url }}" alt="{{ subscription.title }}" class="card-img-top">
{% endif %}
</div>
<div class="card-body mb-2 text-center"> <!-- Golden text for the body -->
<div class="card-body"> <!-- Golden text for the body -->
{% if subscription.short_description %}
<p class="gold-text">{{ subscription.short_description }}</p>
{% endif %}
@@ -114,16 +120,16 @@
{% endif %}
<h5 class="card-title gold-text">Subscription Amount</h5>
{% if subscription.high_amount and subscription.high_amount > subscription.amount %}
<p class="gold-text mb-0"><s>£ {{ subscription.high_amount }}</s> £ {{ subscription.amount
<p class="gold-text"><s>£ {{ subscription.high_amount }}</s> £ {{ subscription.amount
}}
</p>
{% else %}
<p class="gold-text mb-0">£ {{ subscription.amount }}</p>
<p class="gold-text">£ {{ subscription.amount }}</p>
{% endif %}
{% if subscription.plan.days %}
<p class="gold-text mb-0">Days of Subscription: {{ subscription.plan.days }}</p>
<p class="gold-text">Days of Subscription: {{ subscription.plan.days }}</p>
{% else %}
<p class="gold-text mb-0">Days of Subscription: Not available</p>
<p class="gold-text">Days of Subscription: Not available</p>
{% endif %}
</div>
@@ -133,10 +139,12 @@
now</button>
</div>
</div>
</div>
<hr>
{% empty %}
<p>No subscriptions available.</p>
</div>
{% endfor %}
</div>