]> gitweb.factorcode.org Git - factor.git/commitdiff
webapps.mason: move some CSS from websites.factorcode
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sat, 9 Oct 2010 22:37:17 +0000 (15:37 -0700)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sat, 9 Oct 2010 22:37:17 +0000 (15:37 -0700)
extra/webapps/mason/downloads.css [new file with mode: 0644]
extra/webapps/mason/downloads.xml
extra/websites/factorcode/master.css

diff --git a/extra/webapps/mason/downloads.css b/extra/webapps/mason/downloads.css
new file mode 100644 (file)
index 0000000..164aa44
--- /dev/null
@@ -0,0 +1,55 @@
+#downloads {
+       width: 520px;
+       padding: 0;
+       margin: 0;
+}
+
+th {
+       font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+       color: #4f6b72;
+       border-right: 1px solid #C1DAD7;
+       border-bottom: 1px solid #C1DAD7;
+       border-top: 1px solid #C1DAD7;
+       letter-spacing: 2px;
+       text-transform: uppercase;
+       padding: 6px 6px 6px 6px;
+       background: #CAE8EA url(bg_header.jpg) no-repeat;
+}
+
+th.nobg {
+       border-top: 0;
+       border-left: 0;
+       border-right: 1px solid #C1DAD7;
+       background: none;
+}
+
+td.alt {
+       background: #F5FAFA;
+       color: #797268;
+}
+
+td.doesnotexist {
+       background: #E5EAEA;
+}
+
+
+td.unsupported {
+       background: #ffaaaa;
+}
+
+
+td.supported {
+       background: #aaffaa;
+}
+
+td.supported :hover { background-color: #88ff88; }  
+
+td.nobinary {
+       background: #eeee88;
+}
+
+div.bigdiv {
+       width: 100px;
+       text-align: center;
+       color: #050;
+}
index 60a268435e69b59c0dde6be1a540930671939831..f07bae09d881f399a165a194112858e4d9db2103 100644 (file)
@@ -1,5 +1,7 @@
 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
 
+<t:style t:include="resource:extra/webapps/mason/downloads.css" />
+
 <h2>Stable release: <t:link t:name="stable-release" /></h2>
 
 <table id="mytable" cellspacing="0" summary="Stable releases">
index 72088b72abf96908ea7b30e4b7561c0912b40ec3..ff4577bddf61208d1e99cfb26d4eeb7bd2286619 100644 (file)
@@ -22,123 +22,8 @@ a:hover {
        border-bottom:1px solid #ccc;
 }
 
-ol.subnav {
-       margin:-10px -10px 0 -5px;
-       padding:0;
-}
-
-ol.subnav li {
-       font:85%/0.9em "Lucida Grande", "Lucida Sans Unicode", verdana, geneva, sans-serif;
-       float:left;
-       list-style:none;
-       margin:0;
-       padding:0;
-}
-
-ol.subnav a {
-       font-weight:bold;
-       color:#555;
-       border-top:2px solid #fff;
-       display:block;
-       padding:5px;
-       text-decoration:none;
-       margin:0 5px 0 0;
-       border-bottom:none;
-}
-
-ol.subnav a:hover {
-       border-top:2px solid #943329;
-       color:#121212;
-       border-bottom:none;
-}
-
-#downloads {
-       width: 520px;
-       padding: 0;
-       margin: 0;
-}
-
-caption {
-       padding: 0 0 5px 0;
-       width: 520px;    
-       font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-       text-align: right;
-}
-
-th {
-       font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-       color: #4f6b72;
-       border-right: 1px solid #C1DAD7;
-       border-bottom: 1px solid #C1DAD7;
-       border-top: 1px solid #C1DAD7;
-       letter-spacing: 2px;
-       text-transform: uppercase;
-       padding: 6px 6px 6px 6px;
-       background: #CAE8EA url(bg_header.jpg) no-repeat;
-}
-
-th.nobg {
-       border-top: 0;
-       border-left: 0;
-       border-right: 1px solid #C1DAD7;
-       background: none;
-}
-
 pre {
        border: 1px dashed #ccc;
        background-color: #f5f5f5;
        font-size: 120%;
 }
-
-td.alt {
-       background: #F5FAFA;
-       color: #797268;
-}
-
-td.doesnotexist {
-       background: #E5EAEA;
-}
-
-
-td.unsupported {
-       background: #ffaaaa;
-}
-
-
-td.supported {
-       background: #aaffaa;
-}
-
-td.supported :hover { background-color: #88ff88; }  
-
-td.nobinary {
-       background: #eeee88;
-}
-
-div.bigdiv {
-       width: 100px;
-       text-align: center;
-       color: #050;
-}
-
-th.spec {
-       border-left: 1px solid #C1DAD7;
-       border-top: 0;
-       background: #fff;
-       font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-}
-
-th.specalt {
-       border-left: 1px solid #C1DAD7;
-       border-top: 0;
-       background: #f5fafa;
-       font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-       color: #797268;
-}
-
-th.allbg {
-       border-top: 0;
-       border-left: 0;
-       border-right: 0;
-       background: none;
-}