W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64):
* fix duplicate IDs - #paging_older, #paging_newer become classes as the paging is displayed twice (top, bottom) in the linklist * fix duplicate IDs - #paging_privatelinks and #paging_linksperpage become classes * daily links are now valid (use &) * name attribute is not used anymore on a tag in link list * center tag is replaced by CSS in picwall and tag cloud * action in form tag can't be empty, use # instead * fixed configure table with CSS instead of cellpadding, border, and valign * export links are now valid * remove "size" in input tag * Fix missing alt attributes for img elements * tpl/daily: Use HTML entities instead of char escape codes * tpl/export: fix missing </span> closing tag * Remove obsolete language attribute on <script> elements
This commit is contained in:
parent
002f9625ec
commit
8079dfd1cd
11 changed files with 68 additions and 54 deletions
inc
|
@ -291,34 +291,34 @@ h1 {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
#paging_privatelinks {
|
||||
.paging_privatelinks {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#paging_linksperpage {
|
||||
.paging_linksperpage {
|
||||
float: right;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#paging_linksperpage form.linksperpage {
|
||||
.paging_linksperpage form.linksperpage {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#paging_linksperpage form.linksperpage input {
|
||||
.paging_linksperpage form.linksperpage input {
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
#paging_current {
|
||||
.paging_current {
|
||||
display: inline;
|
||||
color: #fff;
|
||||
padding: 0 20 0 20;
|
||||
}
|
||||
|
||||
#paging_older {
|
||||
.paging_older {
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
#paging_newer {
|
||||
.paging_newer {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
|
@ -843,6 +843,10 @@ div.dailyNoEntry {
|
|||
clear: both;
|
||||
}
|
||||
|
||||
.right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* For lazy images loading in picture wall.
|
||||
Using http://www.appelsiini.net/projects/lazyload
|
||||
*/
|
||||
|
@ -850,6 +854,12 @@ div.dailyNoEntry {
|
|||
display: none;
|
||||
}
|
||||
|
||||
#configuration_table td {
|
||||
border: none;
|
||||
padding: 10px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
@media print {
|
||||
html {
|
||||
border: none;
|
||||
|
@ -958,17 +968,17 @@ div.dailyNoEntry {
|
|||
left: 0px;
|
||||
}
|
||||
|
||||
#paging_privatelinks {
|
||||
.paging_privatelinks {
|
||||
float: none;
|
||||
}
|
||||
|
||||
#paging_linksperpage {
|
||||
.paging_linksperpage {
|
||||
float: none;
|
||||
margin-bottom: 10px;
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
#paging_older, #paging_newer, #paging_linksperpage a {
|
||||
#paging_older, #paging_newer, .paging_linksperpage a {
|
||||
border: 1px solid black;
|
||||
padding: 3px 5px 3px 5px;
|
||||
background-color: #666;
|
||||
|
@ -1029,3 +1039,7 @@ div.dailyNoEntry {
|
|||
.highlight {
|
||||
background-color: #FFFF33;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue