Files
lecturer/includes/index.css
T
2012-06-16 12:09:59 +07:00

273 lines
4.1 KiB
CSS

html {
font-size: 62.5%;
background: #FFF url("../images/background-slack.jpg") repeat;
}
/* reset */
body, div, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, p, th, td, article, section, figure, img {
margin: 0;
padding: 0;
}
body {
font-size: 1.2rem;
line-height: 2rem;
}
header[role="banner"] {
width: 100%;
height: 100px;
background: #555 url("../images/tux.png") 5px 5px no-repeat;
}
a {
text-decoration: none;
color: #00F;
}
a:visited {
text-decoration: none;
color: #00F;
}
a:hover {
text-decoration: underline;
color: #00F;
}
a:active {
text-decoration: none;
color: #00F;
}
nav[role="navigation"] ul {
float: right;
text-align: right;
margin: 0;
margin-top:60px;
margin-right: 10px;
color: #BBB;
}
nav[role="navigation"] li {
display: inline;
}
nav[role="navigation"] ul li a:link {
text-decoration: none;
color: #BBB;
}
nav[role="navigation"] ul li a:visited {
text-decoration: none;
color: #BBB;
}
nav[role="navigation"] ul li a:hover {
text-decoration: none;
color: #FFF;
}
nav[role="navigation"] ul li a:active {
text-decoration: none;
color: #FFF;
}
ul#socialbar li.facebook a {
background-position: 0px 0px;
}
ul#socialbar {
width: 160px !important;
height: 16px !important;
margin:0;
padding:0;
list-style:none;
clear:both;
position: absolute;
top: 30px;
right: 5px !important;
text-align: right;
}
ul#socialbar li {
overflow:hidden;
text-indent:-9999px;
display:inline;
float:left;
margin-right:0;
}
ul#socialbar li a {
background:url("../images/social.png") no-repeat;
width:216px;
height:16px;
display:block;
}
ul#socialbar li.facebook {
width:80px;
height:16px;
}
ul#socialbar li.facebook a {
background-position:0px 0px;
}
ul#socialbar li.facebook a:hover {
background-position:-0px -16px;
}
ul#socialbar li.twitter {
width:72px;
height:16px;
}
ul#socialbar li.twitter a {
background-position:-86px -0px;
}
ul#socialbar li.twitter a:hover {
background-position:-86px -16px;
}
section.news {
width: 80%;
}
section.news header {
text-align:center;
}
section.news article header h3 {
margin: 0;
}
section.news article header time {
font-size: 0.9rem;
}
section.news article p, section.notice p, section.description p, section.references ol li {
font-size: 1rem;
line-height: 1.5rem;
margin: 0 5px;
}
section.introduction {
width: 80%;
margin: -15px 5px 0 5px;
}
section.right {
float: right;
width: 20%;
margin-top: 5px;
margin-right: 10px;
}
section.quotes {
border: 3px solid #CCC;
border-left: 0;
border-right: 0;
margin: 0;
padding: 2px 0;
width: 100%;
text-align: right;
font-size: 1rem;
color: #333;
}
section.biography {
width: 100%;
margin-top: 10px;
padding-left: 10px;
}
section.biography header {
font-size: 1rem;
font-weight: bold;
text-align:center;
}
section.biography p {
font-size: 0.8rem;
text-align:justify;
margin-right: 10px;
line-height: 1.5rem;
}
section.material h1, section.references h1, section.description h1, section.notice h1 {
margin-left: 5px;
}
section.material ol li {
line-height: 1.3rem;
font-size: 1rem;
margin: 0;
padding: 0;
}
section.material ol ul li {
line-height: 1.2rem;
font-size: 1rem;
margin: 0;
padding: 0;
}
footer {
clear:both;
background: #555;
font-size:0.8rem;
text-align:center;
color: #DDD
}
footer a:link {
text-decoration: none;
color: #DDD;
}
footer a:visited {
text-decoration: none;
color: #DDD;
}
footer a:hover {
text-decoration: none;
color: #FFF;
}
footer a:active {
text-decoration: none;
color: #FFF;
}
#calendar {
width: 90%;
margin: 0 auto;
}
section.title {
background: #AAA;
width: 100%;
height: 35px;
display: block;
text-align: center;
font-size: 2rem;
}
section.sidebar {
float: right;
width: 20%;
}
section.about article ol li, section.presentations article ol li {
margin-left: 10px;
}
section.about article header h1, section.presentations article header h1, section.teaching article header h1 {
margin-left: 10px;
}