Viewpointr.com (Viewpointr)

Example of our CSS code

/**********************************************************************************************

  CSS on Sails Framework
  Title: Viewpointr
  Author: XHTMLized (http://www.xhtmlized.com/)
  Date: April 2010

***********************************************************************************************

  1. BASE
      1.1 Reset
      1.2 Accessibility Navigation & Hide
      1.3 Clearfix
      1.4 Default Styles

  2. COMMON
      2.1 Container
      2.2 Header
      2.3 Navigation
      2.4 Content

***********************************************************************************************/


/* 1. BASE
-----------------------------------------------------------------------------------------------
===============================================================================================*/


/* 1.1 Reset
-----------------------------------------------------------------------------------------------*/

html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, samp, small, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: transparent;
}

q {
	quotes: none;
}

q:before, q:after {
	content: "";
	content: none;
}

a, ins, del {
	text-decoration: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

th, td {
	vertical-align: top;
}

th {
	text-align: left;
}


/* 1.2 Accessibility Navigation & Hide
-----------------------------------------------------------------------------------------------*/

#accessibility-nav, .hide {
	position: absolute;
	top: -999em;
	left: -999em;
	height: 1px;
	width: 1px;
}


/* 1.3 Clearfix
-----------------------------------------------------------------------------------------------*/

#content ul.links-top:after,
#content .header:after,
.wrapper-point .point .share-link dl:after,
#sidebar .button-help:after,
#content .viewpoint-add div.buttons:after,
ul.tags:after,
#sidebar .info:after,
#content .box-help:after,
#content .box-help form:after,
#content .nav:after,
#content .friends li:after,
#content .request-feed:after,
#content .request-feed2:after,
#content .request-feed .tags:after,
#content .request-feed .info:after,
#content .request-feed .links:after,
#content .myprofile dl:after,
.container:after,
.form-item:after,
.settings .notifications-form ul li:after,
.settings #content .social-network .share-option:after,
.alert-box:after,
.signup .header:after,
.our-team:after,
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}


/* 1.4 Default Styles
-----------------------------------------------------------------------------------------------*/

html{
	height: 100%;
}

body {
	background: #fff;
	color: #33322f;
	font-size: 12px;
	font-family: Tahoma, Verdana, "Arial", "Helvetica", sans-serif;
	height: 100%;
}

hr {
	display: none;
}

strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

del {
	text-decoration: line-through;
}

th {
	font-weight: normal;
}

address, cite, dfn {
	font-style: normal;
}

li {
	list-style: none;
}

abbr, acronym {
	border-bottom: 1px dotted #999;
	cursor: help;
}

input, textarea, select {
	font-family: Tahoma, Verdana, "Arial", "Helvetica", sans-serif;
}

a {
	color: #00b8e9;
	text-decoration: none;
}

a:hover {
	color: #00b8e9;
	text-decoration: none;
}

.xbuttons {
	position: relative;
	overflow: hidden;
	display: inline-block;
	text-align: left;
	text-indent: -999em;
	margin: 0;
	padding: 0;
	border: none;
	cursor: pointer;
	background: url(../images/buttons.gif) no-repeat 0 0;
}

.xbtn-share {
	width: 95px;
	height: 32px;
	background-position: -5px -5px;
}

.xbtn-share-disabled {
	width: 95px;
	height: 32px;
	background-position: -103px -5px;
}

.xbtn-reply {
	width: 60px;
	height: 30px;
	/*.xbtn-point{ width: 60px; height: 30px; background-position: -70px -41px; }*/
	background-position: -5px -41px;
}

.xbtn-point {
	width: 70px;
	height: 28px;
	background-position: -7px -442px;
}

.xbtn-help {
	width: 59px;
	height: 30px;
	background-position: -136px -41px;
}

.xbtn-reply:hover {
	width: 60px;
	height: 30px;
	background-position: -5px -78px;
}

.xbtn-point:hover,
.show-bubble .xbtn-point,
.show-point-dropdown .xbtn-point {
	width: 70px;
	height: 28px;
	background-position: -87px -442px;
}

.xbtn-help:hover {
	width: 59px;
	height: 30px;
	background-position: -136px -78px;
}

.xbtn-help-blue {
	width: 117px;
	height: 29px;
	background-position: -6px -113px;
}

