css: fix style

Used `csslint` with `--ignore=ids,overqualified-elements,qualified-headings`.

Still some issues left.
This commit is contained in:
Daniel Hahler 2017-01-21 15:44:07 +01:00
parent 69dbc06712
commit 06bb860a23
1 changed files with 146 additions and 144 deletions

130
local.css
View File

@ -4,25 +4,24 @@
/* Created Day 01.12.2006 */
/* ======================================================== */
body {
margin: 0px;
width: 100%;
color: black;
font-family: Verdana, Arial, sans-serif;
font-size: 0.8em;
margin: 0;
width: 100%;
}
p {
text-align: justify;
margin: 11px 0 10px 0;
padding: 0px;
padding: 0;
text-align: justify;
}
ul {
list-style-image: url(images/bullet.gif);
margin:0;
padding:0;
list-style-image: url(images/bullet.gif);
}
h1 {
@ -39,7 +38,6 @@ ul.active-menu-community li.menu-community,
ul.active-menu-recipes li.menu-recipes,
ul.active-menu-screenshots li.menu-screenshots,
ul.active-menu-doc li.menu-doc {
text-decoration: underline;
}
@ -55,34 +53,31 @@ blockquote{
/**** Main Container ***/
#wrap {
width: 100%;
height: 100%;
width: 100%;
}
/**** Top ***/
#top {
display: inline-block;
font-size: 1.0em;
width: 100%;
margin-left: 0;
overflow:hidden;
display: inline-block;
width: 100%;
}
#top h2 {
letter-spacing: 3px;
font-size: 3.0em;
font-weight: bold;
position: relative;
/* margin: 0px; */
top: 5px;
margin-right: 20px;
display:block;
float:left;
font-size: 3.0em;
font-weight: bold;
letter-spacing: 3px;
margin-right: 20px;
position: relative;
top: 5px;
}
#top h2 a {
@ -96,43 +91,40 @@ blockquote{
/**** Center Logo ****/
#center-logo img {
margin-left: 40%;
padding-top: 20px;
width: 20%;
margin-left: 40%;
}
/**** Center Logo ****/
#center-logo img {
margin-left: 40%;
padding-top: 20px;
width: 20%;
margin-left: 40%;
}
/**** Center Logo ****/
#center-logo img {
margin-left: 40%;
padding-top: 20px;
width: 20%;
margin-left: 40%;
}
/**** Main Menu ***/
#menu {
display: inline-block;
width: 100%;
height: 50px;
width: 100%;
}
#menu ul {
overflow: auto;
display: flex;
justify-content: center;
overflow: auto;
width: 100%;
}
@ -152,9 +144,9 @@ blockquote{
#menu li a {
display: block;
font-size: 0.99em;
font-weight: bold;
padding: 20px 15px 50px 15px;
text-decoration: none;
font-weight: bold;
}
* html #menu a {width:1%;}
@ -164,8 +156,8 @@ blockquote{
}
#menu li a.current {
letter-spacing: 1px;
color: gray;
letter-spacing: 1px;
}
/**** Content Container ***/
@ -187,16 +179,21 @@ blockquote{
/**** Content ***/
.screenshot { text-align: center; margin: 32px 32px 32px 32px; }
.screenshot img { border: 2px solid #347272; }
.screenshot {
margin: 32px 32px 32px 32px;
text-align: center;
}
.screenshot img {
border: 2px solid #347272;
}
.screenshot p {
padding-left: 80px;
}
#left ul {
padding: 15px 0 15px 35px;
margin:0;
padding: 15px 0 15px 35px;
}
#left li {
@ -204,107 +201,112 @@ blockquote{
}
#left {
width: 60%;
float:left;
display: block;
margin-left: 20%;
display: inline;
float:left;
margin-left: 20%;
width: 60%;
}
/**** Sidebar ***/
#right {
width: 0px;
float: right;
display:block;
float: right;
margin-top: 10px;
width: 0px;
}
#right .box {
width: 24em;/*280px*/
background: #F6F9FB;
border: 1px solid #E1E1E1;
padding:10px 10px 15px 10px;
float: right;
padding:10px 10px 15px 10px;
width: 24em;/*280px*/
}
#right .box h2 {
font-size: 1.1em;
margin: 0px 0 0px 0;
padding:0px 0 5px 0;
margin: 0 0 0 0;
padding: 0 0 5px 0;
}
#right .box a {
margin: 10px 0 10px 0;
font-size: 10px;
margin: 10px 0 10px 0;
}
#right .box p {
margin: 5px 0 10px 0;
line-height: 15px;
margin: 5px 0 10px 0;
}
#right .box ul {
padding: 0 0 7px 20px;
margin:10px 0 10px 0;
padding: 0 0 7px 20px;
}
#right .box li {
margin-top:5px;
}
#nav{ list-style: none; margin: 2.0em 0; width: 25em; float: right;}
#nav li{ padding: 0; margin: 0; }
#nav a{
#nav {
float: right;
list-style: none;
margin: 2.0em 0;
width: 25em;
}
#nav li {
padding: 0;
margin: 0;
}
#nav a {
background-color: #F7F9FB;
border-bottom: 2px;
border-top: 2px;
display: block;
font-weight: bold;
height: 2.0em;
padding: 0.3em 0.3em 0.3em 0.8em;
border-bottom: 2px; /*solid #1a1a1a*/
border-top: 2px; /*solid #1a1a1a*/
background-color: #F7F9FB;
font-weight: bold;
text-decoration: none;
}
}
#nav a:hover{
color: #1a1a1a;
background: url(images/bg_t.gif) no-repeat;
background-color: #fff;
color: #1a1a1a;
font-weight: bold;
}
}
/**** Clear Div ***/
#clear {
display: block;
clear: both;
width: 100%;
display: block;
height:1px;
overflow:hidden;
width: 100%;
}
/**** Footer ***/
#pageinfo
{
margin: 0em 0;
#pageinfo {
border-top: 0;
margin: 0 0;
}
#footer {
margin: 40px auto 0 auto;
text-align: center;
border-top: dashed 1px gray;
margin: 40px auto 0 auto;
padding: 20px 0 20px 0;
text-align: center;
width: 70%;
}
#footer p {
margin: 0px;
margin: 0;
padding: 0;
}