Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: static/css/main.css

Issue 29568555: Issue 5723 - Implement new abp.org content style guide (Closed) Base URL: https://bitbucket.org/adblockplus/adblockplus.org
Patch Set: Addressed comments Created Oct. 9, 2017, 11:25 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « static/css/index-mobile.css ('k') | templates/default.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/css/main.css
===================================================================
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -1,100 +1,8 @@
-/*******************************************************************************
- * Base styles
- ******************************************************************************/
-html {
- color: #212121;
- background-color: #fff;
- font-family: sans-serif;
- line-height: 1.5; }
-
-/**
- * Stretch content full-width
- */
-.full-width {
- display: block;
- width: 100%;
- margin: 1em 0px; }
-
-/**
- * Center content within a (responsive) fixed width
- */
-.container {
- width: auto;
- max-width: 100%;
- margin: 0px auto;
- padding: 0px 1em; }
-
-@media (min-width: 768px) {
- .container {
- width: 720px; } }
-
-@media (min-width: 1200px) {
- .container {
- width: 1170px; } }
-
-/*******************************************************************************
- * Grid component
- ******************************************************************************/
-/**
- * - .row contains one or more .column(s)
- * - .row clears .column(s)
- * - .row negates the left & right padding of it's left-most & right-most
- * .column(s) while preserving consistent padding between .column(s)
- */
-.row {
- margin: 0px -1em; }
-
-.row:after {
- display: block;
- clear: both;
- content: ""; }
-
-/**
- * - .column is 100% width by default
- * - Modifier classes are applied to .column to change it's width
- * - Modifier classes behave differently on different device widths
- */
-.column {
- position: relative;
- width: 100%;
- min-height: 1px;
- padding: 0px 1em; }
-
-/* - .column(s) within .row .reverse appear in reverse order
- * - .column(s) within [dir=rtl] appear in reverse order respectively
- */
-.column,
-[dir="rtl"] .reverse .column {
- float: left; }
-
-.row,
-.column {
- box-sizing: border-box; }
-
-.reverse .column,
-[dir="rtl"] .column {
- float: right; }
-
-@media (min-width: 768px) {
- .one-half,
- .one-fourth {
- width: 50%; } }
-
-@media (min-width: 1200px) {
- .one-third {
- width: 33.333333%; }
- .two-thirds {
- width: 66.666667%; }
- .one-fourth {
- width: 25%; }
- .three-fourths {
- width: 75%; } }
-
*
{
font-family: Arial, sans;
font-size: 16px;
}
body
{
@@ -200,32 +108,16 @@
#logo
{
position: absolute;
width: 128px;
height: 128px;
background-position: -83px -83px;
}
-#content h1
-{
- font-size: 30px;
-}
-
-#content h2
-{
- font-weight: bold;
- font-size: 25px;
-}
-
-#content h3
-{
- font-size: 20px;
-}
-
#adblock-browser-notification
{
text-align: center;
}
#adblock-browser-notification a
{
font-weight: bold;
@@ -377,8 +269,29 @@
{
border-left: 5px solid #d14841;
}
[dir="rtl"] .alert
{
border-right: 5px solid #d14841;
}
+
+/******************************************************************************
+ * .content
+ *****************************************************************************/
+
+.content h1,
+.content h2,
+.content h3,
+.content h4,
+.content h5
+{
+ font-weight: bold;
+ margin: 32px 0px;
+ margin: 2rem 0rem;
+}
+
+.content h1 { font-size: 2.4em; }
+.content h2 { font-size: 1.6em; }
+.content h3 { font-size: 1.3em; }
+.content h4 { font-size: 1.2em; }
+.content h5 { font-size: 1.1em; }
« no previous file with comments | « static/css/index-mobile.css ('k') | templates/default.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld