com web/php: When the layout-content is the only child it now expand to full-width; border is only applied when other elements are present:
styles/theme-base.css styles/theme-medium.css
| From: | Levi Morrison | Date: | Fri, 09 May 2014 17:09:24 +0000 |
| Subject: | com web/php: When the layout-content is the only child it now expand to full-width; border is only applied when other elements are present: styles/theme-base.css styles/theme-medium.css |
||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-18868@lists.php.net to get a copy of this message | ||
Commit: b5f99611860befa333122827d2b0550a56fb89c9
Author: Levi Morrison <levim@php.net> Fri, 9 May 2014 11:09:24 -0600
Parents: 29e9f3269b00e9df8ace5d0ba5aad7690a61ec75
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=b5f99611860befa333122827d2b0550a56fb89c9
Log:
When the layout-content is the only child it now expand to full-width; border is only applied when
other elements are present
Changed paths:
M styles/theme-base.css
M styles/theme-medium.css
Diff:
diff --git a/styles/theme-base.css b/styles/theme-base.css
index 2eaa520..41d0154 100755
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -569,6 +569,9 @@ pre.info {
-moz-box-sizing:border-box;
box-sizing:border-box;
}
+#layout-content:only-child {
+ width:100%;
+}
/**
#layout .refentry div[id], #layout .sect1 div[id], #usernotes div.note[id]
diff --git a/styles/theme-medium.css b/styles/theme-medium.css
index 46030ff..61ee1ab 100755
--- a/styles/theme-medium.css
+++ b/styles/theme-medium.css
@@ -17,10 +17,12 @@ html {
color: #CCC;
}
#layout-content {
- border-right:..25rem solid #666;
background:#F2F2F2;
color:#333;
}
+#layout-content:not(:only-child) {
+ border-right:.25rem solid #666;
+}
abbr {
border-color: #8892BF;