чтоб на аватарки глянуть
Сообщений 1 страница 3 из 3
Поделиться22015-11-01 15:55:10
/* A3 Text setup
-------------------------------------------------------------*/
/* A3.1 */
body {
font-size: 100.01%;
}
/* A3.2 */
.punbb {
font: normal 68.75% verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
font: 1em verdana, arial, helvetica, sans-serif
}
/* A3.4 */
.punbb h1, .punbb h2, .punbb h3 {
font-size: 1em;
font-weight: bold;
}
.punbb th {
font-size: 0.9em;
font-weight: bold;
}
.punbb h4, .punbb table {
font-size: 1em;
font-weight: normal;
}
/* A3.5 */
.punbb h1 span, .punbb h2 span, .punbb legend span {
font-size: 1.1em;
}
/* A3.6 */
.punbb pre {
font: 1.1em/140% verdana, arial, monaco, "bitstream vera sans mono", "courier new", courier, monospace
}
/* A3.7 */
.punbb address, .punbb em {
font-style: normal
}
/* A3.8 */
.punbb .post-content em {
font-style: italic
}
/* A3.9 */
.punbb .post-content em.bbuline {
font-style: normal;
text-decoration: underline;
}
/* A3.10 */
.punbb a {
text-decoration: underline
}
/* A3.11 */
.punbb optgroup {
font-weight: bold;
}
Поделиться32015-11-01 19:30:04
<script type="text/javascript"> $(document).ready(function(){ myarray=new Array( "Категория #1", "http://funkyimg.com/i/23Xfa.png", "Категория #2", "http://funkyimg.com/i/23Xfb.png", "Категория #3", "http://funkyimg.com/i/23Xfc.png", "Категория #4", "http://funkyimg.com/i/23Xfd.png", "Категория #5", "http://funkyimg.com/i/23Xfe.png", "Категория #6", "http://funkyimg.com/i/23Xff.png" ) $("#pun-index div.category h2,#pun-index #pun-stats h2").each(function (i) { for(q=0;q<myarray.length;q++) { var cssObj = { "height":"150px", "margin-right":"-12px", "background-color": "transparent", "background-image":"url("+myarray[q+1]+")", "background-position":"55% 50%", "background-repeat":"no-repeat", "font-size": "0" } if($(this).children("span").text()==myarray[q])$(this).css(cssObj); q++} }); }); </script>
/* CS4 Картинки категорий */
#pun-category1.category h2 {
background: url(http://funkyimg.com/i/23Xfa.png);
height: 150px;
width: 500px;
font-size:0 !important;
margin-left: 30px;}
#pun-category2.category h2 {
background: url(http://funkyimg.com/i/23Xfb.png);
height: 150px;
width: 500px;
font-size:0 !important;
margin-left: 30px;}
#pun-category3.category h2 {
background: url(http://funkyimg.com/i/23Xfc.png);
height: 150px;
width: 500px;
font-size:0 !important;
margin-left: 30px;}
#pun-category4.category h2 {
background: url(http://funkyimg.com/i/23Xfd.png);
height: 150px;
width: 500px;
font-size:0 !important;
margin-left: 30px;}
#pun-category5.category h2 {
background: url(http://funkyimg.com/i/23Xfe.png);
height: 150px;
width: 500px;
font-size:0 !important;
margin-left: 30px;}
#pun-category6.category h2 {
background: url(http://funkyimg.com/i/23Xff.png);
height: 50px;
width: 730px;
font-size:0 !important;
margin-left: 30px;}