mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
tweak spacing for news items
This commit is contained in:
parent
ab0e6e7ab4
commit
8274ac3e80
2 changed files with 5 additions and 2298 deletions
2296
public/css/neo.css
2296
public/css/neo.css
File diff suppressed because it is too large
Load diff
|
@ -514,10 +514,13 @@ a.tag:hover {
|
||||||
.news-item {
|
.news-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
float: left;
|
float: left;
|
||||||
|
margin: 1.5em 0;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
.news-item.update, .news-item.tags, .news-item.comment.for-me, .news-item.tip.for-me {
|
.news-item.update, .news-item.tags, .news-item.comment.for-me, .news-item.tip.for-me {
|
||||||
margin: 1.8em 0;
|
margin: 1.0em 0;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
.news-item:nth-of-type(1) {
|
.news-item:nth-of-type(1) {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
@ -566,6 +569,7 @@ a.tag:hover {
|
||||||
.news-item.tip .icon {
|
.news-item.tip .icon {
|
||||||
background: #FFCC00;
|
background: #FFCC00;
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-item.follow .icon {
|
.news-item.follow .icon {
|
||||||
background: #3399CC;
|
background: #3399CC;
|
||||||
}
|
}
|
||||||
|
@ -618,7 +622,6 @@ a.tag:hover {
|
||||||
padding: 0 0 0 32px;
|
padding: 0 0 0 32px;
|
||||||
}
|
}
|
||||||
.news-item .comments {
|
.news-item .comments {
|
||||||
margin-bottom: 1.5em;
|
|
||||||
margin-top: .7em;
|
margin-top: .7em;
|
||||||
}
|
}
|
||||||
.news-item .comments .comment {
|
.news-item .comments .comment {
|
||||||
|
|
Loading…
Add table
Reference in a new issue