fixed some things and refactored
This commit is contained in:
@@ -546,3 +546,74 @@ body {
|
||||
outline: 2px solid #00ff88;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* moved from html */
|
||||
ul.release-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
ul.release-list li {
|
||||
background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 4px 10px rgba(0,0,0,0.5);
|
||||
padding: 1rem 1.5rem;
|
||||
transition: transform 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
ul.release-list li:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 8px 20px rgba(0,0,0,0.7);
|
||||
}
|
||||
|
||||
ul.release-list a {
|
||||
font-weight: 600;
|
||||
font-size: 1.1rem;
|
||||
font-style: italic;
|
||||
color: #00f683;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
ul.release-list a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.pub-date {
|
||||
font-size: 0.85rem;
|
||||
color: #a0a0a0;
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
|
||||
.author {
|
||||
font-size: 0.75rem;
|
||||
color: #7a7a7a;
|
||||
margin-top: 0.25rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.release-content {
|
||||
font-size: 0.9rem;
|
||||
color: #c0c0c0;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.laptopimg:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
/* Responsive adjustments for smaller screens */
|
||||
@media (max-width: 480px) {
|
||||
.laptopimg {
|
||||
margin-bottom: 1rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Ensure images are responsive and maintain aspect ratio */
|
||||
.laptopimg {
|
||||
max-width: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
Reference in New Issue
Block a user