:::
XOOPS使用討論區

請幫我看看

discuss pic 2011-03-16 15:03:01
請幫我看看以下哪裡是更改左右區塊的程式,我一直找不出來 /* * Simple Theme * * @copyright Xoops Project * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 * @package themes * @since 2.4.x * @author kris_fr for Xoops Design Theme * @maintained Xoops Design Theme * * @version $Id: style.css 266 2010-04-16 12:33:54Z kris_fr $ */ /* IMPORTANT !!! : propriety semantic order = position box, width, heigth, margin, background-color, background-image, padding, content (color, style font, ...), border, ... */ /* include style sheets */ @import url(reset.css); /* reset css for web browsers*/ /*@import url(dev.css);*/ /* dev css only for web development */ @import url(socialbookmark.css); /* style for socialbookmark bar - xo_socialbookmark.html */ @import url(tplsystem.css); /* style for templates system : siteclosed, redirection, debug mode, core messages, ... */ @import url(extras.css); /* extras style for perzonalisation templates */ /* for html 5 in next time */ article, aside, dialog, figure, footer, header, hgroup, menu, nav, section { display: block;} /* beginning of the applicable styles */ html, body { max-width: 100%; margin: 0 auto; background-color: #fff; color: #787878; line-height: 1.5em; font-family: Arial, Helvetica, sans-serif; } html {font-size:100.01%;} body {font-size:75%;} /* ======= Body box ======= */ #xo-wrapper {} #xo-bgstatic {} #xo-canvas { width: 1100px; margin: 0 auto;} #xo-canvas-content {margin-top: 1em;} #xo-canvas-columns {} #xo-page { min-width: 620px;} /* ===== header ===== */ #xo-header { width: 100%; height: 200px; margin: 0 auto; } #xo-headerlogo { float: left; height: 65px; margin: 0; padding-top: 20px; } #xo-banner {} #xo-banner.commercial {} #xo-headerbanner {float:right; padding-top: 5px;} #xo-bannerfix { width: 480px; height: 70px; background: url(../img/bg-ad-top.png) no-repeat; padding-top: 6px; padding-right: 6px; padding-left: 6px; z-index: 99; } #xo-globalnav { clear: both; width: 100%; height: 40px; background-color: #0180B3; padding: 0; color: inherit; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -moz-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -webkit-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; } #xo-globalnav ul { margin: 0; padding: 8px 0 4px 15px; list-style: none; line-height: normal; } #xo-globalnav li { float: left;} #xo-globalnav a { display: block; margin-right: 1px; padding: 4px 30px 0 20px; color: #fff; text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-size: 1.1em; font-weight: bold; border: none; } #xo-globalnav a:hover { text-decoration: underline;} /* ====== hypertext links ===== */ a { text-decoration: none; color: #474036;} a:visited, a:focus, a:hover, a:active {} /* ===== titles ===== */ h1, h2, h3, h4, h5, h6 { margin: 1em 0 .5em 0; line-height: 1.2em; padding: 0; color: #E06813; font-family: Georgia, "Times New Roman", Times, serif; font-weight: normal; } h1 { font-size: 2em;} h2 { font-size: 1.6em;} h3 { font-size: 1.4em;} h4 { font-size: 1.1em;} h5 {font-size: 1em;} h6 {font-size: .9em;} /* ===== images ===== */ img { border: 0 !important;} p img { margin: .5em;} a img:hover, a img:focus { opacity: .5; filter: alpha(opacity=50);} a img { border: none;} .imgsmile { margin-bottom:-2px !important; padding:0 !important; border:0 !important;} /* ===== other attributes of contents ===== */ p { margin-top: .5em; margin-bottom: .5em; text-align: justify;} hr { height :1px; border-left:0 solid #787878; border-right:0 solid #787878; border-top:0 dotted #787878; border-bottom:1px solid #787878; } strong, b, dfn { font-weight: bold;} u {text-decoration: underline;} i, em { font-style: italic;} del { text-decoration: line-through;} address { font-style: normal; letter-spacing: .1em;} small {font-size: .8em;} q, cite { font-style: italic;} bdo { direction: ltr;} acronym, abbr, abbr[title], dfn { border-bottom: #787878 1px dashed; cursor: help;} abbr[title] { border-bottom: 1px dotted; cursor: help;} acronym:hover, abbr:hover { border-bottom: #787878 1px dashed;} ::selection {background-color: #474036; color: #fff;} ::-moz-selection {background-color: #474036; color: #fff;} /* ===== lists ===== */ #xo-canvas-content ul, #xo-canvas-content ol { margin: .5em 0 .5em 1em; padding: 0;} #xo-canvas-content ul {list-style-type: circle;} #xo-canvas-content ol {list-style-type: decimal;} #xo-canvas-content li { margin: .3em 0;} #xo-canvas-content ul ul li, #xo-canvas-content ol ol li { padding: 0; font-style: italic;} #xo-canvas-content ul ul li,#xo-canvas-content ol ol li { padding-top: 0; padding-bottom: 0; padding-left: 1em;} #xo-canvas-content ul, #xo-canvas-content ol {} #xo-canvas-content ul ul li, #xo-canvas-content ol ol li {} #xo-canvas-content dd {} #xo-canvas-content dl {} #xo-canvas-content dt {} dl { margin: .75em 0;} dt { margin: .75em 0 0 0; font-weight: bold;} dd { margin: .25em 0 .25em 2em; } /* ===== forms ===== */ form {} fieldset {margin: 0 .5em 1em .5em; padding: .5em;} legend {padding-left:.5em; font-size:1.2em; font-weight: bold; } input, button, select {vertical-align: middle;} input {} label, .caption-text {font-weight: bold; text-shadow: 1px 1px 2px #ccc;} select {margin : 5px; background-color: #fff !important; padding: 6px; border: 2px inset #ccc !important; font-size:.9em; font-weight: normal;} select[name=timezone_offset] {} select:focus {} textarea {} textarea:focus {} #xo-page fieldset a {} #xo-page fieldset a:hover {} #xo-page legend { font-weight: bold;} #xo-page label {font-weight: bold;} input, textarea { margin: 5px; padding: 5px; border: #ccc solid 1px; outline: 0; font-size: 1.1em; } textarea { width: 90%; max-width: 400px; height: 200px; line-height: 150%; overflow: auto; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; } input:hover, textarea:hover, input:focus, textarea:focus { border: 1px solid #787878;} button, input[type=submit], input[type=button], input[type=reset], .xo-formbuttons, .formButton { width: auto; background-color: #787878 !important; padding: 6px 10px; color: #fff; box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -moz-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -webkit-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; } button:focus, input[type=submit]:focus, input[type=button]:focus, input[type=reset]:focus, .xo-formbuttons:focus, .formButton:focus {} button:hover, input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover, .xo-formbuttons:hover, .formButton:hover {background-color: #000 !important;} input[type=text], input[type=password], input[type=checkbox], input[type=file], textarea {} input[type=text], input[type=password], input[type=file] { width: auto; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; } input[type=text]:hover, input[type=password]:hover, input[type=file]:hover, input[type=checkbox]:hover, textarea:hover {} input[type=text]:focus, input[type=password]:focus, input[type=file]:focus, input[type=checkbox]:focus, textarea:focus {} input[type=checkbox], input[type=radio] { margin: 3px; padding:2px; background-color: transparent;} #xo-page .xoops-form-element-caption-required, #xo-page .xoops-form-element-caption {} .xo-formfield.required label:after, .caption-marker { content: '*'; color: #e06813; background-color: transparent;} .xoops-form-element-caption .caption-marker { display:none;} .xoops-form-element-caption-required .caption-marker {} .xoops-form-element-help {} /* ===== block main menu ===== */ #mainmenu {} #mainmenu a { display: block; background-color: transparent; line-height: 2.5em; color: #787878; font-weight: bold; font-size: 1.1em; border-top: 1px dashed #94B301; padding-left: 1em; } #mainmenu a:hover { background-color: #787878; color: #fff; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -moz-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -webkit-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; } #mainmenu a:active, #mainmenu a.current { background-color: #ccc; color : #fff; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -moz-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -webkit-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; } #mainmenu a:visited {} #mainmenu a.menuTop {border-top: none;} #mainmenu a.menuMain {} #mainmenu a.menuSub{ padding-left: 1.5em; font-size: 1em; font-style: italic; font-weight: normal; line-height: 1.8em; border-top: none; } #mainmenu a.menuSub:hover { background-color: transparent; color: #000; text-decoration: underline; border-radius: none; -moz-border-radius: none; -webkit-border-radius: none; box-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; } #mainmenu a.maincurrent {} /* ===== block user menu ===== */ #usermenu {} #usermenu a {display: block; padding-left: 1.5em; line-height: 1.8em;} #usermenu a:hover { text-decoration: underline;} #usermenu a:active, #usermenu a.current { color: #000; background-color: transparent;} #usermenu a:visited {} #usermenu a.menuTop {} #usermenu a.highlight {} /* ===== left column ===== */ #xo-canvas-leftcolumn {padding: 0 0 0 0;} #xo-canvas-leftcolumn .xo-block {margin-bottom: 1em;} #xo-canvas-leftcolumn .xo-blocktitle { background-color: #94B301; padding: 8px 0 8px 20px; color: #fff; letter-spacing: -.5px; font-size: 1.2em; font-weight: bold; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -moz-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -webkit-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; } #xo-canvas-leftcolumn .xo-blockcontent {padding: .5em;} /* ===== right column ===== */ #xo-canvas-rightcolumn {padding: 0 0 0 0;} #xo-canvas-rightcolumn .xo-block {margin-bottom: 1em;} #xo-canvas-rightcolumn .xo-blocktitle { background-color: #94B301; padding: 8px 0 8px 20px; color: #fff; letter-spacing: -.5px; font-size: 1.2em; font-weight: bold; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -moz-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -webkit-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; } #xo-canvas-rightcolumn .xo-blockcontent {padding: .5em;} /* ===== center content and block in center column ====== */ #xo-page a:hover {text-decoration: underline;} /* ----- center blocks ----- */ #xo-page .xo-blockszone > .xo-block {margin-bottom: 1em;} #xo-page .xo-blockszone .xo-blocktitle { background-color: #E06813; padding: 8px 0 8px 20px; color: #fff; letter-spacing: -.5px; font-size: 1.2em; font-weight: bold; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -moz-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -webkit-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; } #xo-page .xo-blockszone .xo-blockcontent {padding: .5em; text-align: justify;} #xo-topcenterblocks, #xo-bottomcenterblocks {} #xo-page-topcenterblocks .xo-blocktitle, #xo-page-bottomcenterblocks .xo-blocktitle {} #xo-page-topcenterblocks .xo-blockcontent, #xo-page-bottomcenterblocks .xo-blockcontent {} #xo-page-topleftblocks .xo-blocktitle, #xo-page-bottomleftblocks .xo-blocktitle, #xo-page-toprightblocks .xo-blocktitle, #xo-page-bottomrightblocks .xo-blocktitle {} #xo-page-topleftblocks .xo-blockcontent, #xo-page-toprightblocks .xo-blockcontent, #xo-page-bottomleftblocks .xo-blockcontent, #xo-page-bottomrightblocks .xo-blockcontent {} /* ----- content module page ----- */ #xo-content {margin-top: 0; text-align: justify;} /* ===== footer ===== */ #xo-footer { float: left; width: 1000px; background-color: #474036; padding: 0 0 15px 0; color: #94B301; margin: 0 auto; margin-bottom: 1em; font-family: Arial, Helvetica, sans-serif; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; } #xo-footer.xo-footbottom {margin-bottom: 3em;} #xo-footer p { margin: 0; padding-top: 20px; line-height: normal; font-size: .8em; text-transform: uppercase; text-align: center; } #xo-footer a { background-color: transparent; color: #fff;} /* rss button in footer */ #xo-rss { clear: both; position: absolute; margin: 8px 0 0 910px; } /* ===== tables and cells ===== */ table {width:100%; margin: .5em 0 1em 0; border-collapse: collapse;} caption {} th, th.head, thead { background-color: #474036; padding: 4px; color: #fff; text-align: center; vertical-align : middle; letter-spacing: -.5px; font-weight: bold; box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -moz-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -webkit-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; } th.head a {} th.head a:hover {} .foot, tfoot { text-align: center;} tbody {} table.outer { margin: .5em; padding: 3px; border-collapse: separate; } table td {padding: 3px;} .outer {} .head { font-weight: bold; vertical-align: top;} .even {} .odd {} tr.even td {} tr.odd td {} /* ===== codes and quotes ===== */ .xoopsCode { display: block; max-height: 350px; overflow: auto; margin-left: .5em; background-color: #eee; padding: 6px; color: inherit; font-size: .9em; color: inherit; font-family: "Courier New",Courier,monospace; border: 1px solid #787878; } .xoopsQuote { margin-left: .5em; background: #fff url(../img/quote.png) no-repeat top left; padding: .5em; color: inherit; font-family: Georgia; font-size: .9em; font-style: italic; border: #787878 1px dotted; } blockquote {font-style: italic; font-family: Georgia;} /* ===== articles (content-type in example) ===== */ .item {} .itemHead {} .itemInfo { padding: 1em 0 .5em 0; text-align: left; font-family: Arial, Helvetica, sans-serif; font-size: .9em; font-style: italic; } .itemInfo a { background-color: transparent; color: #94B301;} .itemInfo a:hover {text-decoration: underline;} .itemTitle { background-color: #E06813; padding: 8px 20px 8px 20px; color: #fff; letter-spacing: -.5px; line-height: 2.3em; font-size: 1.2em; font-weight: bold; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -moz-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -webkit-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; } .itemTitle a {background-color: transparent; color: #fff;} .itemTitle a:hover {} .itemPoster {} .itemPostDate {} .itemStats {} .itemBody {} .itemText {} .itemText:first-letter {} .itemFoot { padding: 1em 0 .5em 0; text-align: right; font-family: Arial, Helvetica, sans-serif; font-style: italic; } .itemFoot a { background-color: transparent; color: #94B301;} .itemFoot a:hover {} .itemAdminLink {} .itemPermaLink {} /* ===== forums (content-type in example) ===== */ .comTitle { font-weight: bold;} .comTitle a { background-color: transparent; color: #fff;} .comTitle a:hover {text-decoration: underline;} .comText { margin: .5em;} .comUserStat { margin: 3px; padding: 2px; font-size: .85em; border: #ccc 1px solid; text-align: left; line-height:1.2em;} .comUserStatCaption {} .comUserStatus {} .comUserRank {} .comUserRankText {} .comUserRankImg {} .comUserName {} .comUserImg { margin: .5em; background-color : #fff; padding: .5em; border: 1px solid #ccc; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; box-shadow: 1px 2px 3px rgba(0,0,0,0.5); -moz-box-shadow: 1px 2px 3px rgba(0,0,0,0.5); -webkit-box-shadow: 1px 2px 3px rgba(0,0,0,0.5); } .comDate { font-size: .9em; font-style: italic; font-weight: normal;} .comDateCaption {} .signature {padding: .5em; font-size: .9em; font-style: italic;} /* ===== pages navigation ===== */ #xo-pagenav { margin: 7px 0; text-align: center; font-size: 1.05em; } #xo-pagenav a { text-decoration: none;} #xo-pagenav a:hover { color: #fff; background-color: #787878; border: 1px solid #aaa; box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -moz-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -webkit-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; } .xo-pagact { margin: 0; padding: .2em .5em; color: #fff; background-color: #787878; border: 1px solid #aaa; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -moz-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; -webkit-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; } .xo-counterpage, .xo-pagarrow { margin: 0; padding: .2em .5em; color: #000; background-color: #fff; border: 1px solid #aaa; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; } .xo-counterpage:hover {} .xo-pagarrow {letter-spacing: 0.2em;} /*========== xo_footerstatic.html ==========*/ #xo-footerstatic * { margin: 0; padding: 0;} #xo-footerstatic { position: absolute; left: 0; bottom: 0; width: 100%; height: 30px; background: none; color: #474036; font-size: .9em; } body>#xo-footerstatic { position: fixed;} #xo-footerstatic #controls { margin: 0 20px 0 20px; background-color: #fff; color: inherit; line-height: 39px; font-weight: bolder; text-shadow: 1px 1px 2px #ccc; border: 1px solid #ccc; border-bottom: none; } #xo-footerstatic #controls { margin-top: 1px; background-color: #fff; padding: 3px 10px 0 10px;} #xo-footerstatic .separator { margin-left: 3px; border-left: 1px solid #ccc;} #xo-footerstatic #controls ul, li { margin: 0; padding: 0;} #xo-footerstatic #controls ul { list-style: none;} #xo-footerstatic #controls li { display: inline-block; height: 29px; line-height: 27px; padding-right: 6px;} #xo-footerstatic .icon { vertical-align: text-bottom;} #xo-footerstatic .icon-chat { padding-top: 3px;} #xo-footerstatic .chat, .icon-chat { float: right;} #xo-footerstatic .text { vertical-align: top;} /*============== css fix for modules =================*/ .register-steps {text-align: left; font-size: .9em !important;} /* profile */ #tabs ul li {list-style: none;} /* publisher */ div.dropdown select.menu, div.dropdown select.userbar { background-color: #fff !important; border: 2px inset #ccc !important; font-size:.9em; font-weight: normal;} /* newbb - cbb */ #xo-pagenav u { text-decoration: none;} /* news */
discuss pic 2011-03-16 15:15:07
tad
這樣是看不出來的...(也沒那個閒工夫一行一行慢慢猜吧)
直接給網址還比較快一點。
discuss pic 2011-03-16 15:57:57
這裡看的出來嗎?

/* ===== left column ===== */
#xo-canvas-leftcolumn {padding: 0 0 0 0;}
#xo-canvas-leftcolumn .xo-block {margin-bottom: 1em;}
#xo-canvas-leftcolumn .xo-blocktitle {
background-color: #94B301;
padding: 8px 0 8px 20px;
color: #fff;
letter-spacing: -.5px;
font-size: 1.2em;
font-weight: bold;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset;
-moz-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset;
-webkit-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset;
discuss pic 2011-03-16 15:59:02
tad
問題是...到底要看什麼阿?
discuss pic 2011-03-17 07:08:30
不好意思,我想問的是,我想修改左右區塊的寬度大小,卻找不到應該修改哪裡
discuss pic 2011-03-17 07:30:06
tad
一個網頁元素不是只受一個css檔影響而已,
是多個CSS交互影響下的結果
之所以需要網址,是因為要先觀察HTML結構,
然後對應到相對之CSS檔之樣式設定
所以,沒網址,沒答案。
:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.cp22.secserverpros.com%2Fmodules%2Ftad_discuss%2Fdiscuss.php%3FBoardID%3D17%26DiscussID%3D1776%26g2p%3D1

線上使用者

57人線上 (35人在瀏覽討論留言)

會員: 0

訪客: 57

更多…