Blog 板


LINE

這幾天為了紀錄生活開始經營部落格,選定了某瀑布流樣板來套用,很喜歡這種圖片整合的方式,不夠他的閱覽順序是上至下再左到右: 1 4 2 5 3 6 我希望可以改成先左至右,再上至下 1 2 3 4 5 6 研究了好幾天語法都失敗,能幫幫我嗎?目前語法:/* ---------------------------------------------------------------瀑布流-------------------------------- #calendar .cal-forward a, #calendar .cal-backward a { color: #1db954; } #calendar table { width: 100%; height: 180px; } #calendar th, #calendar td { text-align: center; padding: 1px; } #calendar td a { -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; border-radius: 5px; background: #1db954; color: #ffffff; display: block; } /* ---------------------------------------------------------------footer---------------------------------------------------------------*/ #footer #bottom:before { display: block; margin: 39px auto; color: #1db954; content: "Copyright c CSS designed by BlueHorace"; } font-size: 13 /* --------------------------------------------------------------- 首頁瀑布流---------------------------------------------------------------*/ #blog-main .article-body { color: #666; font-size: 14px; letter-spacing: 2px; } #blog-main .article-content-inner p:first-child img { max-width: 400px; margin-top: -94px; height: auto; } @-moz-document url-prefix() { @-moz-document url-prefix() { #blog-main .article-content-inner p:first-child img { margin-top: -95px; } } #blog-main .article-content-inner img { max-width: 400px; margin-left: -20px; height: auto; } #blog-main .article { background: #fff; width: 400px; display: inline-block; box-sizing: border-box; margin: 0px 0px 30px 0; line-height: 1.5em; letter-spacing: 1pt; -moz-box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 4px; -webkit-box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 4px; box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 4px; } #blog-main .article-content p { padding: 0 20px; } #article-main #trackback-url { text-align: center; text-align: center; margin: 22px 0 10px 0; } #article-main #trackback-input { width: 580px; margin: 0 5px 0 0; } #article-main .article-body { font-size: 15px; color: #333; } #article-main .recommended-posts3 { margin: 20px 20px !important; } #article-main .recommended-posts3 a { color: #1db954; border-left: none !important; } #article-main .recommended-posts3 h5 { font-size: 15px !important; font-weight: 900 !important; color: #333 !important; opacity: 1 !important; } #article-main .author { margin: 0px 20px 20px 0px; text-align: right; } #article-main #comment-area { width: 100% !important; width: 100% !important; background: none !important; border: none !important; } #article-main #comment-area-2 { width: 100% !important; background: none !important; border: none !important; } #article-main .comment-identity.identity-logout { background: none !important; } #article-main .comment-body { border: none !important; } #article-main .comment-identity.identity-logout { border: none !important; } #article-main .comment-identity.identity-login { background: none !important; border: none !important; } #article-main #container #main #content #user-post #comment-box .comment-body p { margin: 0 0 8px 0; line-height: 18px; border-bottom: 1px dashed #ccc !important; border-top: 1px dashed #ccc !important; padding: 10px 0 10px 0 !important; text-align: center; } text-align: center; } #article-main #container #main #content #user-post #comment-box input.comment-name { background: #fff !important; width: 93% !important; line-height: 28px !important; height: auto; padding: 0px 10px !important; } #article-main .comment-textarea { width: 100% !important; } @media screen and (min-width: 2140px) { #blog-main #container3 { width: 2120px; } #blog-main #content { -moz-column-count: 5; -webkit-column-count: 5; column-count: 5; -moz-column-gap: 30px; -webkit-column-gap: 30px; column-gap: 30px; } } @media screen and (min-width: 1720px) and (max-width: 2139px) { #blog-main #container3 { width: 1700px; } width: 1700px; } #blog-main #content { -moz-column-count: 4; -webkit-column-count: 4; column-count: 4; -moz-column-gap: 30px; -webkit-column-gap: 30px; column-gap: 30px; } } @media screen and (min-width: 1300px) and (max-width: 1700px) { #blog-main #container3 { width: 1280px; } #blog-main #content { -moz-column-count: 3; -webkit-column-count: 3; column-count: 3; -moz-column-gap: 30px; -webkit-column-gap: 30px; column-gap: 30px; } } @media screen and (min-width: 860px) and (max-width: 1299px) { #blog-main #container3 { width: 840px; } #blog-main #content { -moz-column-count: 2; -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; -moz-column-gap: 30px; -webkit-column-gap: 30px; column-gap: 30px; } } @media screen and (max-width: 859px) { #blog-main .article { overflow: hidden; } #article-main .article { overflow: hidden; } #navigation { width: 272px; } #navigation li { margin: 0px 5px 0px 0px; } #topbar { display: none; } .topbar-placeholder { .topbar-placeholder { display: none; } #footer #bottom:before { margin: 15px auto; } #blog-category { top: 210px; } #blog-main #container3 { width: 100%; } #blog-main .article { width: 100%; max-width: 400px; margin: 0 auto 30px auto; display: block; } #blog-main #links { display: none; } #blog-main .more { width: 100%; } #article-main #comment-box .single-post { width: 77%; } width: 77%; } #article-main .comment-identity { display: none !important; } #article-main #comment-area-2 > iframe { display: none; } #article-main #trackback-input { width: 85%; } #article-main .comment-textarea > textarea { width: 94% !important; } #article-main #links { display: none; } #article-main #d_clip_button { margin-top: 15px; } #article-main .article-content-inner img { max-width: 100% !important; height: auto !important; } } @media screen and (max-width: 1300px) { #article-main #container3 { width: 100%; } #article-main #content { padding: 10px; } } .article-keyword { margin-left: 17px; } margin-left: 17px; } .article-keyword a { color: #1db954; } .article-keyword img { margin-top: 0px !important; margin-left: 0px !important; } #article-main .article-head { background: none; padding: 50px 0px; } #article-main .publish { text-shadow: none; color: #333; text-align: center; } #article-main .title h2 a { color: #000; text-shadow: none; font-size: 36px; text-align: center; line-height: 36px; } #article-main .title h2 { text-align: center; overflow: hidden; overflow: hidden; white-space: normal; text-overflow: ellipsis; } #article-main .author-profile { padding: 0 20px; } body { background-color: #e6e6e6; } body { background-image: none; } #links { background-color: #ffffff; } #header { background-image: url(https://pic.pimg.tw/ck4xup6home/1496478748-1299486262_l.jpg);; } #header { background-position: top; } #header { background-repeat: no-repeat; } .publish { color: #ffffff; } --



