「MediaWiki:Devmolite.css」修訂間的差異

出自Tainan
第52行: 第52行:
  
 
/*
 
/*
===其他語言===
+
=== Devmolite CSS 修改===
* For DevmoLite
+
* 2010.6.14 首次修改
 +
* 2010.10.4 增加 Sidebar
 +
* 2010.12.28 Modify from www.jesus.tw
 
<source lang="css"> */
 
<source lang="css"> */
 +
/* base.css */
 +
/** 1) Main **/
 +
 +
body {
 +
margin: 0;
 +
/* color: #333;
 +
line-height: 140%; */
 +
background: #0000ff url("http://www.tn.com.tw/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("http://www.tn.com.tw/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: 150px; height: 70px;
 +
background: url("http://www.tn.com.tw/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 {
 
#sidebar {
position: absolute;
+
background: none;
top: 7em;
+
margin: 0;
 +
position: relative;
 +
top: 1em;
 +
right: 1.7em;
 
text-align: right;
 
text-align: right;
 
width: 100%;
 
width: 100%;
第64行: 第289行:
 
display: inline;
 
display: inline;
 
margin: 0 2px 0 2px;
 
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> */
 
</source> */
  

於 2010年12月28日 (二) 13:49 的修訂

/*
===調整大小===
<source lang="css"> */
body {
	font-size: 1.05em;
}
#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===
<source lang="css"> */
#sidebar {
	position: absolute;
	top: 7.6em;
}
#content {
	margin: 0 0 0 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("http://www.tn.com.tw/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("http://www.tn.com.tw/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: 150px; height: 70px;
	background: url("http://www.tn.com.tw/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> */