.xbtn-add-comment {
	width: 103px;
	height: 25px;
	background-position: -6px -224px;
}

.xbtn-add-comment-disabled {
	width: 103px;
	height: 25px;
	background-position: -6px -476px;
}

.xbtn-add-viewpoint {
	width: 119px;
	height: 29px;
	background-position: -6px -187px;
}

.xbtn-add-viewpoint-disabled {
	width: 119px;
	height: 29px;
	background-position: -6px -505px;
}

.xbtn-send {
	width: 117px;
	height: 31px;
	background-position: -6px -255px;
}

.xbtn-send-disabled {
	width: 117px;
	height: 31px;
	background-position: -6px -538px;
}

.xbtn-signupnow {
	width: 168px;
	height: 46px;
	background-position: -7px -294px;
}

.xbtn-signin {
	width: 55px;
	height: 28px;
	background-position: -116px -224px;
}

.xbtn-save {
	width: 60px;
	height: 30px;
	background-position: -128px -256px;
}

.xbtn-starthelping {
	width: 169px;
	height: 47px;
	background-position: -7px -351px;
}

.xbtn-create-account {
	width: 151px;
	height: 30px;
	background-position: -7px -405px;
}

.xbtn-getintouch {
	width: 117px;
	height: 29px;
	background-position: -6px -149px;
}


/* Point dropdown */
#content .point-dropdown {
	display: none;
	position: absolute;
	right: -89px;
	bottom: -94px;
	height: 125px;
	width: 160px;
	border: 2px solid #437c49;
	background: #fff;
}

#content .request-feed2 .point-dropdown {
	bottom: -88px;
}

#content #addViewpoint .point-dropdown {
	bottom: -113px;
	right: auto;
	left: 294px;
}

#content .show-point-dropdown .point-dropdown {
	display: block;
}

#content .point-dropdown .point-to {
	float: none !important;
	display: block;
	padding: 10px 8px 0 !important;
	font-size: 11px !important;
}

#content .point-dropdown ul {
	padding: 10px 0 10px 8px;
}

#content .point-dropdown li {
	float: none;
	margin: 0;
	padding: 0 0 4px 25px;
	background-repeat: no-repeat;
	background-position: 0 2px;
}

#content .point-dropdown li.point-facebook {
	background-image: url(../images/ico-point-facebook.gif);
}

#content .point-dropdown li.point-twitter {
	background-image: url(../images/ico-point-twitter.gif);
}

#content .point-dropdown li.point-viewpointr {
	background-image: url(../images/ico-point-viewpointr.gif);
}

#content .point-dropdown li.point-email {
	background-image: url(../images/ico-point-email.gif);
}

#content .point-dropdown a {
	color: #898989;
	font-size: 10px;
	font-weight: bold;
}

#content .point-dropdown a:hover {
	text-decoration: underline;
}


/* 2. COMMON
-----------------------------------------------------------------------------------------------
===============================================================================================*/


/* 2.1 Container
-----------------------------------------------------------------------------------------------*/

.container {
	position: relative;
	width: 894px;
	margin: 0 auto;
	font-size: 12px;
}


.wrapper-point {
	position: fixed;
	top: 20px;
	margin-left: -314px;
	left: 50%;
	z-index: 100;
	width: 627px;
	height: 574px;
	padding: 16px;
	background: url(../images/bg_point.png);
}

.wrapper-point .point {
	position: relative;
	width: 571px;
	height: 572px;
	padding: 0 0 0 54px;
	border: solid 1px #7a7a7a;
	background: #fff;
}

.wrapper-point .point a {
	text-decoration: underline;
}

.wrapper-point .point a.close {
	position: absolute;
	text-decoration: none;
	top: 15px;
	right: 22px;
	font-weight: bold;
	color: #9a9a9a;
	text-decoration: underline;
}

.wrapper-point .point a.close:hover {
	text-decoration: none;
	color: #00b8e9;
}

.wrapper-point .point h3 {
	padding: 32px 0 25px 1px;
	font-size: 23px;
	font-family: Arial;
}

.wrapper-point .point .column {
	width: 202px;
	padding: 0 38px 0 0;
	float: left;
}

.wrapper-point .point .column h4 {
	padding: 0 0 15px 2px;
	font-size: 18px;
	font-family: Arial;
}


