Toggle main menu visibility
新聞
下載
教材
影音
討論
其他選單
好站連結
行事曆
電子相簿
常見問題
萬用表單
即時留言簿
友站消息
社大學員
:::
登入
登入
帳號
密碼
登入
重整畫面
:::
所有書籍
「[1061] XOOPS佈景設計」目錄
MarkDown
3-1 index.html
1. HTML5的開發環境與基礎
1-1 index.html
2. 用CSS3美化版面
2-1 index.html
2-2 style.css
3. 自適應CSS排版
3-1 index.html
3-2 style.css
3-3 index.html 動態標題背景
3-4 style.css 動態標題背景
4. BootStrap響應式框架
4-1 bootstrap/index.html
5. 同上週~
6. XOOPS可調式佈景開發(上)
6-1 tad2017/theme.tpl
6-2 tad2017/css/style.css
7. XOOPS可調式佈景開發(下)
7-1 tad2017/config.php
7-2 tad2017/theme.tpl
7-3 tad2017/css/style.css
7-4 tad2017/config2.php
8. 現有網頁改製為XOOPS佈景
8-1 themes/eElectronics/theme.html
8-2 themes/eElectronics/config.php
8-3 themes/eElectronics/css/style.css
8-4 themes/photography/theme.html
8-5 themes/photography/config.php
8-6 themes/photography/xotpl/logo.tpl
8-7 themes/photography/css/style.css
9. XOOPS佈景運作原理
9-1 themes/eElectronics/theme.html
9-2 themes/eElectronics/css/style.css
9-3 themes/eElectronics/config2.php
9-4 themes/eElectronics/xotpl/slider.tpl
9-5 themes/eElectronics/xotpl/system.tpl
9-6 themes/photography/xotpl/footer.tpl
9-7 themes/eElectronics/modules/system/system_siteclosed.tpl
3-3 index.html 動態標題背景
\[1061\] XOOPS佈景設計 ================== ``` * { padding: 0px; margin: 0px; } body { /*background: #5ca4a9;*/ /*background: #5ca4a9 url('bg.jpg') center bottom /cover no-repeat fixed;*/ font-family: '微軟正黑體'; /* background: url('bg.png') right top /10% no-repeat fixed , url('bg.png') right bottom /10% no-repeat fixed #123456; */ } header#Home { background: rgba(230, 235, 224, 0.5); border-top-left-radius: 10px; border-top-right-radius: 10px; } hgroup { text-align: center; } h1 { font-weight: bold; font-size: 5em; color: rgb(255, 255, 255); text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); padding: 20px 0px 10px; } h2 { font-weight: normal; margin: 10px auto 20px; } h3 { border: 1px solid #ed6a5a; border-left: 8px solid #ed6a5a; background: #fff; padding: 4px 10px; display: inline-block; margin: 30px auto 10px; } h4 { margin: 20px auto 10px; } nav>ul { list-style: none; background: rgba(237, 106, 90, 0.8); overflow: hidden; } nav>ul>li { float: left; } nav>ul>li>a { display: block; padding: 14px 16px; text-decoration: none; color: white; } nav>ul>li>a:hover { background: rgb(147, 78, 72); text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); } p { line-height: 2; text-align: justify; } footer { padding: 60px 0px; text-align: center; color: white; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); background: rgba(92, 164, 169, 0.8); border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; } /* .row { background: rgba(230, 235, 224, 0.8); overflow: hidden; } article{ float: left; width: 78%; } aside{ float: right; width: 20%; background: rgb(147, 78, 72); }*/ .top { width: 60px; height: 60px; line-height: 60px; display: inline-block; text-align: center; border-radius: 60px; background: #4b81dd; color: white; text-decoration: none; padding: 2px 6px; font-size: 0.8em; box-shadow: 0px 5px 0px 0px #156785; } .top:active { position: relative; top: 3px; box-shadow: 0px 2px 0px 0px #156785; } .top::before { content: "▲ "; } #float_tool { position: fixed; right: 10px; bottom: 10px; } /*表單*/ form#contact_form { display: table; width: 100%; } div.form-group { display: table-row; } div.form-group>label { width: 20%; display: table-cell; vertical-align: top; padding: 6px 10px; text-align-last: justify; } div.form-group>div { width: 80%; display: table-cell; padding: 6px 0px; } div.form-group>div>input[type=text], div.form-group>div>select, div.form-group>div>textarea { width: 100%; border-radius: 0px; font-size: 1em; padding: 2px 4px; background: white; color: #274a6d; border: 1px solid #FCFCFC; box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.3); } div.form-group>div>textarea { height: 100px; } figure { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); text-align: center; padding: 20px; background: rgba(255, 255, 255, 0.2); } figure:hover { transition: 0.3s; box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); background: rgba(255, 255, 255, 0.5); } div.form-group>div>input[type=text]:hover, div.form-group>div>select:hover, div.form-group>div>textarea:hover { transition: 0.3s; background: white; color: #274a6d; border: 1px solid #FCFCFC; box-shadow: 0px 0px 8px 2px rgba(107, 173, 239, 0.3); } div.form-group>div>input[type=text]::placeholder, div.form-group>div>select::placeholder, div.form-group>div>textarea::placeholder { color: #f22178; font-size: 0.8em; opacity: 0.7; font-family: '微軟正黑體'; } .video { position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; z-index: -1; } @media (min-aspect-ratio: 16/9) { .video { height: 400%; top: -150%; } } @media (max-aspect-ratio: 16/9) { .video { width: 400%; left: -150%; } } img { max-width: 100%; } .container { width: 90%; margin: 40px auto; box-sizing: border-box; padding: 0px 40px; } .row { background: rgba(230, 235, 224, 0.8); display: table; } article { display: table-cell; width: 78%; vertical-align: top; padding: 40px; } aside { display: table-cell; width: 20%; background: rgba(244, 241, 187, 0.5); vertical-align: top; padding: 20px; } @media screen and (max-device-width: 768px) { .container { width: 100%; margin: 0px auto; padding: 0px 0px; } .row { background: rgba(230, 235, 224, 0.8); display: block; } article { display: block; box-sizing: border-box; width: 100%; padding: 40px; } aside { display: block; box-sizing: border-box; width: 100%; padding: 40px; } } ```
:::
搜尋
search
進階搜尋
QR Code 區塊
快速登入
所有討論區
「PHP全端開發」線上課程討論區
XOOPS使用討論區
一般研習學員
社大學員專用
路過哈啦區
XOOPS佈景設計
XOOPS模組開發
Tad書籍區
即時留言簿
書籍目錄
展開
|
闔起
線上使用者
114
人線上 (
64
人在瀏覽
線上書籍
)
會員: 0
訪客: 114
更多…