public
Last active

Basic css to get a Liferay "unstyled" theme up and running for 6.0

  • Download Gist
custom.css
CSS
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
/* -------- Global -------- */
 
#skip-to-content,
#heading .community-title,
#heading .page-title,
#navigation h1,
#navigation .child-menu,
#breadcrumbs {
clip: rect(0 0 0 0);
height: 0;
margin: 0;
padding: 0;
position: absolute;
}
 
body {
background: #CCC;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px/1;
}
 
#wrapper {
background: #FFF;
margin: 0 auto;
padding: 5px;
width: 960px;
}
 
/* -------- Sign-in / Navigation -------- */
 
#sign-in {
position: absolute;
right: 0;
top: 0;
}
 
#navigation ul {
display: inline-block;
margin: 0;
}
 
#navigation li {
background: #DDD;
display: block;
float: left;
padding: 5px;
}
 
#navigation li a {
text-decoration: none;
}
 
/* -------- Web Content -------- */

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.