.wrapper-point .point .column ul {
	width: 200px;
	height: 202px;
	overflow: auto;
	margin: 0 0 27px 0;
	padding: 9px 0 0 0;
	border: solid 1px #d3d1d0;
}

.wrapper-point .point .column ul li {
	display: block;
}

.wrapper-point .point .column ul li a {
	text-decoration: none;
	display: block;
	padding: 1px 0 3px 12px;
	font-family: Tahoma;
	color: #231f20;
	outline: none;
	font-size: 14px;
}

.wrapper-point .point .column ul li a:hover {
	background: #fff;
	color: #00b8e9;
}

.wrapper-point .point .column ul li.selected a {
	background: #eff0f0 url(../images/ico_checkmark.png) no-repeat 153px 0;
}

.wrapper-point .point .column ul li.selected a:hover {
	background: #eff0f0 url(../images/ico_checkmark.png) no-repeat 153px 0;
	color: #00b8e9;
}

.wrapper-point .point button {
	display: block;
	clear: both;
	float: none;
	margin: 0 0 40px 203px;
}

.wrapper-point .point .share-link {
	font-size: 13px;
	height: 205px;
	padding: 0;
	text-align: left;
	line-height: 130%;
}

.wrapper-point .point .share-link p a{
	display: block;
	margin-top: 15px;
}

.wrapper-point .point .share-link dl {
	padding: 40px 0 7px;
}

.wrapper-point .point .share-link dl dt {
	padding: 0 10px 0 0;
}

.wrapper-point .point .share-link dl dd {
	float: left;
	padding: 0 10px 0 0;
}

.wrapper-point .point .send-email {
	padding-bottom: 30px;
}

.wrapper-point .point .send-email p {
	font-size: 13px;
	line-height: 130%;
	padding: 0 0 15px 27px;
	font-style: italic;
}

.wrapper-point .point .send-email p strong {
	float: left;
	width: 27px;
	margin-left: -27px;
	font-style: normal;
}

.wrapper-point .point .send-email textarea {
	height: 140px;
	width: 170px;
	padding: 8px 12px;
	border: solid 1px #d3d1d0;
	font-size: 14px;
	line-height: 21px;
	color: #231f20;
}

.wrapper-point .message {
	width: 516px;
	clear: both;
}

.wrapper-point .message-header {
	font-size: 16px;
	width: 100%;
	overflow: hidden;
	padding-bottom: 10px;
}

.wrapper-point .message-header h4 {
	float: left;
	margin-left: 5px;
}

.wrapper-point .message-header span {
	float: right;
	margin-right: 5px;
	color: #989998;
	font-weight: bold;
}

.wrapper-point .message-text {
	height: 90px;
	width: 490px;
	overflow: auto;
	border: 1px solid #D3D1D0;
	padding: 5px 12px;
	font-size: 12px;
}

.wrapper-point .message-text p {
	padding: 5px 0 9px;
}

.wrapper-point .message-note {
	font-size: 12px;
	color: #989998;
	padding: 8px 0 20px;
}


/* 2.2 Header
-----------------------------------------------------------------------------------------------*/

#header {
	position: relative;
	z-index: 1;
	height: 124px;
}


#header .logo {
	float: left;
	padding: 50px 0 0 0;
}

#header .url,
#header .url span {
	display: block;
	overflow: hidden;
	width: 188px;
	height: 33px;
}

#header .url {
	position: relative;
}

#header .url span {
	background: url(../images/logo.png) no-repeat;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
}

#header .url:hover span {
	background-position: 0 -33px;
}

#header a.url span {
	cursor: pointer;
}



/* 2.3 Navigation
-----------------------------------------------------------------------------------------------*/

#navigation {
	float: right;
	padding: 57px 0 0 0;
	position: relative;
	z-index: 10;
}

#navigation  li {
	float: left;
	padding: 0 0 0 34px;
}

#navigation  li a {
	font-weight: bold;
	color: #33322f;
	text-transform: capitalize;
}

#navigation  li a:hover {
	color: #00b8e9;
}


#navigation p a {
	color: #2f2f2f;
	font-weight: bold;
	margin: 0 10px;
}

#navigation p a:hover {
	color: #00b8e9;
}

#navigation p span.or {
	font-weight: bold;
	color: #989898;
}


