Browse files

Force IE8 mode, change prerequisites link background color, and limit…

… sub-pages to 780px so the header links keep their horizontal position.
  • Loading branch information...
1 parent cfbc9fa commit f85ce28583906b131fd884b2f0087b4c80b01006 @jschementi committed Nov 9, 2009
View
25 css/lang.css
@@ -107,28 +107,3 @@
background-image: url(../images/download-ironpython.png);
}
-
-#ironpython ul.question-answer p a.download {
- background-color: green;
- padding: 3px;
-}
-#ironpython ul.question-answer p a.download:link,
-#ironpython ul.question-answer p a.download:visited {
- color: white;
- text-decoration: none;
-}
-#ironpython ul.question-answer p a.download:hover {
- background-color: #080;
-}
-#ironruby ul.question-answer p a.download {
- background-color: #A41E20;
- padding: 3px;
-}
-#ironruby ul.question-answer p a.download:link,
-#ironruby ul.question-answer p a.download:visited {
- color: white;
- text-decoration: none;
-}
-#ironruby ul.question-answer p a.download:hover {
- background-color: #CA1E20;
-}
View
37 css/master.css
@@ -55,6 +55,16 @@ a:hover {
width: 780px;
text-align: right;
}
+.sub.page #nav {
+ text-align: center;
+}
+.sub.page #nav div {
+ margin: 0 auto;
+ width: 780px;
+ text-align: right;
+ position: relative;
+}
+
.page #nav a {
padding: 25px 6px 5px;
font-size: 14px;
@@ -86,9 +96,8 @@ a:hover {
/* homepage header */
.page #header {
- margin: 0px 40px;
+ margin: 0 40px;
position: relative;
-
}
.page #header h1 {
position: absolute;
@@ -104,6 +113,10 @@ a:hover {
display: block;
text-indent: -100000px;
}
+.sub.page #header {
+ margin: 0 auto;
+ width: 780px;
+}
.home.page #header {
margin: 25px auto 30px auto;
width: 780px;
@@ -162,7 +175,7 @@ a.download_link {
text-decoration: none;
text-align: left;
- font-family: 'gill sans', 'gill sans mt', 'Trebuchet MS', verdana, sans-serif;
+ font-family: "Gill Sans", "gill sans mt", Calibri, arial, helvetica, sans-serif;
letter-spacing: -1px;
background-image: url(../images/arrow-light.png);
@@ -363,11 +376,9 @@ a.download_link:hover {
/* question-answer */
.page ul.question-answer {
- margin: 0 40px 30px;
+ /*margin: 0 40px 30px;*/
font-family: georgia, serif;
-}
-.home.page ul.question-answer {
- margin: 0 auto 30px auto;
+ margin: 0 auto 30px;
width: 780px;
}
ul.question-answer li {
@@ -417,6 +428,9 @@ ul.question-answer li p.note {
p a.download {
font-size: 20px;
}
+ul.question-answer p a.download {
+ background-color: #fffcb9;
+}
/* footer */
@@ -427,6 +441,15 @@ p a.download {
#footer ul {
padding: 20px 40px;
}
+.sub.page #footer {
+ text-align: center;
+}
+.sub.page #footer ul,
+.home.page #footer ul {
+ margin: 0 auto;
+ text-align: left;
+ width: 780px;
+}
#footer li {
list-style: none;
padding: 0; margin: 0;
View
1 index.html
@@ -1,3 +1,4 @@
+<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<style type="text/css">
body {
font-family: 'gill sans', 'gill sans mt', calibri, "Trebuchet MS", helvetica, sans-serif;
View
3 python/documentation/index.html
@@ -4,6 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
+ <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<title>IronPython.net / Documentation</title>
<link rel="stylesheet" href="../../css/master.css" type="text/css" media="screen"
charset="utf-8" />
@@ -13,7 +14,7 @@
charset="utf-8" />
</head>
-<body id="ironpython" class="page">
+<body id="ironpython" class="sub page">
<div id="wrap">
<div id="main" class="clearfix">
View
3 python/download/index.html
@@ -4,6 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
+ <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<title>IronPython.net / Download</title>
<link rel="stylesheet" href="../../css/master.css" type="text/css" media="screen"
charset="utf-8" />
@@ -13,7 +14,7 @@
charset="utf-8" />
</head>
-<body id="ironpython" class="page">
+<body id="ironpython" class="sub page">
<div id="wrap">
<div id="main" class="clearfix">
View
1 python/index.html
@@ -4,6 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
+ <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<title>IronPython.net</title>
<link rel="stylesheet" href="../css/master.css" type="text/css" media="screen"
charset="utf-8" />
View
3 python/support/index.html
@@ -4,6 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
+ <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<title>IronPython.net / Support</title>
<link rel="stylesheet" href="../../css/master.css" type="text/css" media="screen"
charset="utf-8" />
@@ -13,7 +14,7 @@
charset="utf-8" />
</head>
-<body id="ironpython" class="page">
+<body id="ironpython" class="sub page">
<div id="wrap">
<div id="main" class="clearfix">
View
1 python/try/index.html
@@ -4,6 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
+ <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<title>IronPython.net / Try Python in the Browser</title>
<link rel="stylesheet" href="../../css/master.css" type="text/css" media="screen"
charset="utf-8" />
View
1 python/tutorial/index.html
@@ -4,6 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
+ <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<title>IronPython.net / Interactive Tutorial</title>
<link rel="stylesheet" href="../../css/master.css" type="text/css" media="screen"
charset="utf-8" />
View
1 ruby/index.html
@@ -4,6 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
+ <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<title>IronRuby</title>
<link rel="stylesheet" href="../css/master.css" type="text/css" media="screen"
charset="utf-8" />

0 comments on commit f85ce28

Please sign in to comment.