summaryrefslogtreecommitdiff
path: root/assets/css/post-entry.css
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/post-entry.css')
-rw-r--r--assets/css/post-entry.css48
1 files changed, 24 insertions, 24 deletions
diff --git a/assets/css/post-entry.css b/assets/css/post-entry.css
index 13f30f5..5208bee 100644
--- a/assets/css/post-entry.css
+++ b/assets/css/post-entry.css
@@ -1,17 +1,15 @@
-/* Post entry
--------------------------------------------------- */
.first-entry {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
min-height: 320px;
- margin: var(--gap) 0 calc(var(--gap) * 2) 0;
+ margin: var(--gap) 0 calc(var(--gap)*2) 0
}
-@media screen and (max-width: 600px) {
+@media screen and (max-width:600px) {
.first-entry {
- min-height: 260px;
+ min-height: 260px
}
}
@@ -19,25 +17,25 @@
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
- -webkit-line-clamp: 3;
+ -webkit-line-clamp: 3
}
.first-entry .entry-header h2 {
- font-size: 34px;
+ font-size: 34px
}
.first-entry .entry-content {
margin: 14px 0;
font-size: 16px;
- -webkit-line-clamp: 3;
+ -webkit-line-clamp: 3
}
.first-entry .entry-footer {
- font-size: 14px;
+ font-size: 14px
}
.home-info .entry-content {
- -webkit-line-clamp: unset;
+ -webkit-line-clamp: unset
}
.post-entry {
@@ -46,19 +44,19 @@
padding: var(--gap);
background: var(--entry);
border-radius: var(--radius);
- transition: transform 0.1s;
+ transition: transform .1s
}
.post-entry:active {
- transform: scale(0.96);
+ transform: scale(.96)
}
.tag-entry .entry-cover {
- display: none;
+ display: none
}
.entry-header h2 {
- font-size: 24px;
+ font-size: 24px
}
.entry-content {
@@ -69,12 +67,12 @@
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
+ -webkit-line-clamp: 2
}
.entry-footer {
color: var(--secondary);
- font-size: 13px;
+ font-size: 13px
}
.entry-link {
@@ -82,29 +80,31 @@
left: 0;
right: 0;
top: 0;
- bottom: 0;
+ bottom: 0
}
+.entry-cover,
.entry-isdraft {
- display: inline;
- color: var(--secondary);
font-size: 14px;
+ color: var(--secondary)
+}
+
+.entry-isdraft {
+ display: inline
}
.entry-cover {
margin-bottom: var(--gap);
- text-align: center;
- font-size: 14px;
- color: var(--secondary);
+ text-align: center
}
.entry-cover img {
border-radius: var(--radius);
pointer-events: none;
- width: 100%;
+ width: 100%
}
.entry-cover a {
color: var(--secondary);
- box-shadow: 0 1px 0 var(--primary);
+ box-shadow: 0 1px 0 var(--primary)
}