/* 2.4 Content
-----------------------------------------------------------------------------------------------*/

a.button {
	display: block;
	float: left;
	padding: 4px 9px 4px 10px;
	border: solid 1px #232020;
	font-weight: bold;
	font-family: Arial;
	font-size: 15px;
	color: #fff;
	text-transform: capitalize;
	background: #797979;
}

a.button:hover {
	border: solid 1px #437b49;
	background: #4db649;
	color: #fff;
}

input.button {
	display: block;
	float: left;
	padding: 2px 3px 2px 3px;
	background: #56bfed;
	border: solid 1px #246293;
	font-family: Arial;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	text-transform: capitalize;
	cursor: pointer;
}

input.button.big {
	padding: 2px 5px;
	font-size: 16px;
}

input.button.big2 {
	padding: 4px 10px;
	font-size: 14px;
}

#content {
	position: relative;
	z-index: 2;
	width: 599px;
	margin: 2px 0 0 0;
	padding-right: 65px;
	float: left;
}

#content hr {
	display: block;
	border: none;
	height: 1px;
	background: #7a7a7a;
	margin: 0 0 17px 0;
	padding: 0;
}

.friends #content hr {
	margin: 7px 0 28px 0;
}


#content h1,
#content h2 {
	margin: 0 0 25px 0;
	padding: 0 0 0 3px;
	font-size: 24px;
	font-weight: normal;
	color: #262523;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#content h3 {
	margin: 0 0 19px 0;
	padding: 0 0 0 1px;
	font-size: 20px;
	font-weight: normal;
	color: #212121;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#content h4 {
	margin: 0 0 0 0;
	padding: 0 0 22px 1px;
	clear: both;
	font-family: Tahoma;
	font-size: 16px;
	font-weight: normal;
	color: #212121;
	border-bottom: solid 1px #ccc;
}

#content p {
	line-height: 135%;
	padding: 0 0 14px 0;
}


#content ul.profile {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#content ul.profile li {
	padding: 10px 0 29px 0;
}

#content ul.profile a {
	font-size: 24px;
	color: #3e3e3e;
}

#content ul.profile a:hover {
	color: #00b8e9;
}

#content ul.profile a strong {
	font-size: 43px;
	color: #989898;
	width: 98px;
	display: block;
	float: left;
	margin: -10px 0 0 0;
}

#content ul.profile a:hover strong {
	color: #00b8e9;
}

.header {
	margin: 2px 0 30px 0;
	padding: 24px 0 30px 1px;
	border-top: solid 2px #231f20;
	border-bottom: solid 1px #7a7a7a;
}

.header span {
	color: #989898;
}

.header h1 {
	font-size: 24px;
	font-weight: normal;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#content .header {
	margin: 0;
	padding: 24px 0 0 0;
	border-top: solid 2px #231f20;
	border-bottom: none;
}

#content.no-header{
	border-top: solid 2px #231f20;
	padding-right: 0;
}

.helpers #content .header {
	padding: 24px 0 30px 0;
}

.myrequests #content .header {
	padding: 24px 0 30px 0;
	border-bottom: solid 1px #7a7a7a;
}

.myprofile #content .header {
	margin: 0 0 25px 0;
	padding: 24px 0 30px 0;
	border-bottom: solid 1px #7a7a7a;
}

#content .header h1 {
	float: left;
	font-size: 24px;
	font-weight: normal;
	margin: 0;
	padding-left: 1px;
}

.tags #content .header h1 {
	margin: 0 0 25px 0;
}


#content .box-help {
	position: relative;
	margin: 0 0 19px 0;
	padding: 19px 0 26px 0;
	background: url(../images/bullet_01.png) no-repeat 29px 26px;
	border-top: solid 2px #231f20;
	border-bottom: solid 1px #7a7a7a;
}

#content .box-help.active {
	padding: 19px 0 23px 0;
}

#content .box-help h2 {
	width: 496px;
	height: 40px;
	margin: 0;
	float: right;
	text-indent: -8000px;
	cursor: pointer;
	background: url(../images/text_h2.png) no-repeat 0 0;
}

#content .box-help.active h2 {
	background-position: 0 -40px;
}

#content .box-help form {
	display: none;
	clear: both;
	padding-top: 17px;
}

#content .box-help.active form {
	display: block;
}