Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
200 changes: 200 additions & 0 deletions app/static/about.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
* {
box-sizing: border-box;
margin: 0;
padding: 0;
direction: rtl;
font-family: 'Vazirmatn', sans-serif;
}

body {
background: linear-gradient(135deg, #8de0be, #02b185);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 30px;
}

.card {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(12px);
border-radius: 20px;
color: white;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
animation: fadeIn 1s ease-in-out;
width: 1400px;
max-width: 1400px;
padding: 20px;
margin: 0 auto;
align-items: center;

}

h1, h2 {
margin-bottom: 20px;
text-align: center;
color: #fff;
}

ul {
list-style: none;
padding: 0;
}

ul li {
background-color: rgba(255, 255, 255, 0.1);
margin-bottom: 10px;
padding: 12px 20px;
border-radius: 12px;
transition: transform 0.3s ease, background-color 0.3s ease;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
text-align: center;

}

ul li:hover {
transform: scale(1.03);
background-color: rgba(255, 255, 255, 0.2);
}



@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}


.secondary-button {

text-align: center;
color: #000000;
background-color: rgba(255, 255, 255, 0.445);
padding: 12px 25px;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
transition: all 0.3s ease;
border: 2px solid #fff;
display: flex;
justify-content: flex-start; /* چپ چین */
margin-top: 700px;
margin-left: -250px;
}

.secondary-button:hover {
background-color: transparent;
color: #fff;
transform: translateY(-3px);
border-color: #fff;
}
.social-icons {
display: flex;
justify-content: space-between; /* فاصله بین دو آیکون تا گوشه */
padding: 0 10px; /* کمی فاصله از لبه‌ها */
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease;
margin-top: 10px;
}


.social-icons a {
color: #000;
font-size: 20px;
transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
color: #ffffff;
transform: scale(1.2);
}
.team-wrapper {
display: grid;
grid-template-columns: repeat(3, auto);
gap: 40px 50px;
justify-content: center;
align-items: start;
width: 100%; /* یا حداقل بیشتر */
max-width: 100%;
}

.team-member {
width: 250px; /* ثابت و مشخص */
}



.img-box {
position: relative;
width: 100%;
border-radius: 12px;
overflow: hidden;
}

.profile-pic {
width: 100%;
height: auto;
display: block;
border-radius: 12px;
object-fit: cover;
}

.info-overlay {
position: absolute;
bottom: 0;
width: 100%;
height: 50px;
background-color: white;
color: #000;
text-align: center;
padding: 10px 5px;
transition: all 0.4s ease;
overflow: hidden;
}

.img-box:hover .info-overlay {
height: 80px;
background-color: #007bff98;
color: white;
}

.member-name {
font-size: 20px;
transition: color 0.4s ease;
}

.social-icons {
margin-top: 5px;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease;
}

.img-box:hover .social-icons {
opacity: 1;
visibility: visible;
}



.social-icons a {
margin: 0 6px;
color: white;
font-size: 20px;
transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
transform: scale(1.3); /* ← کمی بزرگ‌تر */
color: black; /* ← رنگ مشکی هنگام هاور */
}
Binary file added app/static/img/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/static/img/ax.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 0 additions & 18 deletions app/static/js/menu.js

This file was deleted.

9 changes: 8 additions & 1 deletion app/static/js/question-animation.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,11 @@ observer.observe(document.querySelector('.cont3'), {
childList: true,
subtree: true,
characterData: true
});
});
document.addEventListener('DOMContentLoaded', function () {
const questionBox = document.querySelector('.cont3');
setTimeout(() => {
questionBox.classList.add('visible');
}, 100);
});

58 changes: 17 additions & 41 deletions app/static/question.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,18 @@ body {
font-family: "Vazir";
direction: rtl;
padding: 20px;
position:relative;
position: relative;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
/* background-image:url(./img/1\ \(1\).jpg);
background-image: url(./img/1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: center; */
}
.page {
border-radius: 1rem;
background: #d1fad8;
display: flex;
flex-direction: column;
height: calc(100% - 40px);
position: absolute;
place-content: center;
width: calc(100% - 40px);
background-size: cover;
background-attachment: fixed;
background-position: center;
}

.progress-bar {
background-color: #e0e0e0;
width: 100%;
Expand Down Expand Up @@ -75,7 +66,7 @@ body {
width: 900px;
height: 350px;
margin: auto;
background: linear-gradient(135deg, #4e884d, #013b0a);
background: linear-gradient(135deg, #56e4c5, #016d5e);
border-radius: 1.5rem;
padding: 2rem;
color: white;
Expand Down Expand Up @@ -188,7 +179,7 @@ button:disabled {
z-index: 10;
line-height: 0rem;
font-size: 5rem;
top:20px;
top: 20px;
}
.container2 .circle .number span {
font-size: 0.5em;
Expand All @@ -201,7 +192,7 @@ button:disabled {
font-weight: 500;
font-size: 1.5em;
line-height: 0em;
top:-20px;
top: -20px;
}
.cont3 {
position: relative;
Expand Down Expand Up @@ -256,7 +247,7 @@ textarea {
.modal-content {
background: rgb(255, 255, 255);
padding: 2rem;
border-radius: 8px;
border-radius: 1.5rem;
width: 80%;
max-width: 400px;
margin: 10% auto;
Expand Down Expand Up @@ -300,28 +291,13 @@ textarea {
margin-top: 2rem;
}



.footer {
position: fixed;
bottom: 0;
right: 0;
left: 0;
background-color: #f5f5f5;
text-align: center;
padding: 10px;
font-size: 14px;
border-top: 1px solid #ccc;
direction: rtl;
z-index: 1000;
}

.footer a {
color: #333;
text-decoration: none;
font-weight: bold;
.cont3 {
opacity: 0;
transform: translateX(80px);
transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer a:hover {
text-decoration: underline;
.cont3.visible {
opacity: 1;
transform: translateX(0);
}
Loading