「MediaWiki:Devmolite.css」修訂間的差異
出自Tainan
第2行: | 第2行: | ||
===調整大小=== | ===調整大小=== | ||
<source lang="css"> */ | <source lang="css"> */ | ||
− | |||
− | |||
− | |||
#page { | #page { | ||
padding: 2.05em 0 0 0; | padding: 2.05em 0 0 0; | ||
第38行: | 第35行: | ||
/* | /* | ||
===sidebar=== | ===sidebar=== | ||
+ | * For DevmoLite | ||
<source lang="css"> */ | <source lang="css"> */ | ||
#sidebar { | #sidebar { | ||
position: absolute; | position: absolute; | ||
− | top: | + | top: auto; |
+ | margin-top: -1.5em; | ||
+ | line-height: 1.2em; | ||
+ | text-align: right; | ||
+ | width: 100%; | ||
+ | } | ||
+ | #sidebarslidebox { | ||
+ | margin-top: 0.3em; | ||
+ | } | ||
+ | #sidebar ul li{ | ||
+ | display: inline; | ||
+ | margin: 0 2px 0 2px; | ||
} | } | ||
#content { | #content { | ||
− | margin: | + | margin: 0; |
} | } | ||
#footer { | #footer { | ||
第64行: | 第73行: | ||
/* color: #333; | /* color: #333; | ||
line-height: 140%; */ | line-height: 140%; */ | ||
− | background: #0000ff url(" | + | background: #0000ff url("../images/body_back2.gif") repeat-x; |
/* font-size: 0.9em; */ | /* font-size: 0.9em; */ | ||
} | } | ||
第95行: | 第104行: | ||
width: 110px; | width: 110px; | ||
height: 25px; */ | height: 25px; */ | ||
− | background: url(" | + | background: url("../images/mozilla-org2.gif") no-repeat; |
/* text-decoration: none; | /* text-decoration: none; | ||
text-indent: -5000em; */ | text-indent: -5000em; */ | ||
第117行: | 第126行: | ||
#header h1 a,#header h1 a:hover { | #header h1 a,#header h1 a:hover { | ||
/* display: block; */ | /* display: block; */ | ||
− | width: | + | width: 240px; height: 80px; |
− | background: url(" | + | background: url("../images/title2.gif") no-repeat; |
/* font-size: 1px; | /* font-size: 1px; | ||
text-indent: -7000em; | text-indent: -7000em; |
於 2011年3月21日 (一) 10:31 的修訂
/*
===調整大小===
<source lang="css"> */
#page {
padding: 2.05em 0 0 0;
}
.article {
padding: 1.2em 0 1.2em;
}
#navigation {
height: 2.4em;
}
#navigation div#bar {
height: 2.4em;
}
#navigation div#bar div {
height: 2.4em;
}
pre {
padding: 1em;
line-height: 1em;
} /*
</source> */
/*
===連結底線===
<source lang="css"> */
#content a {
text-decoration: none;
} /*
</source> */
/*
===sidebar===
* For DevmoLite
<source lang="css"> */
#sidebar {
position: absolute;
top: auto;
margin-top: -1.5em;
line-height: 1.2em;
text-align: right;
width: 100%;
}
#sidebarslidebox {
margin-top: 0.3em;
}
#sidebar ul li{
display: inline;
margin: 0 2px 0 2px;
}
#content {
margin: 0;
}
#footer {
margin: 10px 0 0 auto;
} /*
</source> */
/*
=== Devmolite CSS 修改===
* 2010.6.14 首次修改
* 2010.10.4 增加 Sidebar
* 2010.12.28 Modify from www.jesus.tw
<source lang="css"> */
/* base.css */
/** 1) Main **/
body {
margin: 0;
/* color: #333;
line-height: 140%; */
background: #0000ff url("../images/body_back2.gif") repeat-x;
/* font-size: 0.9em; */
}
#container {
background: #f7f7f7;
/* margin: 0 auto; */
min-width: 700px;
width: 790px;
}
#page {
padding: 0;
}
#content {
margin: 0 12px 0 12px;
background: none;
}
/** 3) Mozilla **/
#mozilla-org {
/* position: relative; */
height: 15px;
}
#mozilla-org a {
/* position: absolute; */
right: 32px;
/* top: 0;
display: block;
width: 110px;
height: 25px; */
background: url("../images/mozilla-org2.gif") no-repeat;
/* text-decoration: none;
text-indent: -5000em; */
}
/** 4) Header **/
#header {
/* clear: both;
position: relative;
margin: 10px 0 0 0;
height: 38px; */
}
#header h1 {
/* position: absolute;
top: 0; */
left: 2em;
/* margin: 0; */
}
#header h1 a,#header h1 a:hover {
/* display: block; */
width: 240px; height: 80px;
background: url("../images/title2.gif") no-repeat;
/* font-size: 1px;
text-indent: -7000em;
text-decoration: none; */
}
#header form {
/* position: absolute; */
top: 2.5em;
right: 32px;
/* font-family: tahoma, arial, sans-serif;
font-size: 85%; */
}
#header form label {
/* font-weight: bold; */
}
#header form .searchButton, #submit {
font-size: 90%;
/* padding: 1px;
font-family: tahoma, arial, sans-serif; */
}
#header form #searchInput, #s {
width: 100px;
font-size: 90%;
/* font-weight: normal;
border: 1px solid #9097A2;
padding: 2px;
font-family: tahoma, arial, sans-serif; */
background: fff; /* background color of the text field */
}
/** Footer **/
#footer {
/* clear: both; */
background: none;
margin: 0.5em 0.5em 0 0.5em;
padding-bottom: 0.5em;
border-top: 2px solid red;
/* width: auto;
text-align: center;
font-size: 0.8em; */
}
/** 5) Navigation **/
#navigation {
margin: 4.5em 0.5em 0 0.5em;
/* padding: 0; */
/* background: #1e4176 url(images/navigation-background.gif) repeat-x bottom right; */
height: 100%;
border-bottom: 2px solid red;
position: relative;
}
#navigation div#bar {
/* padding: 0;
margin: 0; */
background: none;
height: 100%;
/* white-space: nowrap; */
}
#navigation div#bar div {
/* position: relative;
padding: 0;
margin: 0; */
background: none;
height: 100%;
}
#navigation #contenttypes {
/* position: absolute;
bottom: 0; */
left: auto;
right: 4px;
/* margin: 0;
padding: 0 0.7em 0 0.7em;
list-style-type: none; */
background: none;
}
#navigation #contenttypes li {
margin: 0;
padding: 0;
/* float: left; */
background-image: none;
background-position: auto;
/* background-repeat: no-repeat; */
height: 100%;
line-height: 1.8em;
color: #555;
text-decoration: none;
}
#navigation #contenttypes li:hover ,
#navigation #contenttypes li.selected {
background-image: none;
text-decoration: none;
background: pink;
}
#navigation #contenttypes li a {
/* display: block;
float: left;
font-family: verdana, arial, sans-serif;
text-decoration: none; */
font-size: 110%;
/* font-weight: bold;
color: #fff; */
height: 100%;
line-height: 1.8em;
background-image: none;
background-position: auto;
/* background-repeat: no-repeat;
padding: 0px 6px;
_width: 1%; */
color: #555;
text-decoration: none;
}
#navigation #contenttypes li a:hover ,
#navigation #contenttypes li.selected a {
/* color: #003366; */
background-image: none;
}
#navigation #personal {
/* position: absolute; */
top: 0;
bottom: auto;
right: 12px;
/* margin: 0;
padding: 0 0.4em 0 0;
height: 1.8em;
list-style-type: none; */
background: none;
}
#navigation #personal li {
/* margin: 0 4px;
padding: 0;
float: left; */
line-height: 1.4em;
}
#navigation #personal a {
/* font-family: tahoma, arial, sans-serif;
font-size: 80%; */
font-weight: normal;
/* color: #fff;
display: block;
text-decoration: none;
margin: 0;
_width: 1%; */
color: #555;
text-decoration: none;
line-height: 1.4em;
}
#navigation #personal a:hover {
/* text-decoration: underline; */
}
/** 6) Sidebar **/
#sidebar {
background: none;
margin: 0;
position: relative;
top: 1em;
right: 1.7em;
text-align: right;
width: 100%;
}
#sidebar ul li{
display: inline;
margin: 0 2px 0 2px;
}
/* wiki.css */
/** 1) Article **/
.article {
background: none;
/* margin: 0; */
padding: 0.5em;
/* font-size: 0.95em; */
}
.article h1.firstHeading {
color: red;
font-weight: bold;
border-bottom: 4px solid #eee;
/* font-size: 1.7em; */
}
@media print {
.article h1.firstHeading {
border-bottom: none;
}
}
/*
</source> */
/*
===不顯示 Login===
<source lang="css"> */
#pt-login,
#pt-anontalk,
#pt-anonlogin {
display: none;
} /*
</source> */