From b544a59cb96193ddcd0b8c0f9cc70bda973415a5 Mon Sep 17 00:00:00 2001 From: ssstvinc2 Date: Sun, 19 Feb 2017 23:04:31 -0500 Subject: Fixed bounding box on h1s --- html_template/BAKtemplate.html | 236 ++++++++++++++++---------------- html_template/BAKunbiased.css | 206 ++++++++++++++-------------- html_template/Penguins.jpg | Bin html_template/newtemplate.html | 300 ++++++++++++++++++++--------------------- html_template/template.html | 18 ++- html_template/unbiased.css | 7 +- 6 files changed, 389 insertions(+), 378 deletions(-) mode change 100644 => 100755 html_template/BAKtemplate.html mode change 100644 => 100755 html_template/BAKunbiased.css mode change 100644 => 100755 html_template/Penguins.jpg mode change 100644 => 100755 html_template/template.html mode change 100644 => 100755 html_template/unbiased.css (limited to 'html_template') diff --git a/html_template/BAKtemplate.html b/html_template/BAKtemplate.html old mode 100644 new mode 100755 index ab1dbb9..94a3796 --- a/html_template/BAKtemplate.html +++ b/html_template/BAKtemplate.html @@ -1,118 +1,118 @@ - - - - - - - UnBiased - - - - - -
-
-
- -
- -
-
xxTitle1-1xx
-
-
xxDesc1-1xx
-
- -
- -
- -
-
xxTitle1-2xx
-
-
xxDesc1-2xx
-
- -
- -
- -
-
xxTitle1-3xx
-
-
xxDesc1-3xx
-
-
- - - -
-
- -
- -
- Sources: xxSourcesxx -
- - + + + + + + + UnBiased + + + + + +
+
+
+ +
+ +
+
xxTitle1-1xx
+
+
xxDesc1-1xx
+
+ +
+ +
+ +
+
xxTitle1-2xx
+
+
xxDesc1-2xx
+
+ +
+ +
+ +
+
xxTitle1-3xx
+
+
xxDesc1-3xx
+
+
+ + + +
+
+ +
+ +
+ Sources: xxSourcesxx +
+ + diff --git a/html_template/BAKunbiased.css b/html_template/BAKunbiased.css old mode 100644 new mode 100755 index 49b6dce..ade390b --- a/html_template/BAKunbiased.css +++ b/html_template/BAKunbiased.css @@ -1,104 +1,104 @@ -a:link, a:visited, a:hover, a:active { - color: #00f; - text-decoration:none; - } - -#page-header{ - text-align:center; - padding:.5em 0 1em; - margin-bottom:1em; - border-bottom:1px solid #000; -} - -.title{ - font-size:3em; -} - -#title-1{ - font-style:italic; - color:#d00; -} - -#title-2{ - color:#00d; -} - -#subtitle{ - font-size:1.25em; -} - -#timestamp{ - margin:.5em 0 0 0; - font-size:.8em; -} - -#page-container{ - width:1150px; - padding:0 1em; - margin-left:auto; - margin-right:auto; -} - -#top-stories{ - width:1150px; - margin-left:auto; - margin-right:auto; - font-size:1.25em; -} - -.top-story{ - width:350px; - float:left; - margin:0 .5em; -} - -.top-stories-img{ - width:350px; - height:200px; - overflow:hidden; -} - -.top-stories-img img{ - width:100%; - display:block; - vertical-align:text-bottom; -} - -.top-stories-desc{ - font-size:.8em; - padding-top:.5em; -} - -#middle-stories{ - clear:both; - width:1000px; - margin:0 auto; -} - -.middle-story{ - margin:2em 5px; - width:45%; - float:left; - height:100px; -} - -.middle-story img{ - vertical-align:middle; - height:100px; - float:left; - margin-right:1em; -} - -.middle-stories-hed{ - font-size:1.1em; -} - -.middle-story p{ - display:block; -} - -#sources{ - clear:both; - padding-top:4em; - font-size:.8em; +a:link, a:visited, a:hover, a:active { + color: #00f; + text-decoration:none; + } + +#page-header{ + text-align:center; + padding:.5em 0 1em; + margin-bottom:1em; + border-bottom:1px solid #000; +} + +.title{ + font-size:3em; +} + +#title-1{ + font-style:italic; + color:#d00; +} + +#title-2{ + color:#00d; +} + +#subtitle{ + font-size:1.25em; +} + +#timestamp{ + margin:.5em 0 0 0; + font-size:.8em; +} + +#page-container{ + width:1150px; + padding:0 1em; + margin-left:auto; + margin-right:auto; +} + +#top-stories{ + width:1150px; + margin-left:auto; + margin-right:auto; + font-size:1.25em; +} + +.top-story{ + width:350px; + float:left; + margin:0 .5em; +} + +.top-stories-img{ + width:350px; + height:200px; + overflow:hidden; +} + +.top-stories-img img{ + width:100%; + display:block; + vertical-align:text-bottom; +} + +.top-stories-desc{ + font-size:.8em; + padding-top:.5em; +} + +#middle-stories{ + clear:both; + width:1000px; + margin:0 auto; +} + +.middle-story{ + margin:2em 5px; + width:45%; + float:left; + height:100px; +} + +.middle-story img{ + vertical-align:middle; + height:100px; + float:left; + margin-right:1em; +} + +.middle-stories-hed{ + font-size:1.1em; +} + +.middle-story p{ + display:block; +} + +#sources{ + clear:both; + padding-top:4em; + font-size:.8em; } \ No newline at end of file diff --git a/html_template/Penguins.jpg b/html_template/Penguins.jpg old mode 100644 new mode 100755 diff --git a/html_template/newtemplate.html b/html_template/newtemplate.html index 923dee2..0cec766 100644 --- a/html_template/newtemplate.html +++ b/html_template/newtemplate.html @@ -1,150 +1,150 @@ - - - - - - UnBiased - - - - - -
-
- -
- -
-
-
Rand Paul and Cory Booker push bipartisan effort to limit solitary confinement for juveniles
-
-
Sen. Rand Paul (R-Ky) and Sen …
-
- -
- -
-
-
Bibi and Donald
-
-
This week, Israel's prime minister will visit Washington and meet with our new president. They will have a complex agenda. Benjamin ...
-
- -
- -
-
-
David Oyelowo on How to Play a Real King
-
-
He stars in “A United Kingdom,” about the Botswana leader who married a white woman and set off an international crisis.
-
- -
- -
-
-
Judge orders Ohio village to pay back $3 million to lead-footed drivers
-
-
Speed cameras became a cash cow for the small village of New Miami, Ohio.
-
- -
- - - -
-
- xxTitle3-1xx -
- -
- xxTitle3-2xx -
- -
- xxTitle3-3xx -
- -
- xxTitle3-4xx -
- -
- xxTitle3-5xx -
- -
- xxTitle3-6xx -
- -
- xxTitle3-7xx -
- -
- xxTitle3-8xx -
-
- -
- -
- Sources: BBC US, NBC News, CBS News, The Blaze, Weekly Standard, New York Times, Fox News -
- - + + + + + + UnBiased + + + + + +
+
+ +
+ +
+
+
Rand Paul and Cory Booker push bipartisan effort to limit solitary confinement for juveniles
+
+
Sen. Rand Paul (R-Ky) and Sen …
+
+ +
+ +
+
+
Bibi and Donald
+
+
This week, Israel's prime minister will visit Washington and meet with our new president. They will have a complex agenda. Benjamin ...
+
+ +
+ +
+
+
David Oyelowo on How to Play a Real King
+
+
He stars in “A United Kingdom,” about the Botswana leader who married a white woman and set off an international crisis.
+
+ +
+ +
+
+
Judge orders Ohio village to pay back $3 million to lead-footed drivers
+
+
Speed cameras became a cash cow for the small village of New Miami, Ohio.
+
+ +
+ + + +
+
+ xxTitle3-1xx +
+ +
+ xxTitle3-2xx +
+ +
+ xxTitle3-3xx +
+ +
+ xxTitle3-4xx +
+ +
+ xxTitle3-5xx +
+ +
+ xxTitle3-6xx +
+ +
+ xxTitle3-7xx +
+ +
+ xxTitle3-8xx +
+
+ +
+ +
+ Sources: BBC US, NBC News, CBS News, The Blaze, Weekly Standard, New York Times, Fox News +
+ + diff --git a/html_template/template.html b/html_template/template.html old mode 100644 new mode 100755 index c0e0711..41eb86e --- a/html_template/template.html +++ b/html_template/template.html @@ -16,12 +16,12 @@
+
-
- -
-
-
xxTitle1-1xx
+
+ +
+
xxTitle1-1xx
xxDesc1-1xx
@@ -35,6 +35,10 @@
xxDesc1-2xx
+
+ +
+
- + +
+
diff --git a/html_template/unbiased.css b/html_template/unbiased.css old mode 100644 new mode 100755 index 126e194..c0bb121 --- a/html_template/unbiased.css +++ b/html_template/unbiased.css @@ -71,17 +71,22 @@ a:link, a:visited, a:hover, a:active { margin-bottom: 10px; } +.row{ + display:flex; +} + .top-story{ display:inline-block; vertical-align:top; text-align:left; width:360px; - height:352px; + height:auto; overflow:hidden; background:#fff; margin:10px; padding:10px; border:2px solid #ccc; + flex:1; } @media only screen and (max-width:500px){ -- cgit v1.2.3