From c6e514e751a7ff6de19a71cd4d1c598fe69ea65f Mon Sep 17 00:00:00 2001 From: atomaka Date: Tue, 4 Oct 2011 07:07:26 -0400 Subject: [PATCH] Use a jquery corner plugin instead of Nifty Corners. --- public_html/css/main.css | 147 ++++++------------- public_html/index.php | 24 ++- public_html/js/jquery.corner.js | 249 ++++++++++++++++++++++++++++++++ 3 files changed, 303 insertions(+), 117 deletions(-) create mode 100644 public_html/js/jquery.corner.js diff --git a/public_html/css/main.css b/public_html/css/main.css index 8127cf7..b0463ae 100644 --- a/public_html/css/main.css +++ b/public_html/css/main.css @@ -1,5 +1,4 @@ -body -{ +body { padding: 0px; margin: 0px; text-align: center; @@ -7,29 +6,24 @@ body color: #000000; } -body, div, td -{ +body, div, td { font-family: Verdana, Arial, Helvetica, sans-serif; } -img -{ +img { border: 0; } -a -{ +a { color: #000000; } -h1 -{ +h1 { font-size: 48px; font-weight: bold; } -h2 -{ +h2 { font-size: 21px; font-weight: bold; padding: 0px; @@ -39,28 +33,25 @@ h2 font-family: Verdana, Arial, Helvetica, sans-serif; color: #9bc1a4; } -h3 -{ + +h3 { visibility: hidden; display: none; } -table -{ +table { font-size: 11px; color: #000000; } -div#header -{ +div#header { width: 979px; text-align: right; color: #216332; margin: 0px auto; } -div#content -{ +div#content { background-color: #216332; text-align: left; width: 979px; @@ -69,45 +60,38 @@ div#content padding-bottom: 8px; } -div#column1a -{ +div#column1a { width: 313px; float: left; padding-left: 10px; } -div#column1b -{ +div#column1b { width: 313px; float: left; padding-left: 10px; } -div#column1c -{ +div#column1c { width: 313px; float: left; padding-left: 10px; padding-right: 10px; } -div#contact -{ +div#contact { font-size: 24px; } -div#benchmark -{ +div#benchmark { font-size: 11px; } -div#copyright -{ +div#copyright { font-size: 11px; } -.box -{ +.box { padding: 5px; margin: 5px; background-color: #ffffff; @@ -115,113 +99,70 @@ div#copyright color: #000000; } -.box a -{ +.box a { color: #216332; } -.box a:hover -{ +.box a:hover { color: #9bc1a4; } -.tweet -{ +.tweet { font-size: 16px; } -.right -{ +.right { float: right; text-align:right; } .top { - vertical-align: top; + vertical-align: top; } -.center -{ +.center { text-align: center; } -.justify -{ +.justify { text-align: justify; } -.clear -{ +.clear { clear: both; } .contact { - border: 0; + border: 0; } .icon { - border: 0; + border: 0; +} + +.iconized { + min-height: 36px; } table.formatting { - width: 100%; - border-collapse: collapse; - + width: 100%; + border-collapse: collapse; + } td.formatting { - padding: 0; - width: 68px; - vertical-align: top; + padding: 0; + width: 68px; + vertical-align: top; } td.gamesformatting { - padding: 0; - width: 68px; - vertical-align: top; + padding: 0; + width: 68px; + vertical-align: top; } .cover { - border: 0; - width: 64px; -} - - -/*----------------------------------------------------------------------------*/ -/*------------- NIFTY CORNERS -------------*/ -/*----------------------------------------------------------------------------*/ -/*Nifty Corners Cube CSS by Alessandro Fulciniti -The following classes are added dinamically by javascript, -and their use should be avoided in the markup */ - -b.niftycorners,b.niftyfill{display:block} -b.niftycorners *{display:block;height: 1px;line-height:1px;font-size: 1px; - overflow:hidden;border-style:solid;border-width: 0 1px} -/*normal*/ -b.r1{margin: 0 3px;border-width: 0 2px} -b.r2{margin: 0 2px} -b.r3{margin: 0 1px} -b.r4{height: 2px} -b.rb1{margin: 0 8px;border-width:0 2px} -b.rb2{margin: 0 6px;border-width:0 2px} -b.rb3{margin: 0 5px} -b.rb4{margin: 0 4px} -b.rb5{margin: 0 3px} -b.rb6{margin: 0 2px} -b.rb7{margin: 0 1px;height:2px} -b.rb8{margin: 0;height:2px} -b.rs1{margin: 0 1px} -/*transparent inside*/ -b.t1{border-width: 0 5px} -b.t2{border-width: 0 3px} -b.t3{border-width: 0 2px} -b.t4{height: 2px} -b.tb1{border-width: 0 10px} -b.tb2{border-width: 0 8px} -b.tb3{border-width: 0 6px} -b.tb4{border-width: 0 5px} -b.tb5{border-width: 0 4px} -b.tb6{border-width: 0 3px} -b.tb7{border-width: 0 2px;height:2px} -b.tb8{border-width: 0 1px;height:2px} -b.ts1{border-width: 0 2px} \ No newline at end of file + border: 0; + width: 64px; +} \ No newline at end of file diff --git a/public_html/index.php b/public_html/index.php index 16c9af3..323b804 100644 --- a/public_html/index.php +++ b/public_html/index.php @@ -35,17 +35,19 @@ $links = $db->query("SELECT id,url,text,status,released_date FROM wia_links WHER

twitter

-
+
Follow me on Twitter twitter->text ?>
twitter->time != 0) { echo time_since($data->twitter->time) ?> ago

github

-
+
+ Follow me on Github Committed "github->commit ?>" - on github->repo ?>.
+ on github->repo ?>.
+

projects

project 1

@@ -177,18 +179,9 @@ $links = $db->query("SELECT id,url,text,status,released_date FROM wia_links WHER

- - +