istandwithpalestine / styles.css
Mahmoudmody777's picture
Update styles.css
a8e4172 verified
/* تنسيقات عامة */
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #f0f0f0;
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
flex-direction: column;
}
#container {
text-align: center;
}
.image-preview-container {
display: flex;
gap: 20px;
justify-content: center;
margin-bottom: 20px;
}
.image-preview {
text-align: center;
}
.image-wrapper {
width: 300px;
height: 300px;
position: relative;
background-color: transparent;
border-radius: 50%;
overflow: hidden;
border: 2px solid #ddd;
margin-bottom: 10px;
}
#overlay-image1, #overlay-image2 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
/* تنسيقات الصورة الشفافة */
#profile-image1 {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%; /* تملأ المساحة بشكل كامل */
height: 100%;
object-fit: cover; /* تغطي المساحة المتاحة */
opacity: 0.5; /* شفافية */
border-radius: 0; /* بدون تأثير دائري */
border: none; /* بدون حدود */
transition: opacity 0.3s; /* تأثير التغيير */
}
/* تنسيقات الصورة الدائرية */
#profile-image2 {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80%; /* حجم أصغر لتناسب الدائرة */
height: 80%;
object-fit: cover; /* تغطي المساحة المتاحة */
border-radius: 50%; /* تأثير دائري */
border: 2px solid #fff; /* حدود بيضاء */
transition: opacity 0.3s; /* تأثير التغيير */
}
.hashtag {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
font-size: 16px;
color: white;
background-color: rgba(0, 0, 0, 0.5);
padding: 5px 10px;
border-radius: 5px;
}
#username-input {
margin-bottom: 20px;
padding: 10px;
width: 300px;
font-size: 16px;
border: 1px solid #ddd;
border-radius: 5px;
}
.buttons-container {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
margin-bottom: 20px;
}
button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 5px;
color: white;
display: flex;
align-items: center;
gap: 5px;
transition: opacity 0.2s;
}
button:hover {
opacity: 0.9;
}
.twitter-btn {
background-color: #1DA1F2;
}
.upload-btn {
background-color: #4CAF50;
}
.download-btn {
background-color: #6c757d;
}
#hashtag-options {
margin-bottom: 20px;
}
#hashtag-options label {
font-size: 16px;
margin-right: 10px;
}
#hashtag-select {
padding: 5px;
font-size: 16px;
border-radius: 5px;
}
#loading {
display: none;
color: #666;
margin-top: 10px;
}
#success-message {
display: none;
color: #4CAF50;
margin-top: 10px;
}