Montreal ACM SIGGRAPH chapter custom CSS file
Click here to get the file
Size
6.2 kB
-
File type
text/css
File contents
/*
Title: Montreal chapter's custom CSS file
Author: Juan Pablo Di lelle, jdilelle@gmail.com
Updated: June 7th, 2005
*/
/* --------------- Override and hide some of Plone's sections --------------- */
/* Replace the logo with the chapter's banner. */
#portal-logo {
background: url(i/logos/logo.gif) no-repeat;
border: 0;
margin: 0.75em 0em 0.75em 1.5em;
padding: 0;
width: 155px;
height: 100px;
}
#portal-logo a {
display: block;
text-decoration: none;
overflow: hidden;
border: 0;
margin: 0;
padding: 0;
padding-top: 63px;
height: 0px !important;
height /**/: 63px;
width: 155px;
height: 100px;
cursor: pointer;
}
/* Replace the user icon with a custom one. */
#portal-personaltools .portalUser {
background: transparent url(i/icons/head.gif) center left no-repeat;
padding-left: 20px;
}
.link-user {
background: transparent url(i/icons/head.gif) 0 1px no-repeat;
padding: 1px 0px 1px 20px;
}
/* Claim the whole main content space by hidding the two side columns,
the colophon and the footer. */
#portal-column-one, #portal-column-two, #portal-colophon, #portal-footer {
display: none;
}
/* Discard the document headings for now.
FIXME update the look to match our style. */
.documentFirstHeading, .documentDescription, .documentActions {
display: none;
}
/* Override the default link icon */
#portal-personaltools li {
background: transparent url(i/icons/hand-small.gif) center left no-repeat;
padding-left: 30px;
}
/* Hide the portal tabs for now. Breadcrumbs should be enough to navigate.*/
#portal-globalnav {
display: none;
}
/* Hide the document byline as well. */
.documentByLine {
display: none;
}
/* ------------------------- Here's the real beef ------------------------- */
body {
font-family: Georgia, Times, serif;
font-weight: normal;
font-size: 12px;
line-height: 1.5em;
text-align: justify;
}
h1 {
font-family: Georgia, Times, serif;
font-weight: bold;
font-size: 200%;
font-variant: small-caps;
text-align: left;
border: 0;
margin: 0;
padding: 5px 0 10px 5px;
color: #c03;
}
h2 {
font-family: Georgia, Times, serif;
font-size: 120%;
font-weight: bold;
color: black;
border: 0;
margin: 0;
padding: 0;
}
p {
padding: 5px;
}
/* Get rid of image borders. */
img {
border: 0;
}
/* Chapter's home page global definitions.*/
#mtlHomePage {
background: #eee;
padding: 0;
margin: 0 auto;
border: 0;
/* box hack for IE */
width: 798px;
voice-family: "\"}\"";
voice-family:inherit;
width: 777px;
/* FIXME add a "Be Nice To Opera" rule. */
}
/* A header shared by all the chapter's pages */
#mtlCommonHeader {
height: 40px;
background: white;
}
/* The column containing tabs, to the left of the home page. */
#mtlHomePageTabsColumn {
float: left;
padding: 5px;
/* Box model hack for IE */
width: 210px;
voice-family: "\"}\"";
voice-family:inherit;
width: 200px;
}
/* The column containing the main content, usually refering to an event page. */
#mtlHomePageContentColumn {
float: left;
background: url(i/bg/splash.generic.gif) no-repeat 5px 5px;
padding: 5px;
padding-left: 2px;
text-align: center;
/* Box model hack for IE */
width: 573px;
voice-family: "\"}\"";
voice-family:inherit;
width: 558px;
/* don't add anything after the box hack, insert it before. */
}
/* Individual tabs in the tabs column */
#tab1, #tab2, #tab3 {
background: url(i/bg/tab.generic.gif) no-repeat 0 4px;
color: black;
text-align: left;
line-height: 1.3em;
/* center the tabs content vertically */
display: table;
height: 120px;
_position: relative; /* for stupid IE only, for vertical centering */
_overflow: hidden;
/* box model hack for IE */
width: 210px;
voice-family: "\"}\"";
voice-family:inherit;
width: 200px;
}
/* Images within tabs */
.tabImage {
padding: 4px;
/* center tabs content vertically */
display: table-cell;
vertical-align: middle;
/* IE hack for vertical centering */
_position: absolute;
_top: 50%
}
/* Text within tabs */
.tabText {
padding-right: 2px;
/* center tabs content vertically */
display: table-cell;
vertical-align: middle;
}
.ieVerticalCenteringHack { /* for stupid IE only */
_position: relative;
_top: -50%;
}
/* The footer, shared among most pages */
#mtlMainFooter {
background: white;
clear: both;
height: 50px;
text-align: center;
padding: 5px;
}
/* ------------------------------ EVENT PAGES ------------------------------ */
/* FIXME move event definitions to a separate css file? */
#mtlEvent {
background: #eee;
padding: 0;
margin: 0 auto;
border: 0;
width: 720px;
}
#mtlEventHeader {
height: 50px;
background: white;
}
#mtlEventFooter {
height: 50px;
padding: 5px;
background: white;
text-align: center;
clear: both;
}
#eventImagesColumn {
width: 160px;
padding: 2px 2px;
float: left;
}
#eventImagesColumn img {
padding: 4px;
background: #eee;
}
#eventContentColumn {
margin-left: 165px;
}
#eventHeader {
background: url(i/bg/eventBanner.gif) no-repeat 2px 4px;
padding: 10px 5px 10px 10px;
margin-right: 5px;
line-height: 1.5em;
}
#eventTitle {
font-weight: bold;
font-size: 24px;
font-variant: small-caps;
text-align: left;
color: #C03;
padding: 10px 5px 5px 10px;
}
#eventInfo {
font-weight: normal;
font-size: 14px;
line-height: 1.4em;
text-align: left;
padding: 5px 5px 20px 15px;
margin-bottom: 5px;
}
/* FIXME rename sat for someting else */
#sat {
color: #C03;
}
.dropCaps {
float: left;
font-size: 300%;
line-height: 1em;
margin: 4px 5px 0px 0;
padding: 4px 10px;
border: 2px solid #ccc;
background: #eee;
}
#eventContent {
font-weight: normal;
font-size: 12px;
text-align: justify;
line-height: 1.5em;
background: white;
padding: 10px;
margin-top: 10px;
}
#eventBiography {
font-weight: normal;
font-size: 12px;
text-align: justify;
line-height: 1.5em;
background: white;
padding: 10px;
margin-top: 10px;
}
#eventMisc {
padding: 10px;
margin-top: 10px;
font-weight: normal;
font-size: 12px;
text-align: center;
background: white;
}
/* ------------------------------ MEMBER PAGES ------------------------------ */
/* FIXME move event definitions to a separate css file? */