]> git.wh0rd.org - tt-rss.git/commitdiff
special stylesheet for Opera
authorAndrew Dolgov <fox@madoka.spb.ru>
Sun, 26 Feb 2006 07:21:22 +0000 (08:21 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Sun, 26 Feb 2006 07:21:22 +0000 (08:21 +0100)
opera.css [new file with mode: 0644]
prefs.php
tt-rss.php

diff --git a/opera.css b/opera.css
new file mode 100644 (file)
index 0000000..ce03944
--- /dev/null
+++ b/opera.css
@@ -0,0 +1,7 @@
+table.main td.headlines {
+       height : 35%;
+       border-width : 0px 0px 1px 1px;
+       border-style : solid;
+       border-color : #c0c0c0;
+}
+
index 8235805d5b01ef97d4def37517727b6ccf9e7d94..451e981dc5751bc973e89ef20dd3304dba438447 100644 (file)
--- a/prefs.php
+++ b/prefs.php
                <script type="text/javascript" src="pngfix.js"></script>
        <![endif]-->
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+
+       <script type="text/javascript">
+               if (navigator.userAgent.match("Opera")) {
+                       document.write('<link rel="stylesheet" type="text/css" href="opera.css">');
+               }
+       </script>
 </head>
 
 <body>
index b9c74efc639026a3eb5018878fc4cd26c9e0d907..7802649c366997fd843a11847930349193e29141 100644 (file)
                <link rel="stylesheet" type="text/css" href="tt-rss-ie.css">
        <![endif]-->
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+
+       <script type="text/javascript">
+               if (navigator.userAgent.match("Opera")) {
+                       document.write('<link rel="stylesheet" type="text/css" href="opera.css">');
+               }
+       </script>
 </head>
 
 <body>