суббота, 5 марта 2016 г.
Stylish Blockquote For Blogger With The Help of CSS
A block quote or block quotation is an extract in a written document, set off from the main text as a distinct. We all quote great authors but we all must present these great words in an extra ordinary way using a beautiful blockquote. We have created simple CSS codes for around 14 Blockquotes, which are outstanding in look and feel. These blockquotes will give you an idea on how to create your own customized blockquote for your blogs and web pages.
Have a Look at each one of them. Details of adding the blockquote to your blogs and websites are given in the implementation and customization section.
>Blockquote With a Fancy Border and Owl Image
Blockquote Code:
blockquote {
margin : 0 20px;
padding: 60px 30px 40px 20px;
background : #F1F8FE url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeub5IzDh_PDSBbgGiek8J0KwvttDoErVqPAyBRO8xs5U-E1_SIdByMkgB76w9cdfn6Doa8q8CilgkcSPZrBOZG-BiuKh8jCXRbITmDWYoStz8ObJamu9UGowNIMLqu_B4FS6nSqtHG74/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;
}
Blockquote With a Purple Corner Label and Border At Bottom
Blockquote Code:
.post blockquote {
margin : 0 20px;
padding: 70px 20px 20px 40px;
background : #E4EAFE url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzjNDCLuYcowpBuLUnn6Mrr-uumsVrxiOrC3aQoDYdDaZmor73NCqHgSZ0gZ4oNu3OtJ486wswgAwj_r7qoOt1-4vD_eYtuO1i7Ff9TuapVeAWe6gDsUNt5V9RHSV4kjJM0i_Q7-GwRJY/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;
}
MMKTricks Blockquote
.post-body blockquote {
line-height: 1.3em;
}
.post blockquote {
background: #F2F1F1 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCs-bjVg5v9I7XmEmQhA-FrCJMEmVuOL5wKjC8IyNsXXLLOLe6PD6tGgUIo9jHJGtpaLFON7Kw3W2aDjXbn_iULgEI_J6aclNgcYV3e2L7uUnAT7WhYc0GG9Rr8JwsUJfjONy-QL5oxQQQ/s400/quote2.gif)top left repeat-y;
margin: 0 20px;
padding: 10px 20px 10px 45px;
border-top: 1px solid #DDD;
border-right: 1px solid #666;
border-left: 1px solid #DDD;
border-bottom: 1px solid #666;
font-size: 0.9em;
}
.post blockquote p {
margin: 0;
padding: 0 0 15px;
}
.post blockquote:hover {
background: #F2F1F1 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUTomVu-au8dZEx1F2eaDG6A4m_o40hwGa69Mwbd6Uyri_Fld9fGnkGLhQ_nss4fAhrOV1huCu3nUIufyKXcC0NQIrdH0FWrZh4k-5VfsQlRvohqGPC20IR3xK1gNvvw1ff4htp12COmZ7/s400/quote1.gif)top left repeat-y;
}
Jigsaw Blockquote With An Image At Right Corner
Blockquote Code:
.post blockquote {
margin : 0 20px;
padding: 10px 20px 25px 20px;
background : #9FCFFF url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxXdPS4acI5hk9hB_lcJQC4uCxz_mJNf11Up2w35gemvwozA0WjAgv7cG7BYFDec6JOIR49qArIz62rdQxL70HKhMWuA4JufhMrqYLN8s5AnPKtS3qEh6aXNvZWEBWujC6OJc3PbS2q4Q/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;
}
Blockquotes With Classic Left Borders
Blockquote Code:
.post blockquote {
background: #F3F3F1 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0i77u58A-WuGUhG0i7NAJbWCNps9CMlUbtf0zbVDaGaiYQkPolCIiHCEriWQ5BhbevIdpLTXiCdKqkeIkrfZvlshOyGZlXD-vkLKNc2n-KkVF75RMZsitTpFENi1XCO-crpdTwaMDQ-4/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;
}
Blockquote Code:
blockquote {
background: #484B52 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZNjTWZV1pGTzUKNOGmEQuOoOrqPWayWJSP_InxQx6O9NfZzVGUju5oA4QHPyRb2ZL-qNfkMV7Y0zA1ykp1VBaSLk99qvSv7jhwVJvSOeHmWPDNcxMIvv4R4asiYxpaFDzrS_IjdyOQ5E/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;
}
Blockquote With A Brown Corner Label
Blockquote Code:
.post blockquote {
margin : 0 20px;
padding: 20px 60px 80px 20px;
background : #FEE4E3 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaSFbxXO24WheqFFPMgR0rZbDzVt86i5-pVbTpR4nHBrzIT1tPUSuxyZqZqCvsVikFF_ONGp-H-cDI_l5pccpmnrYfHtl1Q-mvTePJUxbEX1Db2UXJm7B5tp1-QJERDOfzm5UtqGl-J7s/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;
}
Blockquotes With Inverted Commas
Blockquote Code:.post blockquote {
font: 18px normal Tahoma, sans-serif;
padding-top: 10px;
margin: 5px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2_ufsljVrDk1XT3bv64oOg405qvtdSQ0kqlOd7At2NXLTiKb_77RTv4TwMp1ky2CePhlrHYbVXG4qmCHxyCbU0uYBEHd0XfD_tJJXsyBc5LpWA5nEG_AlQi8EK3cUGFROtGUZOUHbPsI/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/AVvXsEjM8Iyzte9hLE67DcoBYu-Z9_eTXxDiY9Eq5PkoB7H-4dXfcaRiJWZ3PvOR7dW-9SZ1x4wgs73wp9jZnjGP5-Y_b2HULRZMZZTSztTt_EM32EMk7YC2pKfhCYf7T4lpatuTaRCaGe4FtlA/s400/comma-right.gif) no-repeat bottom right;
padding-bottom:10px;
}
.post blockquote p {
margin: 0;
padding-top:10px;
}
Blockquote Code:
.post blockquote {
font: 18px normal Tahoma, sans-serif;
padding-top: 10px;
margin: 5px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdHKV8RQ-e94TWeJ2wG8pTA5UXqEfOFOOy8fD_7nP0n7QrHhRafBFCjezDW3JFdsPmV7jzI9X2TzarhmEcMJQPdXvMn-gFwRuIH0oExgGY4JAjWQOAcUYK0im_Re5SPJdbu0o0fLPgl7g/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/AVvXsEgXGtx_cCJN5_fNzRlY6oOYv_X4a4ij-pn2bwH0k-NkxEqZ_A9irfV4Gwqu-W_vy0OVcCirVWWyw7DTAkufz6y9dtawvhAcShg8xyfnx1KVrRqfFOob2IKglue6KxeL0YOahE5oJetmEf8/s400/comma1-right.gif) no-repeat bottom right;
padding-bottom:10px;
}
.post blockquote p {
margin: 0;
padding-top:10px;
}
Blockquote Code:
.post blockquote {Blockquote Code:
font:bold italic .9em "comic sans ms", Tahoma, sans-serif;
padding-top: 25px;
margin: 5px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrO9Tf6j9ot8FXdietRYgYL4O4d03NLT40OHZrOLnqiIyRni1aU9tjr86RHTK6LJmenK9wKqnOoZ6_oDBEXMiJ-65tttQCazmT9IzGgZMEMbzi3vhvBIxDHTTI5xiVfhCiXAQu76Fy4YY/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/AVvXsEj-iCrD0vkUlkNaRg0Nt5ee8-jStcxXze0uW2X0pYhCPpFKP-v91P7QUt71EIzIuUItUyIdCkI5Wv-8a3j5lkZ5fQRUksvJKcoShdfwqdKu9J3XV6w950rgjgkzzPyi5TpyTglORq71u60/s400/right.gif) no-repeat bottom right;
padding-bottom:30px;
}
.post blockquote p {
margin: 0;
padding-top:10px;
}
.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/AVvXsEiPzliWC3Wurr6RL88GDD-IYY6YL3ZJKPOe5C2JQrM6JKJTJjXT6xe1lMu1LozpMSR0vIL3QF81_qxoaK7nmPhj7Fh-hL4sORFByzLhgmghCccQG5qu92bMgbtfihmW1jWcTpWVISR3yuA/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/AVvXsEg-8at_pGTfNX_ddJOpOfn8T9sAvk0Rtb38Vs7XLR52mOSMtknJslqxchASY0lXe945CqQp5JKSpTCH9a-dFe6um-NGEcTWng4ai_vN1vYz8MppS1NWIgX7dMnfCHzBZ05s9SorkivSi4Y/s400/comma2-right.gif) no-repeat bottom right;
padding-bottom:10px;
}
.post blockquote p {
margin: 0;
padding-top:10px;
}
Blockquote With Well Aligned Image At Top
Blockquote Code:
.post blockquote {
margin : 0 20px;
padding: 70px 20px 20px 20px;
background : #E7E5DC url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKoVXXpB4R1vQBCihB1TDwodK9H8Z_b46ugPROZtBL6cKfub_oFMSTiqOZFvadxAl8wnudTveir6tzNTWA67nF-UeTB7qdznHhQULbEwSE6Wm25MWae5xx4qn8UhunHKn1pg8EU6ke4rk/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;
}
Blockquote With Canopy Style Image At Top and Bottom
Blockquote Code:
.post blockquote{
margin : 0 20px;
padding: 50px 30px 50px 30px;
background : #FFF url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwbXPN_ukQ08__aTIabxUW4HVUOErrl5M-6S_vaSA_3xUncHfZFupUZBMUzihP3AMnmwA9D8AaeSlKKuZTMHiOflJzpuvQeA6MwatiXzv_Xa5stGJHPIkR0f2snCGrj_PnRjmmvxeMgIU/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/AVvXsEjj5OVgj3_Bqiff16nrC4o3keS8rDXNEH4cI6D-GmCzAD96stdKSRIQUTPnhNDVNGweUoO-j1Pe9ud7n-HXVpcBEiKi5g_jovDnC1IDYQYBSnl9iyFI86Vnb06zVTfzpBNhGL0Z6AAIDJQ/s1600/BLOCK1-BOTTOM.gif) no-repeat bottom;
padding-bottom: 50px;
}
.post blockquote p {
margin: 0;
padding-top:10px;
}
Box Style Blockquote Surrounded By Borders
Blockquote Code:
.post blockquote {
margin : 0 20px;
padding: 70px 20px 30px 20px;
background : #E7E5DC url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPC4688a6WJtI8n9-U3k00YTfa9xJwKeyqKgm_AE40rfPetD_4S-egVtukV_IOEV9sJfmiAZmg_QuhJ-hMG-rkL6vq1j8GTswbuufA2c8cQv7I8GnTjmOqrVwElC6CQ_kheAOz-wZCxn4/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;
}
The Monkey Man Blockquote!!!
Once you get an idea on how to use these blockquotes then you can create artistic and some funny blockquotes like the one below,Blockquote Code:
.post blockquote{
margin : 0 35px;
padding: 80px 0px 0px 0px;
background : #E6F1FA url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRoWM8QEMpvlWZPvSYJjBwH3JpAybz2R68bd4KXM5oJI88l-PU-XBi65UnrPCx7vsnwlkuAQ7tNtG3H_cYS2ut4ToDtIpCj2Hk4tMxlc9MJvt5SBuoirTzP-p9MzL_3uF4sjaq-JwELZU/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/AVvXsEgj6TvS1RS-Z-3St5-VNBN2torpZur-ix4xoi2KjZMqpAhez8zZmKDtsy7uM1MWxZcTj4tBFKZuObCXDm4RV0JsDA0Few1zsP9BajVks1vKLE9K9tHUfwPSW7eVGTEMpZezaZG4h1u1f-M/s400/head-bottom3.gif) no-repeat bottom;
padding-bottom: 50px;
}
.post blockquote p {
margin: 0;
padding: 20px;
}
Implementation and Customization:-
Implementaion:-Now To add One of these amazing and unique blockquotes to your blogs, do the following,
- Go to Blogger > Layout > Edit HTML
- Backup your template
- Search for .post blockquote and delete it along with all its occurrences. In most templates the codes look like this,
.post-body blockquote { line-height:1.3em; }
If you couldn’t find such code then it is OK.
OR
.post blockquote{ bla bla bla} - Now search for ]]></b:skin> and just above ]]></b:skin> , paste the code for one of your favourite blockquotes. I am giving a sample code below
.post blockquote {Customization:-
margin : 0 20px;
padding: 60px 30px 40px 20px;
background : #F1F8FE url(Paste Image Link here) no-repeat 350px 5px;
font: normal .9em "comic sans ms", Courier,"Times New Roman", Times, serif;
color : #000;
border: 8px dotted #DAB547;
}
.post blockquote p {
margin: 0;
padding-top:10px;
}
Important areas to be customized are bolded. Where,
- padding: It refers to the distance of the text from blockquote borders. Which goes in this order –> Top Right Bottom Left
- background :- This includes Blockquote background color and image used in it. The six digit value is the background color and image link is inserted in place of bolded text in this part-> url(Paste Image Link here)
- font :- It includes font style, size and type respectively. Match the colours with the code above for reference.
- color :- This refers to text colour. You can use a different font colour using our color chart
- border :- This refers to border width, style and colour respectively.
- All other blockquotes can be customized in similar way.
Note:- For Blockquotes with inverted commas, canopy style and the Monkey Man, there is a little more coding required. Read below
Guide:- For above mentioned blockquotes you need to add some extra tags inside blogger editor as explained below,
Now Whenever you have written a Quote inside the compose mode of Blogger Editor simply switch to the HTML mode and add two tags i.e <div> and </div> between the blockquote tags as demonstrated below,
<blockquote><div>Your Quote Will Be Here</div></blockquote>
Play With Each Blockquote Code!
To get more used to the codes above you need to play with some CSS using our HTML Editor.Inside MBT HTML Editor paste the any of the blockquote codes above between <style> and </style> and just below </style> paste this code,
<blockquote>Write Anything Here As a Text</blockquote>For example for the Owl Blockquote paste the codes in this pattern,
<style>
blockquote {
margin : 0 20px;
padding: 60px 30px 40px 20px;
background : #F1F8FE url(file:///c:/Documents%20and%20Settings/mustafa.MYBLOGGERTRICKS/Desktop/blockquote/owl-icon-48.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>
<blockquote>Write Anything Here As a Text</blockquote>
.:: That's it - If any Question / Suggestion please leave a comment blow ::.
0 коммент.:
Отправить комментарий