Thứ Hai, 1 tháng 8, 2011

Blockquote for blogspot - Thay đổi Blockquote của Blogspot ?

Khi tạo một bài viết với blockquote , văn bản trích dẫn đó sẽ được thụt vào bên trong và làm cho nó nổi bật. Tuy nhiên,style mặc đinh của blogspot rất đơn điệu, nếu bạn muốn thay đổi nó thì bạn có thể chỉnh sửa nó bằng lệnh blockquote{ lệnh css }. 
Blockquotes là cách để làm nổi bật ý tưởng chính của bạn giữa các nội dung khác.  

Các bạn có thể xem Demo TẠI ĐÂY (Trong TemPlate của mình mình để hình trắng do vậy các bạn không thấy có thẻ ở đầu dòng) các bạn có thể nhìn hình để thấy rõ hơn
☼ Bây giờ ta bắt đầu thủ thuật :
1. Đăng nhập blog
2. Vào bố cục (layout)
3. Vào chỉnh sửa code HTML (edit code HMTL).

Ctrl + F : tìm bỏ các đoạn : 


blockquote {......}
.post blockquote {....}
.post blockquote p {.....}
Tại vì mỗi template có một mẫu blockqoute khác nhau. Nên các bạn tìm đoạn code tương tự mà xóa nhé. Nhưng đừng bỏ cái blockquote trong phần reset css nhé :D 


Sau khi xóa bỏ xong,bạn thêm đoạn code sau vào ngay chỗ blockquote xóa đó. Hoặc thêm ở đâu cũng được,miễn nằm trong thẻ <b:skin> ....</b:skin> 
Bạn nên sử dụng firefox để test mã blockqoute nào hợp với template của bạn trước rồi hãy quyết định mang vào template. 
Chúc bạn hài lòng. 

