Share-YouTube / style.css
Taf2023's picture
Upload 6 files
5565235 verified
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
color: #333;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
/* Header */
.header {
text-align: center;
margin-bottom: 30px;
background: rgba(255, 255, 255, 0.95);
padding: 30px;
border-radius: 15px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
}
.header-content h1 {
font-size: 2.5rem;
color: #FF0000;
margin-bottom: 10px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.header-content p {
font-size: 1.1rem;
color: #666;
}
/* Share Section */
.share-section {
margin-bottom: 30px;
}
.share-card {
background: rgba(255, 255, 255, 0.95);
padding: 30px;
border-radius: 15px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
}
.share-card h2 {
color: #333;
margin-bottom: 25px;
font-size: 1.5rem;
text-align: center;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #555;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 12px 15px;
border: 2px solid #e1e5e9;
border-radius: 10px;
font-size: 1rem;
transition: all 0.3s ease;
background: rgba(255, 255, 255, 0.9);
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: #FF0000;
box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
transform: translateY(-2px);
}
.form-group textarea {
resize: vertical;
min-height: 80px;
}
.btn-share {
width: 100%;
padding: 15px;
background: linear-gradient(45deg, #FF0000, #CC0000);
color: white;
border: none;
border-radius: 10px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
}
.btn-share:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}
.btn-share:active {
transform: translateY(0);
}
/* Feed Section */
.feed-section {
background: rgba(255, 255, 255, 0.95);
padding: 30px;
border-radius: 15px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
}
.feed-section h2 {
color: #333;
margin-bottom: 25px;
font-size: 1.5rem;
text-align: center;
}
/* Link Card */
.link-card {
background: #fff;
border: 1px solid #e1e5e9;
border-radius: 12px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
}
.link-card:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.link-header {
display: flex;
align-items: center;
margin-bottom: 15px;
}
.link-header .user-name {
font-weight: 600;
color: #333;
margin-right: 10px;
}
.link-header .timestamp {
color: #888;
font-size: 0.9rem;
}
.link-note {
margin-bottom: 15px;
color: #555;
line-height: 1.5;
}
.youtube-embed {
margin-bottom: 15px;
border-radius: 8px;
overflow: hidden;
}
.youtube-embed iframe {
width: 100%;
height: 315px;
border: none;
}
.link-actions {
display: flex;
gap: 15px;
padding-top: 15px;
border-top: 1px solid #e1e5e9;
}
.action-btn {
background: none;
border: none;
padding: 8px 15px;
border-radius: 20px;
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.9rem;
display: flex;
align-items: center;
gap: 5px;
}
.like-btn {
color: #666;
}
.like-btn:hover,
.like-btn.liked {
background: rgba(255, 0, 0, 0.1);
color: #FF0000;
}
.comment-btn {
color: #666;
}
.comment-btn:hover {
background: rgba(0, 123, 255, 0.1);
color: #007bff;
}
/* Comments Section */
.comments-section {
margin-top: 15px;
padding-top: 15px;
border-top: 1px solid #e1e5e9;
}
.comment-form {
display: flex;
gap: 10px;
margin-bottom: 15px;
}
.comment-form input {
flex: 1;
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 20px;
font-size: 0.9rem;
}
.comment-form button {
padding: 8px 15px;
background: #007bff;
color: white;
border: none;
border-radius: 20px;
cursor: pointer;
font-size: 0.9rem;
}
.comment-form button:hover {
background: #0056b3;
}
.comment {
background: #f8f9fa;
padding: 10px 15px;
border-radius: 10px;
margin-bottom: 10px;
}
.comment-author {
font-weight: 600;
color: #333;
margin-bottom: 5px;
}
.comment-text {
color: #555;
font-size: 0.9rem;
}
/* Loading Spinner */
.loading-spinner {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(255, 255, 255, 0.95);
padding: 30px;
border-radius: 15px;
text-align: center;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
display: none;
}
.loading-spinner i {
font-size: 2rem;
color: #FF0000;
margin-bottom: 10px;
}
/* Success Message */
.success-message {
position: fixed;
top: 20px;
right: 20px;
background: #28a745;
color: white;
padding: 15px 20px;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
display: none;
align-items: center;
gap: 10px;
z-index: 1000;
}
.success-message i {
font-size: 1.2rem;
}
/* Responsive Design */
@media (max-width: 768px) {
.container {
padding: 15px;
}
.header-content h1 {
font-size: 2rem;
}
.share-card,
.feed-section {
padding: 20px;
}
.youtube-embed iframe {
height: 200px;
}
.link-actions {
flex-wrap: wrap;
}
}
/* Animation */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.link-card {
animation: fadeInUp 0.5s ease;
}