I taught myself html and css using John Duckett's book last week. I have no coding experience and am looking for someone to do a quick review of the website im building.
heads up: it is probably a disgrace to the css community but I tried my best.
The website is an online guitar tuner. As of now the only fully working page is the homepage. Im waiting to get some feedback on what I have so far before I try and finish up the pages for the other tunings.
Code:
body, div, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, img, form, fieldset, input, textarea, blockquote {
margin: 0; padding: 0; border: 0;
}
body {
background: #909eab url(https://s3.amazonaws.com/tuning-website/images/concrete_wall.png);
font-family: Helvetica, sans-serif; font-size: 18px; line-height: 24px;
}
nav {
margin: 30px auto;
text-align: center;
}
nav ul ul {
display: none;
}
nav ul li:hover > ul {
display: block;
}
nav ul {
background: #efefef;
background: linear-gradient(top, #efefef 0%, #bbbbbb 100%);
background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%);
background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%);
box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
padding: 0 20px;
border-radius: 0px;
list-style: none;
position: relative;
display: inline-table;
}
nav ul:after {
content: ""; clear: both; display: block;
}
nav ul li {
float: left;
}
nav ul li:hover {
background: #4b545f;
background: linear-gradient(top, #4f5964 0%, #5f6975 40%);
background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%);
background: -webkit-linear-gradient(top, #4f5964 0%,#5f6975 40%);
}
nav ul li:hover a {
color: #efefef;
}
nav ul li a {
display: block; padding: 25px 40px;
color: #757575; text-decoration: none;
}
nav ul ul {
background: #5f6975; border-radius: 0px; padding: 0;
position: absolute; top: 100%;
}
nav ul ul li {
float: none;
border-top: 1px solid #6b727c;
border-bottom: 1px solid #575f6a; position: relative;
}
nav ul ul li a {
padding: 5px 40px;
color: #efefef;
}
nav ul ul li a:hover {
background: #4b545f;
}
nav ul ul ul {
position: absolute; left: 100%; top:0;
}
.button {
padding-left: 7px;
padding-right: 7px;
padding-top: 30px;
padding-bottom: 30px;
border-right: 1px solid #bfbfbf;
}
.tabs {
position: relative;
min-height: 200px;
clear: both;
margin: 25px 0;
background: #efefef;
background: linear-gradient(top, #efefef 0%, #bbbbbb 100%);
background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%);
background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%);
box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
padding-top: 60px;
padding-bottom: 60px;
padding-left: 20px;
padding-right: 20px;
border-radius: 0px;
list-style: none;
position: relative;
display: inline-table;
}
.tab {
float: left;
}
.tab label {
padding-bottom: 62px;
padding-top: 61px;
padding-left: 45px;
padding-right: 45px;
margin-left: -1px;
position: relative;
left: 1px;
color: #757575; text-decoration: none;
}
.tab label:hover {
backgrond: #4b545f;
background: linear-gradient(top, #4f5964 0%, #5f6975 40%);
background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%);
background: -webkit-linear-gradient(top, #4f5964 0%,#5f6975 40%);
color: #efefef;
}
.tab [type=radio] {
display: none;
}
.content {
padding:;
border:
}
[type=radio]:checked ~ label {
background: #5f564b;
background: linear-gradient(top, #5f564b 0%, #756b5f 40%);
background: -moz-linear-gradient(top, #5f564b 0%, #756b5f 40%);
background: -webkit-linear-gradient(top, #5f564b 0%, #756b5f 40%);
color: #efefef;
z-index: 2;
}
[type=radio]:checked ~ label ~ .content {
z-index: 1;
color: #efefef;
}
#main {
position: relative;
Width: 1000px;
height: 600px;
margin-left: auto;
margin-right: auto;
bottom: 100px;
}
#app {
position: relative;
width: 900px;
height: 400px;
margin-left: auto;
margin-right: auto;
top:130px;
background:rgba(0,0,0,0.2);
}
#applet {
position: relative;
margin-left: auto;
margin-right: auto;
bottom: 45px;
border-radius: 0px;
}
#title {
position:relative;
left:300px ;
top:11px;
}
title-box {
border-radius: 2em 1em 4em / 0.5em 3em;
}
#title-text {
margin-bottom: 20px;
color: #757575; text-decoration: none;
}
#title-text:hover {
background: none;
}
#donate {
background: #4b545f;
background: linear-gradient(top, #4b5f56 0%, #5f756b 40%);
background: -moz-linear-gradient(top, #4b5f56 0%, #5f756b 40%);
background: -webkit-linear-gradient(top, #4b5f56 0%,#5f756b 40%);
color: #efefef;
}
#donate:hover {
background: #4b545f;
background: linear-gradient(top, #644f59 0%, #755f69 40%);
background: -moz-linear-gradient(top, #644f59 0%, #755f69 40%);
background: -webkit-linear-gradient(top, #644f59 0%,#755f69 40%);
color: #efefef;
}
#nav-bar {
position: relative;
z-index: 5;
}
#play-bar {
position: relative;
bottom: 69px;
}
#top-bar {
background-color: #000;
height: 70px;
float: none;
}
#title-bar {
position: relative;
text-align: center;
float: left;
left:130px;
width: 800px;
height: 100px;
bottom: 30px;
}
#button-bar {
position: relative;
top:15px;
left: 250px;
}
#selected a {
background: #000;
border-radius: 0px;
border-color: #dbdbdb;
text-decoration: none;
color: #f3f3f3;
border: solid 1px #dbdbdb;
}
.top-link {
position: relative;
top: 20px;
padding-top: 7px;
padding-bottom: 7px;
padding-left: 30px;
padding-right: 30px;
}
#logo {
position: relative;
top: 40px;
margin-right: 300px;
}
#footer {
position: relative;
top:300px;
text-align: center;
}