Initial commit
This commit is contained in:
130
resources/css/layout/entry.css
Normal file
130
resources/css/layout/entry.css
Normal file
@@ -0,0 +1,130 @@
|
||||
#entry-container {
|
||||
background-color: var(--bg2);
|
||||
border: 1px solid var(--border);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.entry-header {
|
||||
|
||||
display: flex;
|
||||
padding: 30px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
background: linear-gradient(to right, rgba(255,115,0,0.05), transparent);
|
||||
gap: 30px;
|
||||
|
||||
.entry-cover {
|
||||
width: 200px;
|
||||
height: 280px;
|
||||
background-color: var(--bg);
|
||||
border: 1px solid var(--border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
.entry-info {
|
||||
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.entry-title {
|
||||
font-size: 2.2rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 5px;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.entry-authors {
|
||||
color: var(--rhpz-orange);
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.entry-meta-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 15px;
|
||||
margin-bottom: 25px;
|
||||
background-color: var(--bg);
|
||||
padding: 15px;
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.entry-meta-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.entry-meta-label {
|
||||
font-size: 0.75rem;
|
||||
color: var(--text2);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.entry-actions {
|
||||
margin-top: auto;
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.entry-content {
|
||||
padding: 30px;
|
||||
|
||||
.entry-section-title {
|
||||
font-size: 1.2rem;
|
||||
border-bottom: 1px solid var(--border);
|
||||
padding-bottom: 10px;
|
||||
margin-bottom: 20px;
|
||||
color: var(--text);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.entry-description {
|
||||
line-height: 1.6;
|
||||
color: var(--text);
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.entry-gallery {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.entry-gallery-item {
|
||||
aspect-ratio: 4/3;
|
||||
background-color: var(--bg);
|
||||
border: 1px solid var(--border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.2s;
|
||||
|
||||
&:hover {
|
||||
border-color: var(--rhpz-orange);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.entry-cover-placeholder {
|
||||
text-align: center;
|
||||
color: var( --text2 );
|
||||
}
|
||||
Reference in New Issue
Block a user