Skip to content

Instantly share code, notes, and snippets.

@pferreir
Created May 17, 2013 11:55
Show Gist options
  • Save pferreir/5598601 to your computer and use it in GitHub Desktop.
Save pferreir/5598601 to your computer and use it in GitHub Desktop.
Indico CSS file for the 1st Indico Workshop (2013)
/*
Use this stylesheet to modify the layout of your
conference.
*/
/* ----------- Styles for the conference header ----------- */
@font-face {
font-family: 'BebasNeueRegular';
src: url('https://indico.cern.ch/fonts/BebasNeue-webfont.eot');
src: url('https://indico.cern.ch/fonts/BebasNeue-webfont.eot?#iefix') format('embedded-opentype'),
url('https://indico.cern.ch/fonts/BebasNeue-webfont.woff') format('woff'),
url('https://indico.cern.ch/fonts/BebasNeue-webfont.ttf') format('truetype'),
url('https://indico.cern.ch/fonts/BebasNeue-webfont.svg#BebasNeueRegular') format('svg');
font-weight: normal;
font-style: normal;
}
body {
background: #555 url('/conferenceDisplay.py/getPic?picId=6&confId=235520');
background-position: center bottom;
background-attachment: fixed;
}
.wrapper {
background: url('/conferenceDisplay.py/getPic?picId=1&confId=235520') repeat;
background: rgba(0, 0, 0, 0.4);
}
/*
The wrapper of the whole conference page.
*/
.conf {
max-width: 1030px;
border: none;
margin: 0 auto;
}
.confheader {
background: none;
}
/*
Wraps around the upper part of the conference header.
*/
.confTitleBox {
color: white;
min-height: 90px;
border-top: none;
border-bottom: none;
background: none;
}
/*
Sets the width of the upper part of the conference header.
Is set to 950px and centered by default.
*/
.confTitle {
width: 1030px;
margin: 0 auto;
}
/*
The box containing the logo. By the default the logo is placed
on the left of the conference title.
*/
.confLogoBox {
float: none;
display: inline-block;
padding-right: 10px;
vertical-align: middle;
}
.confLogoBox img {
height: 75px;
}
/*
The style for the title text.
*/
.conferencetitlelink {
text-align: center;
font-size: 6em;
text-transform: uppercase;
font-weight: normal;
padding: 70px 0 5px 0;
color: #fff;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
font-family: 'BebasNeueRegular', 'Impact', 'Helvetica', 'Arial', 'Sans';
}
.conferencetitlelink span[itemprop="title"] {
vertical-align: middle;
}
/*
Wrapper around the bottom part of the conference header
*/
.confSubTitleBox {
padding: 1em;
border: 1px solid #999;
min-height: 45px;
background: #fafafa;
background-image: -ms-linear-gradient(top, #f3f3f3, #b7c6c7);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3f3f3), to(#b7c6c7));
background-image: -webkit-linear-gradient(top, #f3f3f3, #b7c6c7);
background-image: -o-linear-gradient(top, #f3f3f3, #b7c6c7);
background-image: -moz-linear-gradient(top, #f3f3f3, #b7c6c7);
background-image: linear-gradient(top, #f3f3f3, #b7c6c7);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f3f3f3', EndColorStr='#b7c6c7'); /* IE6,IE7 */
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#f3f3f3', EndColorStr='#b7c6c7')"; /* IE8 */
width: 100%;
margin-left: -15px;
}
/*
The content of the lower part of the header. Is by default
centered and has a fixed width.
*/
.confSubTitleContent {
width: 1030px;
margin: 0 auto;
font-family: Verdana;
font-size: 2em;
color: #3E5D74;
}
/*
Style for links in the lower part of the header
*/
.confSubTitle a {
font-family: Verdana;
font-size: 11pt;
}
/*
Styles for the date and place information.
*/
.datePlace {
font-family: 'BebasNeueRegular', 'Impact', 'Helvetica', 'Arial', 'Sans';
font-size: inherit;
}
.datePlace * {
margin-right: 0.5em;
float: left;
}
.datePlace .timezone {
display: none;
}
.datePlace .place {
font-style: normal;
color: #888;
}
/*
Styles for the searchbox
*/
.confSearchBox {
float: right;
background: transparent url("../../images/conf/sprites_blue.png") no-repeat 0 0;
}
.confSearchBox .searchButton {
color: white;
}
.confSearchBox .searchField {
color: black;
}
/*
Styles for the nowHappening information
*/
.nowHappening .nowHappeningText {
margin-right: 5px;
float: left;
}
/*
Announcement styles
*/
.simpleTextAnnouncement {
background: #F5FAFF url(../../images/conf/sprites_blue.png) repeat-x scroll 0 -400px;
border-top: 1px solid #c2d6e7;
font-family: Verdana;
font-weight: bold;
font-size: 10pt;
text-align: center;
color: #0f283d;
}
/* ----------- Styles for the main content ----------- */
/*
The wrapper around the menu and the page content.
By default centered with a fix width.
*/
#confSectionsBox {
width: 990px;
background: url('https://indico.cern.ch/conferenceDisplay.py/getPic?picId=2&confId=235520') repeat;
background: rgba(255, 255, 255, 0.9);
box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.5), inset 0px 3px 2px rgba(100, 100, 100, 0.1);
margin: 0 auto;
padding: 20px;
border-radius: 0 0 3px 3px;
}
.mainContent h1 {
font-size: 1.6em;
}
/* ----------- Styles for the menu ----------- */
/* Styles for all menu Items */
/*
Wrapper around the menu
*/
.conf_leftMenu {
float:left;
width:200px;
}
/*
Styles for the menu box
*/
#outer {
background: #ddd;
background: rgba(170, 170, 170, 0.1);
border: 1px solid #ccc;
border-radius: 3px;
box-shadow: inset 0px 0px 3px rgba(150, 150, 150, 0.3);
}
/*
The menu item
*/
#outer li a {
font-family: Georgia;
font-size: 1.1em;
}
/*
The menu item when doing mouseover
*/
#outer li a:hover {
background: #e0e0e0;
}
/*
A non selected menu item
*/
.menuConfTitle {
text-align: left;
}
.menuConfTitle a {
color: #275C86;
padding: 7px 12px;
}
/*
A selected menu item
*/
.menuConfTitle.selected > a, .menuConfMiddleCell.selected > a {
color: #BD891A;
background: #dadada;
border-bottom: 1px solid #d0d0d0;
border-top: 1px solid #d0d0d0;
}
/*
sub menu item
*/
li ul.inner li a {
padding: 3px 12px 3px 30px;
background: transparent url(../../images/conf/left_menu_bullet.png) scroll no-repeat 15px center;
}
/*
Support box
*/
.support_box {
background: #f6f6f6;
border: 1px solid #ccc;
}
.support_box > h3 {
color: #f3f3f3;
background: #1a64a0;
}
/* ----------- Styles for the page content ----------- */
/*
Wrapper around the content
*/
.confBodyBox {
margin-left: 240px;
}
.ui-widget-content {
background: none;
}
.ui-tabs li.ui-state-default {
background: none !important;
}
.ui-tabs li.ui-state-default.ui-tabs-selected {
background: #3E5D74 !important;
}
.ui-tabs li.ui-state-default.ui-tabs-selected a {
color: #eee !important;
}
div.timetableHeader {
color: #3d4f73;
font-size: 2em;
font-family: 'BebasNeueRegular', 'Impact', 'Helvetica', 'Arial', 'Sans';
background: none;
}
#footer {
border-top: 3px solid #007BD6;
height: 45px;
background: #eee;
background-image: -ms-linear-gradient(top, #fafafa, #ddd);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fafafa), to(#ddd));
background-image: -webkit-linear-gradient(top, #fafafa, #ddd);
background-image: -o-linear-gradient(top, #fafafa, #ddd);
background-image: -moz-linear-gradient(top, #fafafa, #ddd);
background-image: linear-gradient(top, #fafafa, #ddd);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#fafafa', EndColorStr='#dddddd'); /* IE6,IE7 */
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fafafa', EndColorStr='#dddddd')"; /* IE8 */
}
.eventHeaderButtonBar {
box-shadow: 0 2px 6px rgba(255,255,255,0.4);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment