Userpage: rewrite of many CSS rules for better scaling behavior
authorDan
Fri, 17 Jul 2009 09:06:51 -0400
changeset 1057 183111d8c46a
parent 1056 f21d6e75b469
child 1058 c4b057708436
Userpage: rewrite of many CSS rules for better scaling behavior
includes/clientside/css/enano-shared.css
themes/enanium/css/babygrand.css
--- a/includes/clientside/css/enano-shared.css	Mon Jul 13 08:00:36 2009 -0400
+++ b/includes/clientside/css/enano-shared.css	Fri Jul 17 09:06:51 2009 -0400
@@ -796,42 +796,42 @@
  */
  
 div.userpage_wrap {
+  /* Content starts at 4.05em */
   position: relative;
   top: 4em;
   margin-bottom: 4em;
-  border: 1px solid #a0a0a0;
+  border: 0.05em solid #a0a0a0;
 }
 
 ul.userpage_links {
+  top: -3.05em;
   position: absolute;
-  top: -3.05em;
   padding-left: 10px;
   list-style-type: none !important;
   list-style-image: none !important;
 }
 
 ul.userpage_links li {
+  line-height: 1.85em;
+  border-width: 0.05em 0.05em 0 0.05em;
   float: left;
   margin-right: 5px;
   padding: 0 7px;
-  line-height: 1.9em;
   list-style-type: none !important;
   list-style-image: none !important;
   border-style: solid;
   border-color: #808080;
-  border-width: 1px 1px 0 1px;
 }
 
 ul.userpage_links li.userpage_tab_active {
+  border-bottom-color: #ffffff;
+  border-bottom-width: 0.05em;
+  line-height: 2.05em;
   margin-top: -0.2em;
-  line-height: 2.1em;
-  border-width: 1px 1px 1px 1px;
-  border-bottom-color: #ffffff;
   font-weight: bold;
 }
 
 ul.userpage_links li:hover {
-  border-width: 1px 1px 1px 1px;
   border-bottom-color: #ffffff;
   cursor: pointer;
 }
--- a/themes/enanium/css/babygrand.css	Mon Jul 13 08:00:36 2009 -0400
+++ b/themes/enanium/css/babygrand.css	Fri Jul 17 09:06:51 2009 -0400
@@ -415,11 +415,9 @@
 ul.userpage_links li:hover {
   background-image: url('../images/buttonbg-lite.gif');
   border-color: #404040 #404040 #ffffff #404040;
-  border-bottom-width: 0;
 }
 
 ul.userpage_links li.userpage_tab_active:hover {
-  border-bottom-width: 1px;
 }
 
 ul.userpage_links li a:visited, ul.userpage_links li a:hover {