1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-27 11:22:17 -05:00
wallabag/css/style.css

260 lines
3.9 KiB
CSS
Raw Normal View History

2013-04-09 09:18:39 -04:00
/*** GENERAL ***/
2013-04-03 09:14:01 -04:00
body {
color: #222222;
font: 20px/1.3em Palatino,Georgia,serif;
background-color: #F1F1F1;
2013-04-08 03:44:45 -04:00
margin: 10px;
}
2013-04-03 09:14:01 -04:00
a, a:hover, a:visited {
color: #000;
}
2013-04-09 09:18:39 -04:00
2013-04-03 09:14:01 -04:00
header {
text-align: center;
}
#main ul#links {
padding: 0;
list-style-type: none;
text-align: center;
}
#main ul#links li {
display: inline;
2013-04-08 03:44:45 -04:00
}
#main ul#links li a.current {
-webkit-border-radius: 2px;
border-radius: 2px;
background-color: #040707;
color: #F1F1F1;
}
#main ul#sort {
padding: 0;
list-style-type: none;
text-align: center;
}
#main ul#sort li {
display: inline;
font-size: 0.9em;
}
#main ul#sort img:hover {
cursor: pointer;
}
2013-04-09 09:18:39 -04:00
#main, #article {
margin: 0 auto;
}
#links a, .backhome a{
2013-04-08 03:44:45 -04:00
text-decoration: none;
padding: 5px 10px;
}
#links a:hover, .backhome a:hover{
2013-04-08 03:44:45 -04:00
-webkit-border-radius: 2px;
border-radius: 2px;
background-color: #040707;
color: #F1F1F1;
2013-04-03 09:14:01 -04:00
}
footer {
text-align: right;
2013-04-09 09:18:39 -04:00
}
/*** ***/
/*** LOGIN FORM ***/
ul#login li {
list-style-type: none;
}
2013-04-09 09:18:39 -04:00
/*** ***/
/*** LINKS DISPLAY ***/
#main a.tool {
text-decoration: none;
cursor: pointer;
}
2013-04-15 08:09:58 -04:00
input[type=submit].delete {
2013-04-15 09:09:00 -04:00
background : url('../img/remove.png') no-repeat center center;
2013-04-15 08:09:58 -04:00
width : 16px;
height :16px;
border : none;
color : transparent;
cursor: pointer;
font-size : 0;
}
#main #content {
margin-top: 20px;
}
#main .entrie {
color: rgb(46, 46, 46);
background-color: #ffffff;
2013-04-08 03:44:45 -04:00
padding: 15px;
min-height: 8em;
2013-04-16 09:34:43 -04:00
border: 1px solid;
}
2013-04-16 09:43:05 -04:00
#main .entrie h2 a {
text-decoration: none;
}
#main .entrie h2 a:hover {
color: #F5BE00;
}
2013-04-15 08:09:58 -04:00
.tools {
text-align: right;
2013-04-15 08:09:58 -04:00
}
.tools ul {
padding: 0; margin: 0;
list-style-type: none;
}
.tools ul li {
line-height: 20px;
}
.tools a.tool {
cursor: pointer;
}
#article .tools {
2013-04-15 08:09:58 -04:00
position: relative;
display: inline;
2013-04-15 08:09:58 -04:00
top: 0px;
right: 0px;
width: 100%;
text-align: left;
}
2013-04-15 08:09:58 -04:00
#article.tools ul li{
display: inline;
}
#main .entrie .tools a.tool span, #article .tools a.tool span {
2013-04-09 09:18:39 -04:00
display: inline-block;
width: 16px;
height: 16px;
}
a.fav span {
2013-04-15 09:09:00 -04:00
background: url('../img/star-on.png') no-repeat;
2013-04-09 09:18:39 -04:00
}
a.fav span:hover {
2013-04-15 09:09:00 -04:00
background: url('../img/star-off.png') no-repeat;
}
2013-04-09 09:18:39 -04:00
a.fav-off span {
2013-04-15 09:09:00 -04:00
background: url('../img/star-off.png') no-repeat;
2013-04-09 09:18:39 -04:00
}
a.fav-off span:hover {
2013-04-15 09:09:00 -04:00
background: url('../img/star-on.png') no-repeat;
}
2013-04-09 09:18:39 -04:00
a.archive span {
2013-04-15 09:09:00 -04:00
background: url('../img/checkmark-on.png') no-repeat;
2013-04-09 09:18:39 -04:00
}
a.archive span:hover {
2013-04-15 09:09:00 -04:00
background: url('../img/checkmark-off.png') no-repeat;
}
2013-04-09 09:18:39 -04:00
a.archive-off span {
2013-04-15 09:09:00 -04:00
background: url('../img/checkmark-off.png') no-repeat;
2013-04-09 09:18:39 -04:00
}
a.archive-off span:hover {
2013-04-15 09:09:00 -04:00
background: url('../img/checkmark-on.png') no-repeat;
2013-04-09 09:18:39 -04:00
}
/*** ***/
/*** ARTICLE PAGE ***/
body.article {
color: #222222;
font: 20px/1.3em Palatino,Georgia,serif;
background-color: #F1F1F1;
}
#article header {
text-align: left;
border-bottom: 1px solid #222222;
}
#article header a {
2013-04-03 09:14:01 -04:00
text-decoration: none;
}
2013-04-09 09:18:39 -04:00
#article article {
border-bottom: 1px solid #222222;
}
.vieworiginal a {
color: #888888;
text-decoration: none;
}
.backhome {
display: inline;
}
/*** ***/
2013-04-16 09:34:43 -04:00
#main
{
max-width: 60em; /* 960 px */
margin: 0 auto;
}
2013-04-16 09:34:43 -04:00
#content
{
width: 103.125%; /* 990px */
overflow: hidden;
margin-left: -1.562%; /* 15px */
margin-bottom: -1.875em; /* 30px */
}
.entrie
{
width: 30.303%; /* 300px */
background-color: #fff;
float: left;
margin: 0 1.515% 1.875em; /* 15px 30px */
}
@media only screen and ( max-width: 40em ) /* 640px */
{
.entrie
{
width: 46.876%; /* 305px */
margin-bottom: 0.938em; /* 15px */
}
}
2013-04-16 09:34:43 -04:00
@media only screen and ( max-width: 20em ) /* 320px */
{
#content
{
width: 100%;
margin-left: 0;
}
2013-04-16 09:34:43 -04:00
.entrie
{
width: 100%;
margin-left: 0;
margin-right: 0;
}
}