com web/php: Add better separation of news items.: styles/home.css styles/theme.css
| From: | Adam Harvey | Date: | Fri, 31 Aug 2012 10:01:44 +0000 |
| Subject: | com web/php: Add better separation of news items.: styles/home.css styles/theme.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-14586@lists.php.net to get a copy of this message | ||
Commit: 8e46437837a90e3ebcc24d439303bd4caa43cfed
Author: Adam Harvey <aharvey@php.net> Fri, 31 Aug 2012 18:01:44 +0800
Parents: e61828f07a88607acc0400b15c53b70c556d6e4b
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=8e46437837a90e3ebcc24d439303bd4caa43cfed
Log:
Add better separation of news items.
Changed paths:
M styles/home.css
M styles/theme.css
Diff:
diff --git a/styles/home.css b/styles/home.css
index 0ad9fea..07d827d 100644
--- a/styles/home.css
+++ b/styles/home.css
@@ -351,6 +351,9 @@ div.home-sidebar a:focus {
display: block;
}
+.home .newsItem {
+ border-bottom: 0;
+}
.newsItem h2 a {
border-bottom-width:0;
}
diff --git a/styles/theme.css b/styles/theme.css
index 2c1a985..78f90ed 100755
--- a/styles/theme.css
+++ b/styles/theme.css
@@ -745,6 +745,10 @@ table.standard td {
.newsItem {
margin:1.5em 0;
+ border-bottom: solid 0.25em #99c;
+}
+.newsItem:last-child {
+ border-bottom: 0;
}
.newsItem .published {
display:inline-block;
@@ -764,4 +768,4 @@ table.standard td {
p code {
font-family: Verdana, Arial, sans-serif;
font-size:100%;
-}
\ No newline at end of file
+}