modifications css

This commit is contained in:
tom.c 2013-04-08 09:44:45 +02:00
parent 7eca3552c8
commit 4d94769a56
4 changed files with 58 additions and 5 deletions

View file

@ -0,0 +1,3 @@
<?php if(!class_exists('raintpl')){exit;}?> <footer class="mr2 mt3">
<p class="smaller"><a href="http://github.com/nicosomb/poche">poche</a> is a read it later open source system, based on <a href="http://www.memiks.fr/readityourself/">ReadItYourself</a>. <a href="https://twitter.com/getpoche" title="follow us on twitter">@getpoche</a>. Logo by <a href="http://www.iconfinder.com/icondetails/43256/128/jeans_monotone_pocket_icon">Brightmix</a>. poche is developed by <a href="http://nicolas.loeuillet.org">Nicolas Lœuillet</a> under the <a href="http://www.wtfpl.net/">WTFPL</a>.</p>
</footer>

View file

@ -0,0 +1,32 @@
<?php if(!class_exists('raintpl')){exit;}?><!DOCTYPE html>
<!--[if lte IE 6]> <html class="no-js ie6 ie67 ie678" lang="en"> <![endif]-->
<!--[if lte IE 7]> <html class="no-js ie7 ie67 ie678" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 ie678" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<html>
<head>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=10">
<link rel="stylesheet" href="./css/knacss.css" media="all">
<link rel="stylesheet" href="./css/style.css" media="all">
<title><?php echo $title;?></title>
</head>
<body class="article">
<div id="article" class="w600p">
<div id="backhome">
<a href="index.php" title="back to home">&larr;</a>
</div>
<header class="mbm">
<h1><a href="<?php echo $url;?>"><?php echo $title;?></a></h1>
<div class="vieworiginal txtright small"><a href="<?php echo $url;?>" target="_blank">view original</a></div>
</header>
<article>
<div id="readityourselfcontent">
<?php echo $content;?>
</div>
</article>
</div>
<?php $tpl = new RainTPL;$tpl_dir_temp = self::$tpl_dir;$tpl->assign( $this->var );$tpl->draw( dirname("footer") . ( substr("footer",-1,1) != "/" ? "/" : "" ) . basename("footer") );?>
</body>
</html>

View file

@ -2,10 +2,13 @@ body {
color: #222222;
font: 20px/1.3em Palatino,Georgia,serif;
background-color: #F1F1F1;
margin: 10px;
}
body.article {
background-color: #ffffff;
color: #222222;
font: 20px/1.3em Palatino,Georgia,serif;
background-color: #F1F1F1;
}
a, a:hover, a:visited {
@ -40,7 +43,16 @@ header {
#main ul#links li {
display: inline;
padding: 15px;
}
#links a, #backhome a{
text-decoration: none;
padding: 5px 10px;
}
#links a:hover, #backhome a{
-webkit-border-radius: 2px;
border-radius: 2px;
background-color: #040707;
color: #F1F1F1;
}
#main #entries {
@ -51,7 +63,12 @@ header {
color: rgb(46, 46, 46);
position:relative;
background-color: #ffffff;
height: 8em;
padding: 15px;
height: 6em;
-webkit-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: 0px 0px 2px -1px #000;
box-shadow: 0px 0px 2px -1px #000;
}
#main #entries .entrie h2 a {
@ -67,6 +84,7 @@ header {
bottom: 0;
width: 100%;
text-align: right;
margin-left: -20px;
}
#main a.tool {
@ -74,5 +92,5 @@ header {
}
footer {
text-align: right;
text-align: center;
}

View file

@ -14,7 +14,7 @@
</head>
<body class="article">
<div id="article" class="w600p">
<div>
<div id="backhome">
<a href="index.php" title="back to home">&larr;</a>
</div>
<header class="mbm">