
|
重新檢視美寶專區百科CSS語法及設計:以暨大外文系友會為例
分類標籤: 跨瀏覽器相容性網頁設計
網頁設計
|
October 06, 2011 05:17PM 發表文章數: 1,006 |
.links {
height: 50px;
padding: 10px 10px 0 0;
}
.button {
width: 105px;
height: 28px;
float: right;
margin-right: 2px;
}
.image {width: 105px; height: 28px;}
.edit {
background:url(/group/ncnu-dfll/images/w3-2.gif);
}
.forum {
background:url(/group/ncnu-dfll/images/w2-2.gif);
}
.post {
background:url(/group/ncnu-dfll/images/post-2.gif);
}
.edit a .image {
background: url(/group/ncnu-dfll/images/w3-2.gif);
}
.forum a .image {
background: url(/group/ncnu-dfll/images/w2-2.gif);
}
.post a .image {
background: url(/group/ncnu-dfll/images/post-2.gif);
}
.button a, .button a:link, .button a:visited {
display:block;
}
.button a:hover .image{
visibility:hidden; height: 0; width: 0;
}
.edit {background-repeat:no-repeat;}
.button a:hover {visibility:visible; height: 28px; width: 105px;} /*IE6*/
a:link {
color: #00468C;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #00468C;
}
a:hover {
text-decoration: underline;
color: #366C00;
}
a:active {
text-decoration: none;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #e3e3e3;
background-image: url(http://mepopedia.com/group/village/imgs/top_bg.jpg);
background-repeat: repeat-x;
}
#top {
margin: auto;
width: 900px;
background-image: url(http://mepopedia.com/group/village/imgs/top_bg.jpg);
background-repeat: repeat-x;
height: 25px;
font-size: 12px;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #666;
padding: 3px;
}
#wikiheader{
background: url(http://mepopedia.com/group/ncnu-dfll/images/wiki_top.jpg) no-repeat right;
height: 75px;
max-width: 900px;
}
#content{
width: 900px;
margin: auto;
background-color: #FAFAFA;
float: left;
}
#content_list {
width: 900px;
margin: auto;
background-color: #FAFAFA;
}
#building {
max-width: 900px;
_width:expression((documentElement.clientWidth >928) ? "900px" : "auto");
margin: auto; border: 3px solid #FFF;
}
#footer{
margin: auto;
background-color: #016da4;
height: 50px;
line-height:20px;
font-family: Tahoma, Geneva, sans-serif;
font-size: 12px;
color: #FFF;
padding-top: 12px;
padding-right: 5px;
padding-left: 20px;
clear: both;
}
#building #footer a {
color: #6FF;
}
#content_list .page_table tr td a {
color: #F90;
}
#index {
width: 948px;
border: 3px solid #FFF;
margin-top: auto;
margin-right: auto;
margin-bottom: auto;
margin-left: auto;
background-image: url(http://mepopedia.com/group/village/imgs/index.jpg);
height: 610px;
background-repeat: no-repeat;
}
#wikitext {
margin-right: 60px;
margin-left: 60px;
font-family: Tahoma, Geneva, sans-serif;
font-size: 16px;
line-height: 21px;
padding: 20px;
border: 3px double #0CF;
background-color: #FFF;
}
.list_tatle_title {
height: 59px;
background-image: url(http://mepopedia.com/group/village/imgs/list_title.gif);
background-repeat: no-repeat;
}
.list_content {
font-family: Tahoma, Geneva, sans-serif;
font-size: 15px;
height: 13px;
padding: 5px;
font-weight: bold;
border-top-width: 1px;
border-top-style: dotted;
border-top-color: #09C;
border-right-color: #09C;
border-bottom-color: #09C;
border-left-color: #09C;
list-style-image: url(http://mepopedia.com/group/village/imgs/icon_news.gif);
list-style-position: inside;
background-color: #FFF;
}
.list_icon {
background-image: url(http://mepopedia.com/group/village/imgs/icon_news.gif);
background-repeat: no-repeat;
background-position: center;
width: 25px;
border-top-width: 1px;
border-top-style: dotted;
border-top-color: #09C;
background-color: #FFF;
}
.list_info {
font-family: Tahoma, Geneva, sans-serif;
font-size: 15px;
color: #333;
height: 13px;
border-top-width: 1px;
border-top-style: dotted;
border-top-color: #09C;
background-color: #FFF;
}
.list_title {
font-family: Tahoma, Geneva, sans-serif;
font-size: 16px;
color: #333;
height: 25px;
padding: 5px;
font-weight: bold;
background-color: #E8FBFF;
}
.list_sides {
background-color: #2298B6;
width: 15px;
}
.list_botton {
background-color: #0CF;
height: 3px;
border-bottom-width: 1px;
border-bottom-style: double;
border-bottom-color: #09F;
}
.list_table {
margin-top: 30px;
border: 3px double #0CF;
}
#top a {
color: #666;
}
#top a:hover {
color: #0CC;
text-decoration: none;
}
#lst_div {
padding-top: 5px;
padding-bottom: 5px;
}
.wikiTitleBox {
font-size: 14px;
height: 30px;
width: 880px;
margin: 0 0 0 15px;
background-repeat: repeat-x;
background-image: url(http://mepopedia.com/group/ncnu-dfll/images/wiki-1.png);
padding-top: 2px;
background-color:#EFF;
border-radius: 10px;
}
.wikiTitle {
font-size: 16px;
height: 30px;
font-family: Georgia, "Times New Roman", Times, serif;
color: #FFF;
font-weight: bold;
margin-top: 6px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
}
.ForumTitleBox {
background-image: url(http://mepopedia.com/group/ncnu-dfll/images/wiki-1.png);
background-repeat: repeat-x;
height: 30px;
width: 880px;
margin-left: 15px;
padding-top: 2px;
}
.QWTitleBox {
background-image: url(http://mepopedia.com/group/ncnu-dfll/images/wiki-2.png);
background-repeat: repeat-x;
height: 50px;
width: 880px;
color: #FFF;
font-family: Arial, Helvetica, sans-serif, "微軟正黑體";
padding-top: 10px;
font-weight: bold;
margin-left: 15px;
border-radius: 10px;
}
.QWHeading1 {
font-family: Tahoma, Geneva, sans-serif;
font-size: 18px;
color: #09C;
border-bottom-width: 1px;
border-bottom-style: dotted;
border-bottom-color: #09F;
font-weight: bold;
background-image: url(http://mepopedia.com/group/ncnu-dfll/images/w4.gif);
background-repeat: no-repeat;
background-position: left center;
padding-left: 50px;
padding-bottom: 8px;
padding-top: 2px;
}
.map{
margin-left: 20px;
}
.QWIndent{
margin-left:-20px;
}
/* 整體風格設定 */
body {
margin:0;
background: #e3e3e3 url(http://mepopedia.com/group/village/imgs/top_bg.jpg) repeat-x;
}
#building {
max-width: 900px;
_width:expression((documentElement.clientWidth >928) ? "900px" : "auto");
margin: auto; border: 3px solid #FFF;
}
/* 基本風格設定 */
a:link, a:visited {
color: #00468C;
text-decoration: none;
}
a:hover {
text-decoration: underline;
color: #366C00;
}
a:active {
text-decoration: none;
}
/* 區塊風格設定 */
#top {
margin: auto;
width: 900px;
background: url(http://mepopedia.com/group/village/imgs/top_bg.jpg) repeat-x;
height: 25px;
font-size: 12px;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #666;
padding: 3px;
}
#top a {
color: #666;
}
#top a:hover {
color: #0CC;
text-decoration: none;
}
#wikiheader{
background: url(http://mepopedia.com/group/ncnu-dfll/images/wiki_top.jpg) no-repeat left;
height: 75px;
max-width: 900px;
}
#content{
margin: auto;
background-color: #FAFAFA;
padding: 36px 0 50px;
}
#footer{
margin: auto;
background-color: #016da4;
height: 50px;
line-height:20px;
font-family: Tahoma, Geneva, sans-serif;
font-size: 12px;
color: #FFF;
padding-top: 12px;
padding-right: 5px;
padding-left: 20px;
clear: both;
}
#building #footer a {
color: #6FF;
}
#content .page_table tr td a {
color: #F90;
}
.wikiTitle {
margin: 0 15px;
background: url(http://mepopedia.com/group/ncnu-dfll/images/wiki-1.png) repeat-x;
background-color:#EFF; /*此處顏色設定建議可移除或設定為類似背景圖色之顏色*/
border-radius: 10px;
font: bold 16px/30px Georgia, "Times New Roman", Times, serif;
color: #FFF;
text-align: center;
}
#wikitext {
margin-right: 60px;
margin-left: 60px;
font-family: Tahoma, Geneva, sans-serif;
font-size: 16px;
line-height: 21px;
padding: 20px;
border: 3px double #0CF;
background-color: #FFF;
}
.list_tatle_title {
height: 59px;
background-image: url(http://mepopedia.com/group/village/imgs/list_title.gif);
background-repeat: no-repeat;
}
.list_content {
font-family: Tahoma, Geneva, sans-serif;
font-size: 15px;
height: 13px;
padding: 5px;
font-weight: bold;
border-top-width: 1px;
border-top-style: dotted;
border-top-color: #09C;
border-right-color: #09C;
border-bottom-color: #09C;
border-left-color: #09C;
list-style-image: url(http://mepopedia.com/group/village/imgs/icon_news.gif);
list-style-position: inside;
background-color: #FFF;
}
.list_icon {
background-image: url(http://mepopedia.com/group/village/imgs/icon_news.gif);
background-repeat: no-repeat;
background-position: center;
width: 25px;
border-top-width: 1px;
border-top-style: dotted;
border-top-color: #09C;
background-color: #FFF;
}
.list_info {
font-family: Tahoma, Geneva, sans-serif;
font-size: 15px;
color: #333;
height: 13px;
border-top-width: 1px;
border-top-style: dotted;
border-top-color: #09C;
background-color: #FFF;
}
.list_title {
font-family: Tahoma, Geneva, sans-serif;
font-size: 16px;
color: #333;
height: 25px;
padding: 5px;
font-weight: bold;
background-color: #E8FBFF;
}
.list_sides {
background-color: #2298B6;
width: 15px;
}
.list_botton {
background-color: #0CF;
height: 3px;
border-bottom-width: 1px;
border-bottom-style: double;
border-bottom-color: #09F;
}
.list_table {
margin-top: 30px;
border: 3px double #0CF;
}
#lst_div {
padding-top: 5px;
padding-bottom: 5px;
}
.ForumTitleBox {
background-image: url(http://mepopedia.com/group/ncnu-dfll/images/wiki-1.png);
background-repeat: repeat-x;
height: 30px;
width: 880px;
margin-left: 15px;
padding-top: 2px;
}
.QWTitleBox {
background: url(http://mepopedia.com/group/ncnu-dfll/images/wiki-2.png) repeat-x;
height: 50px;
color: #FFF;
font-family: Arial, Helvetica, sans-serif, "微軟正黑體";
padding-top: 10px;
font-weight: bold;
margin: 50px 15px 0;
border-radius: 10px;
}
.QWHeading1 {
font-family: Tahoma, Geneva, sans-serif;
font-size: 18px;
color: #09C;
border-bottom: 1px dotted #09F;
font-weight: bold;
background: url(http://mepopedia.com/group/ncnu-dfll/images/w4.gif) no-repeat left center;
padding: 2px 0 8px 50px;
}
.map{
margin-left: 20px;
}
.QWIndent{
margin-left:-20px;
}
.links {
height: 50px;
padding: 10px 10px 0 0;
}
.button {
width: 105px;
height: 28px;
float: right;
margin-right: 2px;
}
.image {width: 105px; height: 28px;}
.edit {
background:url(/group/ncnu-dfll/images/w3-2.gif);
}
.forum {
background:url(/group/ncnu-dfll/images/w2-2.gif);
}
.post {
background:url(/group/ncnu-dfll/images/post-2.gif);
}
.edit a .image {
background: url(/group/ncnu-dfll/images/w3-2.gif);
}
.forum a .image {
background: url(/group/ncnu-dfll/images/w2-2.gif);
}
.post a .image {
background: url(/group/ncnu-dfll/images/post-2.gif);
}
.button a, .button a:link, .button a:visited {
display:block;
}
.button a:hover .image{
visibility:hidden; height: 0; width: 0;
}
.edit {background-repeat:no-repeat;}
.button a:hover {visibility:visible; height: 28px; width: 105px;} /*IE6*/