Skip to content

Instantly share code, notes, and snippets.

@tsavory
Created May 8, 2012 21:42
Show Gist options
  • Save tsavory/2639604 to your computer and use it in GitHub Desktop.
Save tsavory/2639604 to your computer and use it in GitHub Desktop.
Help fix css for nifelseki
/* This file will hold styles for the mobile version of your website (mobile first). */
/* This also can include ANY global CSS that applies site-wide. Unless overwritten by a more specific style rule, CSS declarations in global.css will apply site-wide. */
div#page{
background: url('/sites/default/files/images/main_bg.jpg') no-repeat;
background-attachment: fixed;
background-position: center top;
background-color: #153c63;
}
#zone-branding {
/*border: 1px solid #000;*/
height: 50px;
}
#zone-footer {
height: 50px;
}
#region-header-first {
margin-top: -10px;
background: rgb(0, 0, 0);
/* RGBa with 0.6 opacity */
background: rgba(0, 0, 0, 0.6);
}
#region-header-second {
background-color: #153c63;
padding:10px;
margin-top: -10px;
margin-left: 0px;
}
#region-content{
margin-right: -10px;
background-color: red;
}
#zone-header {
background:url('/sites/default/files/images/inner_bg.png') repeat;
/* RGBa with 0.6 opacity */
}
#zone-content {
background:url('/sites/default/files/images/inner_bg.png') repeat;
/* RGBa with 0.6 opacity */
padding-top: 10px;
padding-bottom: 10px;
}
#region-sidebar-first{
background: url('/sites/default/files/images/sidebar_graybg.png') repeat;
height: 440px;
width: 230px;
margin-left: 0px;
margin-right: 0px;
}
#region-sidebar-first .block .content ul {
margin: -20px 0 10px 0;
padding-left: 30px;
text-align:center;
}
#region-sidebar-first h2.block-title{
color: #fff;
height: 40px;
line-height: 40px;
background-color: #153c63;
text-align: center;
font-family: Arial;
font-size: 22px;
}
.block-sponsor {
background-color: #fff;
height: 77px;
overflow: hidden;
margin-left: 10px;
margin-right: 10px;
padding-top: 3px;
font-size: 10px;
font-weight: bold;
}
.block-sponsor img{
padding-top: 5px;
}
.content-footer {
margin-top: -10px;
background-color: transparent;
background: url('/sites/default/files/images/content_footer_grassbg.png');
overflow: hidden;
height: 70px;
font-size:11px;
color:#FFF;
}
div.round-bg {
}
div.content-black-text {
}
.content-footer div{
padding:15px 5px 0px 5px;
}
/* This file will hold styles for the mobile version of your website (mobile first). */
/* This also can include ANY global CSS that applies site-wide. Unless overwritten by a more specific style rule, CSS declarations in global.css will apply site-wide. */
div#page{
background: url('/sites/default/files/images/main_bg.jpg') no-repeat;
background-attachment: fixed;
background-position: center top;
background-color: #153c63;
}
#zone-branding {
/*border: 1px solid #000;*/
height: 50px;
width: 900px;
}
#zone-footer {
height: 50px;
width: 900px;
}
div.region-header-first-inner {
background: rgb(0, 0, 0);
/* RGBa with 0.6 opacity */
background: rgba(0, 0, 0, 0.6);
}
div.region-header-second-inner {
background-color: #153c63;
}
#region-header-first {
margin-top: -10px;
width:640px;
}
#region-header-second {
margin-top: -10px;
margin-left: 0px;
width:230px;
}
#region-content{
/*width: 640px;*/
margin-right: -10px;
background-color: red;
min-width: 640px;
max-width: 880px;
}
#zone-header {
background:url('/sites/default/files/images/inner_bg.png') repeat;
/* RGBa with 0.6 opacity */
width:900px;
}
#zone-content {
background:url('/sites/default/files/images/inner_bg.png') repeat;
/* RGBa with 0.6 opacity */
padding-top: 10px;
padding-bottom: 10px;
width:900px;
}
.region-content-inner{
}
#region-sidebar-first{
background: url('/sites/default/files/images/sidebar_graybg.png') repeat;
height: 440px;
width: 230px;
margin-left: 0px;
margin-right: 0px;
}
#region-sidebar-first .block .content ul {
margin: -20px 0 10px 0;
padding-left: 30px;
width: 190px;
text-align:center;
}
#region-sidebar-first h2.block-title{
color: #fff;
height: 40px;
line-height: 40px;
background-color: #153c63;
text-align: center;
font-family: Arial;
font-size: 22px;
}
.block-sponsor {
background-color: #fff;
height: 77px;
overflow: hidden;
margin-left: 10px;
margin-right: 10px;
padding-top: 3px;
font-size: 10px;
font-weight: bold;
}
.block-sponsor img{
padding-top: 5px;
}
.content-footer {
margin-top: -10px;
background-color: transparent;
background: url('/sites/default/files/images/content_footer_grassbg.png');
overflow: hidden;
height: 70px;
width:640px;
font-size:11px;
color:#FFF;
}
div.round-bg {
}
div.content-black-text {
}
.content-footer div{
padding:15px 5px 0px 5px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment