Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

moved styles to ywidget.css

apfelmaennchenecc11da8acf1
diff --git a/htroot/yacy/ui/css/ywidget.css b/htroot/yacy/ui/css/ywidget.css
new file mode 100644
index 000000000..6199d6c43
--- /dev/null
+++ b/htroot/yacy/ui/css/ywidget.css
@@ -0,0 +1,57 @@
+ .ywidget {
+ font-family: Helvetica,Arial,sans-serif;
+ width: 250px;
+ }
+ .ywidget div {
+ background-color: white;
+ margin-bottom : 10px;
+ border: none;
+ margin: 0px;
+ padding: 10px;
+ border: 1px solid black;
+ text-decoration: none;
+ font-size: 11px;
+ height: 200px;
+ overflow:hidden;
+ }
+ .ywidget h3 {
+ display:block;
+ padding:5px 15px;
+ margin-top: 0;
+ margin-bottom: 0px;
+ background: url(../img/box250.png) no-repeat;
+ border-top: 1px solid #FFFFFF;
+ border-bottom: 1px solid #999;
+ }
+ .ywidget h3 a {
+ cursor:pointer;
+ text-decoration: none;
+ font-weight: bold;
+ font-size: 14px;
+ color: black;
+ height: 50px;
+ overflow:hidden;
+ }
+ .ywidget p.desc {
+ font-style:italic;
+ font-size: 0.9em;
+ color: #808080;
+ line-height: 1.0em;
+ margin-bottom:-0.5em;
+ }
+ .ywidget h4 {
+ margin-bottom: -0.6em;
+ font-size: 1.0em;
+ line-height: 0.5em
+ text-decoration: none;
+ }
+ .ywidget h4 a {
+ color:#239AFF;
+ text-decoration: none;
+ }
+ .ywidget p.date {
+ font-size: 0.9em;
+ line-height: 1.0em;
+ margin-bottom:0.8em;
+ color:#20A020;
+ }
\ No newline at end of file
diff --git a/htroot/yacy/ui/ywidget.html b/htroot/yacy/ui/ywidget.html
index 3ce5b8ba5..5511e0425 100644
--- a/htroot/yacy/ui/ywidget.html
+++ b/htroot/yacy/ui/ywidget.html
@@ -3,69 +3,10 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<link media="screen" type="text/css" href="css/ywidget.css" rel="stylesheet" />
<link media="screen" type="text/css" href="css/base.css" rel="stylesheet" />
<title>YaCy Widget</title>
-<style type="text/css">
- .ywidget {
- font-family: Helvetica,Arial,sans-serif;
- width: 250px;
- }
- .ywidget div {
- background-color: white;
- margin-bottom : 10px;
- border: none;
- margin: 0px;
- padding: 10px;
- border: 1px solid black;
- text-decoration: none;
- font-size: 11px;
- height: 200px;
- overflow:hidden;
- }
- .ywidget h3 {
- display:block;
- padding:5px 15px;
- margin-top: 0;
- margin-bottom: 0px;
- background: url(img/box250.png) no-repeat;
- border-top: 1px solid #FFFFFF;
- border-bottom: 1px solid #999;
- }
- .ywidget h3 a {
- cursor:pointer;
- text-decoration: none;
- font-weight: bold;
- font-size: 14px;
- color: black;
- height: 50px;
- overflow:hidden;
- }
- .ywidget p.desc {
- font-style:italic;
- font-size: 0.9em;
- color: #808080;
- line-height: 1.0em;
- margin-bottom:-0.5em;
- }
- .ywidget h4 {
- margin:2px;
- margin-bottom: -0.6em;
- font-size: 1.0em;
- line-height: 0.5em
- text-decoration: none;
- }
- .ywidget h4 a {
- color:#239AFF;
- text-decoration: none;
- }
- .ywidget p.date {
- font-size: 0.9em;
- line-height: 1.0em;
- margin-bottom:0.8em;
- color:#20A020;
- }
-</style>
<script src="js/jquery-1.2.3.min.js" type="text/javascript"></script>
<script src="js/jquery.jfeed.js" type="text/javascript""></script>
<script src="js/jquery.scrollTo-min.js" type="text/javascript""></script>