※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 223.140.52.55
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Blog/M.1496676151.A.982.html ※ 編輯: TheSandman (223.140.52.55), 06/05/2017 23:23:26
1F:推 tools241: Google搜[痞客邦 PIXNET 面版樣式(CSS) 設定] 06/08 13:35
2F:→ tools241: Google搜[隨意窩 Xuite 面版樣式(CSS) 設定] 06/08 13:35







like.gif 您可能會有興趣的文章
icon.png[問題/行為] 貓晚上進房間會不會有憋尿問題
icon.pngRe: [閒聊] 選了錯誤的女孩成為魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一張
icon.png[心得] EMS高領長版毛衣.墨小樓MC1002
icon.png[分享] 丹龍隔熱紙GE55+33+22
icon.png[問題] 清洗洗衣機
icon.png[尋物] 窗台下的空間
icon.png[閒聊] 双極の女神1 木魔爵
icon.png[售車] 新竹 1997 march 1297cc 白色 四門
icon.png[討論] 能從照片感受到攝影者心情嗎
icon.png[狂賀] 賀賀賀賀 賀!島村卯月!總選舉NO.1
icon.png[難過] 羨慕白皮膚的女生
icon.png閱讀文章
icon.png[黑特]
icon.png[問題] SBK S1安裝於安全帽位置
icon.png[分享] 舊woo100絕版開箱!!
icon.pngRe: [無言] 關於小包衛生紙
icon.png[開箱] E5-2683V3 RX480Strix 快睿C1 簡單測試
icon.png[心得] 蒼の海賊龍 地獄 執行者16PT
icon.png[售車] 1999年Virage iO 1.8EXi
icon.png[心得] 挑戰33 LV10 獅子座pt solo
icon.png[閒聊] 手把手教你不被桶之新手主購教學
icon.png[分享] Civic Type R 量產版官方照無預警流出
icon.png[售車] Golf 4 2.0 銀色 自排
icon.png[出售] Graco提籃汽座(有底座)2000元誠可議
icon.png[問題] 請問補牙材質掉了還能再補嗎?(台中半年內
icon.png[問題] 44th 單曲 生寫竟然都給重複的啊啊!
icon.png[心得] 華南紅卡/icash 核卡
icon.png[問題] 拔牙矯正這樣正常嗎
icon.png[贈送] 老莫高業 初業 102年版
icon.png[情報] 三大行動支付 本季掀戰火
icon.png[寶寶] 博客來Amos水蠟筆5/1特價五折
icon.pngRe: [心得] 新鮮人一些面試分享
icon.png[心得] 蒼の海賊龍 地獄 麒麟25PT
icon.pngRe: [閒聊] (君の名は。雷慎入) 君名二創漫畫翻譯
icon.pngRe: [閒聊] OGN中場影片:失蹤人口局 (英文字幕)
icon.png[問題] 台灣大哥大4G訊號差
icon.png[出售] [全國]全新千尋侘草LED燈, 水草

請輸入看板名稱,例如:e-shopping站內搜尋

TOP