themes/stpatty/css-extra/structure.css
author Dan Fuhry <dan@enanocms.org>
Wed, 29 Dec 2010 13:25:32 -0500
changeset 1332 12286b3ee214
parent 1274 673a1b6712fa
permissions -rw-r--r--
Added some more hooks to the page editing pipeline. It should now be possible to add controls to the page editor, send the data from them out to the server, and process them on the server side.

/*
 * St. Patty theme for Enano
 * Copyright (C) 2007 Dan Fuhry
 *
 * This theme is Free Software, available under the terms of the GNU General Public License. See the file "GPL" included with this
 * package for details.
 *
 * Some ideas - most notably the hatching patterns and floating divs, were taken from Bittersweet <http://templates.arcsin.se/>
 * No code or graphics were copied.
 */
 
html,body {
	margin: 0;
	padding: 0;
	height: 100%;
}
body {
	background-repeat: repeat;
	font-family: "Lucida Sans Unicode", sans-serif;
	font-size: 75%;
}
body#tinymce {
	background-color: white;
	background-image: none;
}
div#bg {
	min-height: 500px;
	width: 100%;
	background-repeat: repeat-x;
}
div#rap {
	width: 760px;
	padding: 0 10px;
	margin: 0 auto;
}
div#title {
	margin: 0px;
	padding: 0px;
	background-repeat: repeat-x;
	vertical-align: middle;
}
div#title h1 {
	margin: 0px 10px 10px 10px;
	padding-top: 30px;
	text-align: left;
}
div#title h2 {
	margin: 0px 10px 0px 10px;
	padding-bottom: 40px;
	text-align: left;
}
div.straightaway {
	clear: both;
}
/* Footer */
div.footer {
	padding: 10px 10px 7px 10px;
	background-repeat: repeat-x;
}

/* Content area */
div#maincontent {
	padding: 10px;
	margin-right: 140px;
}
img#ajaxloadicon {
	margin-top: 10px;
}
div#maincontent h2 {
	margin: 10px 0;
	padding: 0;
	font-size: 16pt;
}
div#maincontent p {
	margin-left: 1em;
}
div#maincontent h2#pagetitle {
	margin: 0;
	font-size: 18pt;
}
div#maincontent a:link, div#maincontent a:visited {
	text-decoration: none;
}
div#maincontent ul {
	list-style: square;
}
/* Sidebar */
div#sidebar, div.dbx-box {
	float: right;
	width: 135px;
}
div#sidebar h4, div.dbx-handle {
	margin: 0;
	padding: 0 5px;
	line-height: 25px;
	font-weight: normal;
	text-align: right;
	text-transform: lowercase;
}
div.dbx-handle {
	text-align: left;
	cursor: move;
}
div#sidebar ul, .dbx-content ul {
	margin: 0;
	padding: 0;
	list-style: none !important;
}
div#sidebar ul li, div.dbx-content ul li {
	padding: 0;
}
div#sidebar ul li a, div.dbx-content ul li a {
	line-height: 25px;
	padding: 0 7px;
	text-decoration: none;
	display: block;
}
div#sidebar div, div.dbx-content2 {
	width: 135px;
}
div#sidebar div ul {
	margin-left: 2em;
	list-style: square;
}
div#sidebar div ul a {
	background-color: transparent;
	display: inline;
	border-bottom-width: 0px;
	padding: 0;
}
div#sidebar div ul a:hover {
	background-color: transparent;
	display: inline;
}
div#sidebar div div {
	background: transparent;
	border-bottom-width: 0;
	padding: 0;
}

/*
 * jBox menu system
 */

div.menu, div.menu_nojs {
	font-size: 7pt;
	border-width: 0;
}
div.menu a, div.menu_nojs a, div.menu div.label, div.menu_nojs div.label {
	padding: 2.5pt 5px;
	margin-right: 3px;
	text-decoration: none;
	display: block;
	float: left;
	border-bottom-width: 0 !important;
}
div.menu div.label, div.menu_nojs div.label {
	cursor: default;
}
div.menu span.sep, div.menu_nojs span.sep {
	display: block;
	float: left;
	width: 5px;
}
div.menu div.multopts, div.menu_nojs div.multopts {
	line-height: 17pt;
}
div.menu div.multopts a, div.menu_nojs div.multopts a, div.menu div.multopts div.label, div.menu_nojs div.multopts div.label {
	float: none;
	display: inline;
}
div.menu input[type ^="text"], div.menu_nojs input[type ^="text"], div.menu input[type ^="password"], div.menu_nojs input[type ^="password"] {
	border-width: 0;
	font-size: 9pt;
	padding: 4px 5px;
	max-width: 70px;
}
div.menu input[type ^="button"], div.menu_nojs input[type ^="button"], div.menu input[type ^="submit"], div.menu_nojs input[type ^="submit"] {
	border-width: 0;
	font-size: 9pt;
	padding: 3px 5px;
	max-width: 70px;
}
div.menu a.current, div.menu_nojs a.current, div.menu a.current:hover, div.menu_nojs a.current:hover, div.menu a.selected, div.menu_nojs a.selected, div.menu a.selected:hover, div.menu_nojs a.selected:hover {
	font-weight: bold;
}
div.menu ul, div.menu_nojs ul {
	display: none;
	position: absolute;
	padding: 0;
	margin: 0;
	border-width: 0;
	min-width: 120px;
}
/*
div.menu_nojs ul {
	display: block !important;
}
*/
div.menu ul li, div.menu_nojs ul li {
	list-style: none;
}
div.menu ul a, div.menu_nojs ul a {
	float: none;
	margin: 0;
}
/*
span.menuclear {
	font-size: 1px;
	height: 0px;
	width: 0px;
	clear: left;
	line-height: 0px;
	display: block;
}
*/

div.userpage_block {
	clear: left;
}