r5356 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r5355‎ | r5356 | r5357 >
Date:16:13, 21 September 2004
Author:hashar
Status:old
Tags:
Comment:
* flips p-nav and p-personal
* no bullets for menu list items
Modified paths:
  • /trunk/phase3/skins/amethyst/main.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/amethyst/main.css
@@ -98,9 +98,9 @@
9999 a:hover { text-decoration: underline;}
100100 a.stub { color: #772233; }
101101 a.new,
102 -#p-personal a.new { color:#C033C0; }
 102+#p-nav a.new { color:#C033C0; }
103103 a.new:visited,
104 -#p-personal a.new:visited { color:#C033C0; }
 104+#p-nav a.new:visited { color:#C033C0; }
105105
106106 img {
107107 border: none;
@@ -598,10 +598,9 @@
599599 }
600600 .pBody {
601601 font-size: 95%;
602 - background: #2F333B;
603602 border-collapse: collapse;
604 - border: 1px solid #aaaaaa;
605 - padding: 0 0.8em 0.3em 0.5em;
 603+ border: none;
 604+ padding: 0.3em;
606605 }
607606 .portlet h1,
608607 .portlet h2,
@@ -611,17 +610,24 @@
612611 padding: 0;
613612 }
614613 .portlet ul {
615 - line-height: 1.5em;
616 - list-style-type: square;
617 - list-style-image: url("bullet.gif");
 614+ margin: 0 0 0 0;
 615+ line-height: 2em;
 616+ list-style-type: none;
 617+ list-style-image: none;
618618 font-size:95%;
619619 }
620620 .portlet li {
 621+ background: #2F333B;
621622 padding:0;
622 - margin: 0 0 0 0;
623 - margin-bottom: 0;
 623+ margin: 0 0 0.5em 0;
 624+ border : 1px solid #aaaaaa;
624625 }
625 -
 626+.portlet form {
 627+ background: #2F333B;
 628+ padding:0;
 629+ margin: 0 0 0.5em 0;
 630+ border : 1px solid #aaaaaa;
 631+}
626632 /*
627633 ** Logo properties
628634 */
@@ -650,7 +656,7 @@
651657 ** the navigation portlet
652658 */
653659
654 -#p-nav {
 660+#p-personal {
655661 position:relative;
656662 z-index:3;
657663 }
@@ -687,7 +693,7 @@
688694 ** the personal toolbar
689695 */
690696
691 -#p-personal {
 697+#p-nav {
692698 width:100%;
693699 white-space:nowrap;
694700 padding:0 0 0 0;
@@ -702,11 +708,11 @@
703709 line-height: 1.2em;
704710 }
705711
706 -#p-personal h5 {
 712+#p-nav h5 {
707713 display:none;
708714 }
709 -#p-personal .portlet,
710 -#p-personal .pBody {
 715+#p-nav .portlet,
 716+#p-nav .pBody {
711717 padding:0;
712718 margin:0;
713719 border: none;
@@ -714,8 +720,9 @@
715721 overflow: visible;
716722 background: none;
717723 }
 724+
718725 /* this is the ul contained in the portlet */
719 -#p-personal ul {
 726+#p-nav ul {
720727 border: none;
721728 line-height: 1.4em;
722729 color: #2f6fab;
@@ -727,7 +734,7 @@
728735 z-index:0;
729736 background: none;
730737 }
731 -#p-personal li {
 738+#p-nav li {
732739 z-index:0;
733740 border:none;
734741 padding:0;
@@ -737,13 +744,13 @@
738745 line-height: 1.2em;
739746 background: none;
740747 }
741 -#p-personal li a {
 748+#p-nav li a {
742749 text-decoration: none;
743750 color: white;
744751 padding-bottom: 0.2em;
745752 background: none;
746753 }
747 -#p-personal li a:hover {
 754+#p-nav li a:hover {
748755 padding-bottom: 0.2em;
749756 text-decoration: none;
750757 }
@@ -765,7 +772,7 @@
766773 #p-cactions {
767774 position:absolute;
768775 top: 1.3em;
769 - left: 11.5em;
 776+ left: 11.9em;
770777 margin: 0;
771778 white-space:nowrap;
772779 width: 76%;
@@ -818,6 +825,8 @@
819826 padding-left: 0.4em;
820827 padding-right: 0.4em;
821828 }
 829+
 830+
822831 /* offsets to distinguish the tab groups */
823832 li#ca-talk { margin-right: 1.6em; }
824833 li#ca-watch, li#ca-watch { margin-left: 1.6em; }

Status & tagging log