com web/php: Adding some styles to better distinguish sections: styles/theme-base.css styles/theme-medium.css
| From: | Levi Morrison | Date: | Thu, 10 Apr 2014 20:17:41 +0000 |
| Subject: | com web/php: Adding some styles to better distinguish sections: styles/theme-base.css styles/theme-medium.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-18762@lists.php.net to get a copy of this message | ||
Commit: 39f246fd664d3307716ae985aee931cc29ba741a
Author: Levi Morrison <levim@php.net> Thu, 10 Apr 2014 14:17:41 -0600
Parents: cf6d5143f4dada0f631d36ff8827ce7080e70db6
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=39f246fd664d3307716ae985aee931cc29ba741a
Log:
Adding some styles to better distinguish sections
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 f15ad25..731ecbe 100755
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -1152,6 +1152,7 @@ fieldset {
}
.title {
+ position:relative;
padding:0 .75rem;
clear:both;
}
@@ -1175,6 +1176,10 @@ header.title {
right: 12px;
}
+.refentry .refsect1 {
+ margin-bottom:3rem;
+}
+
/* {{{ General styles (p, parameters, initializers, ...) */
.refsect1 .parameter {
@@ -1335,10 +1340,15 @@ ul.chunklist_children {
position: relative;
}
-.docs .refnamediv p.verinfo {
+.docs .verinfo {
font-size: .875rem;
margin:0;
}
+.refname .verinfo {
+ line-height:2.875rem;
+ float:right;
+ font-weight:normal;
+}
.docs h1..refname + h1.refname {
margin-top:-1.5rem; /* for functions with OO and procedural definitions */
diff --git a/styles/theme-medium.css b/styles/theme-medium.css
index 9e8d0bd..251d012 100755
--- a/styles/theme-medium.css
+++ b/styles/theme-medium.css
@@ -103,6 +103,14 @@ h1.refname {
border-radius:0 0 2px 2px;
box-shadow: inset 0 0 00 1px rgba(0,0,0,.1);
}
+.title:before {
+ content:" ";
+ display:block;
+ position:absolute;
+ left:0;
+ border-top:2px solid #4F5B93;
+ width:100%;
+}
.title a {
color: #333;
}