/[web]/nav/css/source.css
ViewVC logotype

Contents of /nav/css/source.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2856 - (show annotations) (download) (as text)
Sat Nov 30 17:51:12 2013 UTC (10 years, 3 months ago) by leuhmanu
File MIME type: text/css
File size: 3429 byte(s)
be coherent with new array of nav
1 /*! mageia.org nav CSS */
2
3 /**
4 * TODO top nav must stay on top when scrolling (reduced or full)
5 *
6 */
7 /** Global rules for *.mageia.org */
8 /*
9 body {
10 background: #fff;
11 font-family: Verdana, "Trebuchet MS", "Lucida Grande", "Lucida Sans", Verdana, Tahoma, Arial, sans-serif;
12 }
13 a, a:link { color: #2383c2; text-decoration: none; }
14 */
15 h1,
16 h2,
17 h3 {
18 font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
19 font-weight: normal;
20 color: #3494d3;
21 }
22
23 h2 a,
24 h3 a {
25 color: #3494d3;
26 text-decoration: none;
27 }
28
29 /** Specific to navigation elements */
30
31 #hmgn { margin: 0; padding: 0; }
32 #mgnav {
33 margin: 0; padding: 0;
34 padding-bottom: 4px;
35 background: #2383C2;
36 background: -webkit-linear-gradient(top, #3494D3 0%, #2383C2 50%);
37 background: -moz-linear-gradient(top, #3494D3 0%, #2383C2 50%);
38 background: -o-linear-gradient(top, #3494D3 0%, #2383C2 50%);
39 background: linear-gradient(top, #3494D3 0%, #2383C2 50%);
40 font: normal 13px/1.3em "Trebuchet MS", "Lucida Grande", "Lucida Sans", Verdana, Tahoma, Arial, sans-serif;
41 }
42
43 #nav {
44 margin: 0;
45 padding: 0;
46 display: table;
47 }
48 #nav li {
49 display: table-cell;
50 padding: 0;
51 border-right: 1px solid #f0f0f0;
52 }
53 #nav li:last-child { border: none; }
54 #nav a {
55 display: block;
56 height: 64px;
57 padding: 0 1.4em;
58 text-decoration: none;
59 text-align: center;
60 line-height: 75px;
61 min-width: 2.5em;
62 color: #444;
63 background: #fff;
64 cursor: pointer;
65 }
66 #nav a:hover {
67 color: #2383C2;
68 }
69
70 #nav a.mageia {
71 width: 143px;
72 background: #fff url(//nav.mageia.org/css/mageia-logo-nav-3.png) no-repeat 26px 12px;
73 color: transparent;
74 text-shadow: none;
75 }
76
77 .about #mgnav .about,
78 .downloads #mgnav .downloads,
79 .community #mgnav .community,
80 .blog #mgnav .community,
81 .mediawiki #mgnav .wiki,
82 .support #mgnav .support,
83 .contribute #mgnav .contribute,
84 .donate #mgnav .donate,
85 .bugs-mageia-org #mgnav .contribute,
86 .contrib #mgnav .contrib,
87 .you #mgnav .you,
88 .contact #mgnav .contact,
89 .doc #mgnav .doc
90 {
91 font-weight: bold;
92 background: transparent;
93 color: white;
94 text-shadow: 0 0 3px #222;
95 /*outline: 4px solid white;
96 => works with Chrome 18+, fails with Firefox 12
97 => using this ~ hack in the meantime {{
98 */
99 /*border: 4px solid white;*/
100 border-top: 0;
101 /*margin-bottom: -4px;*/
102 /* }} */
103 }
104
105 h1,
106 h2,
107 h3 {
108 font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
109 font-weight: normal;
110 color: #3494d3;
111 }
112
113 h2 a,
114 h3 a {
115 color: #3494d3;
116 text-decoration: none;
117 }
118
119 #mgnavtitle, /* deprecated */
120 #mgnavt /* preferred */
121 {
122 font-size: 24px;
123 margin: 0;
124 padding: 0.5em 1em 0.8em 30px;
125 color: #fff;
126 text-shadow: 0 0 3px #222;
127 background: #2383C2;
128 background: -webkit-linear-gradient(top, #2383C2 0%, #1272B1 50%);
129 background: -moz-linear-gradient(top, #2383C2 0%, #1272B1 50%);
130 background: -o-linear-gradient(top, #2383C2 0%, #1272B1 50%);
131 background: linear-gradient(top, #2383C2 0%, #1272B1 50%);
132 }
133 #mgnavt a { color: #fff; }
134
135 /* allows to have a title + contextual sub menu */
136 header#mgnavt { text-align: left; }
137 #mgnavt h1 { font-size: 24px; color: #fff; margin: 0; padding: 0; display: inline; }
138 #mgnavt ul { font-size: 12px; margin: 0 0 0 4em; padding: 0; display: inline; }
139 #mgnavt ul li { display: inline; margin: 0 1em; padding: 0; }
140 #mgnavt ul li a { display: inline-block; text-decoration: none; }

  ViewVC Help
Powered by ViewVC 1.1.30