Files
ASP.NET/content/01-Introductory-Sessions/Session00/Projects/BasicWebsite/styles.css
T
2025-07-18 14:47:22 +03:30

179 lines
2.4 KiB
CSS

body {
font-family: Arial, sans-serif;
background-color: #181818;
color: #ffffff;
margin: 0;
padding: 0;
}
.header {
padding: 20px;
text-align: center;
}
.header h1 {
margin: 0;
font-size: 36px;
}
.container {
max-width: 1000px;
margin: 30px auto;
padding: 20px;
background-color: #282828;
border-radius: 8px;
}
.episodes {
margin-top: 30px;
}
.episode:hover {
background-color: #444444;
cursor: pointer;
}
.episode img {
width: 120px;
height: 120px;
border-radius: 8px;
}
.episode-details {
flex: 1;
margin-left: 20px;
}
.episode-details h3 {
font-size: 30px;
margin: 0;
}
.episode-details p {
font-size: 20px;
color: #b3b3b3;
margin: 5px 0;
}
.episode-details .meta {
display: flex;
align-items: center;
gap: 15px;
margin-top: 5px;
}
.meta span {
display: flex;
align-items: center;
gap: 5px;
color: #b3b3b3;
font-size: 14px;
}
.play-episode {
background-color: #1db954;
padding: 12px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
color: #ffffff;
font-size: 20px;
cursor: pointer;
}
.episode-icons {
display: flex;
gap: 15px;
margin-left: auto;
}
.episode-icons i {
background-color: #444;
padding: 10px;
border-radius: 50%;
cursor: pointer;
}
.icon {
width: 10px;
height: 10px;
display: inline-block;
background-color: #fff;
}
.icon-play::before {
content: '▶';
color: #000;
}
.icon-add::before {
content: '+';
color: #000;
}
.icon-share::before {
content: '⇪';
color: #000;
}
.podcast-header {
background-color: #003049;
padding: 20px;
display: flex;
align-items: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
border-radius: 8px;
margin-bottom: 30px;
color: #ffffff;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.episode {
background-color: #333333;
margin-bottom: 20px;
padding: 20px;
border-radius: 8px;
display: flex;
justify-content: space-between;
align-items: flex-start;
transition: background-color 0.3s ease;
opacity: 0;
transform: translateY(20px);
animation: fadeIn 1s ease forwards;
}
.podcast-icon {
width: 150px;
height: 150px;
border-radius: 8px;
margin-right: 20px;
}
.podcast-info {
color: #fff;
}
.podcast-title {
font-size: 48px;
margin: 0;
}
.podcast-author {
font-size: 20px;
margin-top: 10px;
color: #e0e0e0;
}