Style 1 
Code:
blockquote { margin: 1em 3em; padding: .5em 1em; border-left: 5px solid #fce27c; background-color: #f6ebc1; } blockquote p { margin: 0; }
Style 2


Code:
blockquote { margin: 1em 3em; color: #999; border-left: 2px solid #999; padding-left: 1em; }  
Style 3



Code:
blockquote { margin: 1em 2em; border-left: 1px dashed #999; padding-left: 1em; } blockquote p:first-letter { float: left; margin: .2em .3em .1em 0; font-family: "Monotype Corsiva", "Apple Chancery", fantasy; font-size: 220%; font-weight: bold; } blockquote p:first-line { font-variant: small-caps; } 
Style 4

Code:
blockquote { background-color: #666; color: #fff; font-weight: bold; padding: 10px; -moz-border-radius: 5px; -webkit-border-radius: 5px; } 
Style 5

Code:
blockquote { background-color: #666; color:#fff; padding: 15px; margin: 1em 40px; -moz-border-radius-topleft: 15px; -webkit-border-top-left-radius: 15px; -moz-border-radius-topright: 15px; -webkit-border-top-right-radius: 8px; -moz-border-radius-bottomleft: 15px; -webkit-border-bottom-left-radius: 15px; } 
Style 6

Code:
blockquote { margin : 0 20px; padding: 60px 30px 40px 20px; background : #F1F8FE url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFExClz99xZF1lzn5McMdMKcyUc7SuwBoLmwb5Z_GdT97ozZjAj7KBAekfKeIQH3Ef7jqLFniPjTM3B-h8l-QpV9aEEolZmeYK8ejXoBKMQK7Z37_iV9stBxdY96Vy5b3Erq13sw_AYvI/s400/owl.png) no-repeat 350px 5px; font: normal .9em "comic sans ms", Courier,"Times New Roman", Times, serif; color : #000; border-left: 8px dotted #DAB547; } blockquote p { margin: 0; padding-top:10px; } 
Style 7

Code:
.post blockquote { margin : 0 20px; padding: 70px 20px 20px 40px; background : #E4EAFE url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigSkEFNxc5E6VvaKqovmmfwnvsUUdFZyembAiWky8nOOcs_-Z8o_FezWTmkillU08xiwAuLCK7QJCXwyjfGf9uQ3-h4GDiTHgZzxk5EBn66qI1-fE8sJkRf-4R-UVZ-1l-rM_PpnEO3gU/s400/angular-purple.gif) no-repeat top left; font: bold 1em Helvetica, verdana, Georgia, "Times New Roman", Times, serif; color : #000; border-bottom : 5px solid #435388; } .post blockquote p { margin: 0; padding-top:10px; } 
Style 8
Code:
.post blockquote { margin : 0 20px; padding: 10px 20px 25px 20px; background : #9FCFFF url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpUgbFTaFURx5-F4eyApseohwmsVCf3E6D8p6EIkczQnTOBSoMTpZR_R3olzkJlDTFiFRtFsceJwtVQtfQmEl6NEa0x53YVXl_X6vcIICY9dchrIT6XkICBvWZKbesEL0CjRlvNxMZFK0/s400/block22.gif) no-repeat right bottom; font: bold .9em "comic sans ms", arial, Helvetica,verdana, Georgia; color : #484848; border: 5px dashed #fff; } .post blockquote p { margin: 0; padding-top:10px; } 
Style 9

Code:
.post blockquote { background: #F3F3F1 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7KBklZTnLV38NLLryo8CCmlekalK-NcShegLxEAsakW4p2_qMi7AmrhvlJ74JTVSpG0nYWJaxnnWv-p5IUsPst6v9RrEX3x2QY4lKOnJrMkH_VGDsimKtzAvCrhPoZHJgJoxND6EKl5s/s1600/comma-side-orange1.gif) ; background-position:; background-repeat:repeat-y; margin: 0 20px; padding: 20px 20px 10px 45px; font-size: 0.9em; font: italic 1.2em Georgia, "Times New Roman", Times, serif; } .post blockquote p { margin: 0; padding-top: 10px; } 
Style 10

Code:
blockquote { background: #484B52 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeiqP3DmdKl5r-oLOlV75WanbhW-KdogZ7D9VacAF9OvPmgMncqlgOljbnuYIB2D6JeJzjSeo4ouuvjzrYtVt7qbNbuW0t7XunAyizQkYKsAmV6CLAnxZxfRomgaue15TfDBE2PHKRYJU/s1600/green-black-side.gif) ; background-position:; background-repeat:repeat-y; margin: 0 20px; padding: 20px 20px 20px 50px; color:#C7CACF; font: normal 0.9em Helvetica, verdana, serif, Georgia, "Times New Roman"; } .post blockquote p { margin: 0; padding-top: 10px; } 
Style 11


 Code:
.post blockquote { margin : 0 20px; padding: 20px 60px 80px 20px; background : #FEE4E3 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfnN7pbDS8cNQd5mfV3qpbwmHuDtxQsDXZ_22ROyxj2lHL2CpaxCBgd7rD5FO18oH48X1XJQBIzUmqrEEift_PBanEJLoGXXnuMoe1TE6DrWJg1GPk35G545Qbo1CHGp5ZGxGrUwDkOME/s400/angular-right.gif) no-repeat bottom right; font: bold italic 1em Georgia, verdana, Helvetica, "Times New Roman", Times, serif; color : #000; border: 1px solid #DDD; } .post blockquote p { margin: 0; padding-top:10px; }.post blockquote { margin : 0 20px; padding: 20px 60px 80px 20px; background : #FEE4E3 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfnN7pbDS8cNQd5mfV3qpbwmHuDtxQsDXZ_22ROyxj2lHL2CpaxCBgd7rD5FO18oH48X1XJQBIzUmqrEEift_PBanEJLoGXXnuMoe1TE6DrWJg1GPk35G545Qbo1CHGp5ZGxGrUwDkOME/s400/angular-right.gif) no-repeat bottom right; font: bold italic 1em Georgia, verdana, Helvetica, "Times New Roman", Times, serif; color : #000; border: 1px solid #DDD; } .post blockquote p { margin: 0; padding-top:10px; } 
Style 12
Code:
.post blockquote { font: 18px normal Tahoma, sans-serif; padding-top: 10px; margin: 5px; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfvrB6_wGhPe8j6eWH3bqSJaHb21W71-4Hs-9WPQTi46tlVf_uzo5CYGBIIc99jh6LFdUEiTJuX9jeGP6sGEAOvD0bJ0B9f0w2lsbex6RZCbxYVidIs1AoHCGU-YhMbb4kAMx-tQbqNPM/s400/comma-left.gif) no-repeat top left; text-indent: 65px; } .post blockquote div { display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh37jBw-agqHAGMyCZrlPIBR9F_JEE0z8w4yV0zI5CGV1E3gkU1uKMuq56q2Ue2yMF3qCWZZYRfkqam6Aa-SPg7bxPAPUAk-aGS_Wr4JBqU0fY9ZMuBAqWew5NNwbHYQqsSTk0rY8R_hd4/s400/comma-right.gif) no-repeat bottom right; padding-bottom:10px; } .post blockquote p { margin: 0; padding-top:10px; } 
Style 13

 Code:
.post blockquote { font: 18px normal Tahoma, sans-serif; padding-top: 10px; margin: 5px; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrB2TfrJBbu_rQz-CFu5unSIXCpovCmLGP8SQGZUU26_FztrRKhpw-EmHhtl9ikNH9ZOh0z9-z3SzvWQfk2zbAy2Ob1o2vtLsSR9K9vXeqAwAva38r6hvPrJj-djR50rENpLgfXLOexjo/s400/comma1-left.gif) no-repeat top left; text-indent: 65px; } .post blockquote div { display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMh_cQBOaHYhyphenhyphencfn82sUJW6oce69zrI4i-pq_hkshJ8c-C3xMuCDnY_Fz-PUz1d8RHExBUHvUARlrNua6VCdVKdyztnlTBzNizaqY7qXxjxvOFBu-k0dbJVGJwHvmyyLF3F6DE0JBGyU4/s400/comma1-right.gif) no-repeat bottom right; padding-bottom:10px; } .post blockquote p { margin: 0; padding-top:10px; }
Style 14

 Code :
.post blockquote { font:bold italic .9em "comic sans ms", Tahoma, sans-serif; padding-top: 25px; margin: 5px; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEh-CD1Zy6VQTXjgMtEhhLfq5f_JjV8NHCKXr9PEVdcgXEdTShxQBWYdVOb-h_Ss20_24o98AtHX4TughWwSUTITbDp7jJljODDzDWZsuDOyBfq6Yv6FkMP29fhmFYVFFbpWox54oPzPc/s400/left.gif) no-repeat top left; text-indent: 65px; color:#6299E4; } .post blockquote div { display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikPJOuSZRfQC4RtWGUXIUM-xZ4pc408hNEmaLz-RFnZgSu7Q9Th2h2WXQccSXGNzs5ObaVvFLWZF0TfHw9PtWgNA7umGk0cxc8vfyLKFzoeTM4J8Sk26YPopaFid8L_ugMQIuLerbBx70/s400/right.gif) no-repeat bottom right; padding-bottom:30px; } .post blockquote p { margin: 0; padding-top:10px; } 
Style 15


 Code:

.post blockquote { font: italic 1em "comic sans ms", Tahoma, sans-serif; padding-top: 10px; margin: 5px; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzA9YQERheEQNE-Ayi8zpuPn4R-l83NNoIJIRxIVCmicyP_9ex9zI8EV3bNHf5AdW2B6o2Me0vXbnfo_bEjoGaHxrJBQjKBitPqpcvgPXzQC16MtbMPUBnmllavEwWc28r9NoCX1L5GFY/s400/comma2-left.gif) no-repeat top left; text-indent: 65px; } .post blockquote div { display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdDfM1F0kmyckTCRoTsg3FvGcW8YWvharf_4ABIg1bs3q_14479JLYrMJshS1Rgr-kLmaOBxEGP20QXSHNlWs1mb635kvMmIuVKTSPvdGHdSOxlbLX8AJbOEMlK7_NMqZCXTzKqq1ulWI/s400/comma2-right.gif) no-repeat bottom right; padding-bottom:10px; } .post blockquote p { margin: 0; padding-top:10px; } 
Style 16


Code:
.post blockquote { margin : 0 20px; padding: 70px 20px 20px 20px; background : #E7E5DC url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn-m5N8kI-5MbStL5wdCoRHZ1V7VN3jTf5hfgPuNwrZ1muS-yrvMY1n7OkNa-eid1cfGhrEOUy_MW5mXRSnvlgiwVvmGx7_xS1EwCQ3Z26BIo7C_BxAHv9ppdoLxD86d-idDj77he4xF8/s1600/block333.gif) no-repeat top; font: normal 1em "comic sans ms",Helvetica, Courier,"Times New Roman", Times, serif; color : #000000; border-bottom : 7px solid #FF0000; } .post blockquote p { margin: 0; padding-top:10px; } 
Style 17



Code:
.post blockquote{ margin : 0 20px; padding: 50px 30px 50px 30px; background : #FFF url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQHuwFjKQLieTJ6kWh6bR1Qb3EiWLZd8OFA3MheJheBq1vZJ_eKT2QT3oKGEVyAnJrEf6-2di-I1mC9qV8kj7RQCTdLKI6PBKpVfejoi1MYKu6uQg58WCkkV5De-_tgykJbDDP8Ht0Xfk/s1600/BLOCK1-TOP.gif) no-repeat top; font: bold italic 1em Helvetica, verdana; color : #000; } .post blockquote div{ background : #FFF url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFiuLWzSE9DzekrJQjZ1kQLlNKkh0kQYWodGiL-ffjHnkY1h6vNrfd5_-gP9R9smIFbCtVdGDyB_HP8JGT9gQD8zDZwQK17BQMUHiwBvTAIqwtfurmiFkTjWxTWGmJMReNItjlfdJdxms/s1600/BLOCK1-BOTTOM.gif) no-repeat bottom; padding-bottom: 50px; } .post blockquote p { margin: 0; padding-top:10px; }
Style 18

Code:
.post blockquote { margin : 0 20px; padding: 70px 20px 30px 20px; background : #E7E5DC url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtT71IxEbv62wytZH8ClZk5G1Hgn14m9ow-1LFfOO9fB4GHAiXCnpz9GqD1bg9yYeQN4r0ptugqv88PincnA_fFWg616Hp6v0J4RN2InjJztkzjlvAfBaPuGsSBxXxtpscwJnaTz03fRw/s400/block3331.gif) no-repeat top; font: bold .9em Helvetica, "comic sans ms",Courier,"Times New Roman", Times, serif; color : #343434; border-left : 7px solid #FF7802; border-right : 7px solid #FF7802; border-bottom : 7px solid #FF7802; } .post blockquote p { margin: 0; padding-top:10px; } 
Style 19

Code:
.post blockquote{ margin : 0 35px; padding: 80px 0px 0px 0px; background : #E6F1FA url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_vdjbJ9j_GIH6OkWXhjRz93qbrZLLEa5V76lGT3DPC1-EgKACOPO_PHJsCdLlr_VLcDEt7DQBAA6z2O-AHCMZ6oe4zFRbhHDHKJ2RvGApRfCmWZkNbLN2v1pRVole6GyPWcyX-QA4mJg/s400/head2.gif) no-repeat top; font: normal 1em "comic sans ms", Helvetica, verdana; color : #666; } .post blockquote div{ background : #E6F1FA url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyB7wMhtLzci-_4QoDUtzZRid4eHfbAYYcfdN1e8pD3-zG6Fd1BoW0jL2Hht10_RmdkATMojHbObfr_7o0CkXWRLFR3YgVGD1nQa_n6htxKYRwgSSJ_E6DduxgGF0YQBW6edtHiwT-Dqk/s400/head-bottom3.gif) no-repeat bottom; padding-bottom: 50px; } .post blockquote p { margin: 0; padding: 20px; } 
Style 20
Code:
.post blockquote { margin:1em 20px; } .post blockquote p { margin:.75em 0; } blockquote { background:#EFEFF7; }
Style 21
Code:
blockquote { background-position:-10px -7px; border: 1px dashed #FFC600; margin: 20px 10; padding: 0 20px 0 50px; background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii0BVS3Q-UULVT5eKl9qOwRUZ3O0gokrrF8ej5EEl2gWjqVyNfev5WIlNBVo06FTNiLzvwu2m50RqxDD1et2Gtd49wegg3cfkwjZBPUXzu1L_TNqofjVs48Se1cbvAAFbXEGKJS9-23uec/s1600/quote.png") 5% no-repeat #FFF8DD; }
Style 22

Code:
blockquote{ background-color: transparent; border-top: 3px double#DC143C; border-bottom: 3px double #DC143C; padding: 5px; font-style: oblique; font-size: 1em; margin-left: 5%; margin-right: 5%; }
Style 23

Code:
blockquote{color: black;font-family:Courier New;font-size:9pt;width:90%px;overflow:auto;repeat-y;max-height:200px;margin:5px 10px;padding: 4px 10px 0px 40px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLmwnAZ6vOebovpiGAX7jGqio7OpZCnrATL3ZVm_L2EpyCZkwQGSFzP16q0OslJkwxQh6cc-eb9gjmUp7utKxCtPhz7gKOoWYHZjOqzP4g4sIesjhij6i7EQNVZDKgcvSl1fOSHS7g_rEw/) repeat-y left top;white-space: no-wrap;display: block;}
Các mẫu trên chỉ là tham khảo.Bạn có thể chỉnh sửa hình ảnh và code css lại cho phù hợp với cá tính của bạn.
Chúc thành công!

Không có nhận xét nào:

Đăng nhận xét