You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ig...@apache.org on 2012/05/08 12:19:43 UTC
svn commit: r1335403 - in /trafficserver/site/trunk/content/styles: 1140.css
styles.css
Author: igalic
Date: Tue May 8 10:19:43 2012
New Revision: 1335403
URL: http://svn.apache.org/viewvc?rev=1335403&view=rev
Log:
Style patches. Thanks to Frank Gingras at gmail com
Modified:
trafficserver/site/trunk/content/styles/1140.css
trafficserver/site/trunk/content/styles/styles.css
Modified: trafficserver/site/trunk/content/styles/1140.css
URL: http://svn.apache.org/viewvc/trafficserver/site/trunk/content/styles/1140.css?rev=1335403&r1=1335402&r2=1335403&view=diff
==============================================================================
--- trafficserver/site/trunk/content/styles/1140.css (original)
+++ trafficserver/site/trunk/content/styles/1140.css Tue May 8 10:19:43 2012
@@ -12,6 +12,14 @@ padding-left: 20px;
padding-right: 20px;
}
+.warning {
+ margin-top: 1em;
+}
+
+.row .nav .eightcol {
+font-size: 11pt;
+}
+
.row {
width: 100%;
max-width: 1140px;
@@ -20,14 +28,14 @@ margin: 0 auto;
overflow: hidden;
}
-.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .ninecol, .tencol, .elevencol {
+.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .ninecol, .tencol, .elevencol {
margin-right: 3.8%;
float: left;
min-height: 1px;
}
/* .eightcol used on front page causes weird whitespace at smaller windows */
-.eightcol{
+.eightcol{
float: left;
min-height: 1px;
}
@@ -39,6 +47,7 @@ width: 4.85%;
.row .twocol {
width: 13.45%;
+padding: 0.6em;
}
.row .threecol {
@@ -65,6 +74,10 @@ width: 56.75%;
width: 65.4%;
}
+.content > .eightcol {
+ width: 100%;
+}
+
.row .ninecol {
width: 74.05%;
}
@@ -73,6 +86,12 @@ width: 74.05%;
width: 82.7%;
}
+.content > .tencol {
+ width: 100%;
+ margin-right: 0px;
+ padding: 1em;
+}
+
.row .elevencol {
width: 91.35%;
}
@@ -82,6 +101,10 @@ width: 100%;
float: left;
}
+#footer > .tencol {
+ margin: 1em;
+}
+
.last {
margin-right: 0px;
}
@@ -104,7 +127,7 @@ img {
/*font-size: 0.8em;*/
/*line-height: 1.5em;*/
}
-
+
}
@@ -117,7 +140,7 @@ img {
/*font-size: 16px;*/
-webkit-text-size-adjust: none;
}
-
+
.row, body, .container {
width: 100%;
min-width: 0;
@@ -126,7 +149,7 @@ img {
padding-left: 0px;
padding-right: 0px;
}
-
+
.row .onecol, .row .twocol, .row .threecol, .row .fourcol, .row .fivecol, .row .sixcol, .row .sevencol, .row .eightcol, .row .ninecol, .row .tencol, .row .elevencol, .row .twelvecol {
width: auto;
float: none;
Modified: trafficserver/site/trunk/content/styles/styles.css
URL: http://svn.apache.org/viewvc/trafficserver/site/trunk/content/styles/styles.css?rev=1335403&r1=1335402&r2=1335403&view=diff
==============================================================================
--- trafficserver/site/trunk/content/styles/styles.css (original)
+++ trafficserver/site/trunk/content/styles/styles.css Tue May 8 10:19:43 2012
@@ -1,5 +1,5 @@
/* Traffic server Responsive CSS theme based on 1140.css grid */
-
+
/* ============================== */
/* ! Layout for desktop version */
/* ============================== */
@@ -31,10 +31,10 @@ INDEX
html {
font-family: Georgia, "Droid Serif", serif;
background: url('/images/grey_paper.jpg');
- font-size: 0.875em;
}
body {
+ font-size: 10pt;
}
.content {
@@ -43,7 +43,7 @@ body {
#content {
background:white;
- padding: 1.5em;
+ padding: 1em;
text-align: justify;
}
@@ -94,15 +94,15 @@ a {
/* Comments */
#disqus_thread {
- padding: 5px;
+ padding-top: 1em;
}
/* 3. HEADER AND NAVIGATION */
#header {
- padding-top: 20px;
- padding-bottom: 20px;
+ padding-top: 10px;
+ padding-bottom: 10px;
}
.nav {
@@ -148,9 +148,9 @@ a {
margin-left: 10px;
}
.banner {
- background-color:#EEEEEE;
- margin:0px 0 12px 0;
- color:#528DC8;
+ background-color:#EEEEEE;
+ margin:0px 0 12px 0;
+ color:#528DC8;
height:30px;
padding:11px 0 4px 0px;
text-align: left;
@@ -160,12 +160,11 @@ a {
#content h1 {
background-color:#EEEEEE;
- margin:0px 0 12px 0;
+ margin:0px 0 1em 0;
color:#528DC8;
- height:80px;
- padding:11px 0 4px 10px;
+ height:35px;
+ padding:11px 0 11px 10px;
text-align: left;
- margin-top: 1em;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
@@ -199,7 +198,7 @@ a {
#header-sub {
font-weight: bold;
text-align: right;
- font-size: 150%;
+ font-size: 15pt;
color:#528DC8;
margin-right: 30px;
}
@@ -273,7 +272,7 @@ div.last > ul li {
border-top-color: #47bf1f;
background: #47bf1f;
}
-
+
/*
#download {
height: 100px;
@@ -289,7 +288,7 @@ div.last > ul li {
#download a {
color: white;
font-size: 150%;
- text-decoration: none;
+ text-decoration: none;
}
#download a:hover {
}
@@ -346,7 +345,7 @@ div.last > ul li {
/* This is a guess - not tested */
-@media only screen and (-webkit-min-device-pixel-ratio: 2) {
+@media only screen and (-webkit-min-device-pixel-ratio: 2) {
font-size: 60%;
#searchbox{