test for _n o i r *

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » test for _n o i r * » скрипты » дизайн


дизайн

Сообщений 1 страница 2 из 2

1

Код:
/*************************************************************
a - setup
**************************************************************/

/* a1 import the colour scheme
-------------------------------------------------------------*/

/* a1.1 */
  @import url(style_cs.css);

/* a2 deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* a2.1 */
html, body {margin: 0; padding: 0}

/* a2.2 */
.punbb * {
  margin: 0
  }

/* a2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
  }

/* a2.4 */
.punbb img {
  border:none
  }

/* a2.5 */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
  }

/* a2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

/* a2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle
  }


 /* a3 text setup
-------------------------------------------------------------*/

/* a3.1 */
body {
  font-size: 95.01%;
  }

/* a3.2 */
.punbb {
  font: normal 68.75% verdana, 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, .punbb h4, .punbb table, .punbb th {
  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% 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: none;
  }

/* a3.10 */
.punbb a {
  text-decoration: none
  }

/* a3.11 */
.punbb optgroup {
  font-weight: bold;
  }


/* a4 float clearing and hidden items
-------------------------------------------------------------*/

/* a4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow:hidden;
  line-height: 0.0;
  font-size: 0;
  }

/* a4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position:absolute;
  left: -9999px;
  overflow: hidden
  }
/* a5 basic page layout and borders
-------------------------------------------------------------*/
/* a5.1 */
/* ширина форума проставляется здесь */
#pun {
  margin: auto;
  width: 812px;
  position: relative;


  }

/* a5.2 */
.punbb {
  float: auto;
  height: auto;
  width: 98%;

  }

/* a5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

/* a5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

/* a5.5 */
.punbb .category, .punbb .post {
  margin-top: 0.4em;
  }

/* a5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
  }

/* a5.8 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-style: none none solid none;
  border-width: 0px 0px 2px 0px
  }

/* a5.9 */
.punbb .container {
  border-style: solid;
  border-width: 1px;
  }

/* a5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
  padding: 0.5em 1em;
  border-style: none solid solid none;
  border-width: 0 1px 1px 0;
  }


/*************************************************************
b - main content - general
**************************************************************/

/* b1 parsed content, signatures and scroll boxes
-------------------------------------------------------------*/

/* b1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  }

/* b1.2 */
.punbb .post-sig dt {
  display: block;
  border-top: 1px solid #888;
  width: 250px;
  margin: 5px 0;
  }

/* b1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
  }

/* b1.4 */
.punbb .post-content img {
  vertical-align: text-bottom
  }

/* b1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
  }

/* b1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
  }

/* b1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

/* b1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 0.4em 1.8em 1.4em 1.8em;
  padding: 1em;
  border-style: none;
  border-width: 2px;
  }

/* b1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
  display: block;
  padding-bottom: 0.7em;
  font-size: 1.1em;
  font-weight: bold;
  font-style: normal;
  margin: 0;
  }

/* b2 information boxes
-------------------------------------------------------------*/

/* b2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: solid;
  border-width: 1px;
  margin: 0 0 1.1em 0;
  }

/* b2.2 */
.punbb .info-box * {
  padding: 0 0 0.7em 0;
  }

/* b2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
  }


/* b3 pagination and posting links
-------------------------------------------------------------*/

/* b3.1 */
.punbb .linkst {
  float: left;
  position: relative;
  width: 100%;
  font-size: 1.1em;
  height: 0;
  }

/* b3.2 */
.multipage {
  margin-top: 3em;
  }

/* b3.3 */
.linkst .pagelink {
  position: absolute;
  top: -4em;
  left: 1em;
  width: 24em;
  }

/* b3.4 */
.linkst .postlink {
  position: absolute;
  top: -4em;
  right: 1em;
  width: 16em;
  text-align: right;
  font-weight: bold;
  }

/* b3.5 */
.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
  }

/* b3.6 */
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
  }

/* b3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold
  }

/* b3.8 */
.subscribelink {
  clear:both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
  }


/*************************************************************
c - main content - specific
**************************************************************/

/* c1 form layout
-------------------------------------------------------------*/

/* c1.1 */
.punbb .formal .container {
  padding: 1.7em 2.3em 1.1em 2.3em;
  }

/* c1.2 */
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
  }

/* c1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0
  }

/* c1.4 */
.punbb fieldset {
  border-style: solid;
  border-width: 1px;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0
  }

/* c1.5 */
.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em
  }

/* c1.6 */
.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0 0 0 -15px;
  }

/* c1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0
  }

/* c1.8 */
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
  }

/* c1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0
  }

/* c1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* c1.11 */
.punbb .inline .infofield {
  clear:both
  }

/* c1.12 */
.punbb .datafield br {
  display: none
  }

/* c1.13 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold
  }

/* c1.14 */
.punbb .datafield span.input a {
  font-weight: normal;
  }

/* c1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* for ie */
  }

/* c1.16 */
.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;

  }


/* c1.17 */
.punbb .hashelp {
  position: relative;
  }

/* c1.18 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
  }

/* c1.19 */
.punbb #profile .helplinks {
  top: 1.5em;
  }

/* c1.20 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
  }

/* c1.21 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
  }


/* c2 table layout
-------------------------------------------------------------*/

/* c2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 50%;
  }

/* c2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  background-color: transparent;
  text-align: center;
  width: 10%;
  }

/* c2.3 */
.punbb .main .tcr {
  background-color: transparent;
  overflow: hidden;
  text-align: left;
  width: 30%;
  }

/* c2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
background-color: transparent;
  width: 40%
  }

/* c2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
background-color: transparent;
  text-align: left;
  width: 20%;
  }

/* c2.6 */
#pun-debug table .tcl {
background-color: transparent;
  width: 15%;
  white-space:normal;
  }

/* c2.7 */
#pun-debug .tcr {
background-color: transparent;
  width: 90%;
  white-space: normal;
  }

/* c2.8 */
#pun-index .tcl h3 {
  font-size: 1.2em;
  font-weight: bold;
  }

/* c2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* c2.10 */
.punbb td .modlist {
  display: block;
  padding-top: 0.3em
  }

/* c2.11 */
.punbb .main td {
  border-style: solid none none solid;
  border-width: 1px 0 0 1px;
  padding: 0.8em 1em;
  }

/* c2.12 */
.punbb .main th {
  border-style: none none none solid;
  border-width: 0 0 0 1px;
  padding: 0.4em 1em 0.4em 1em;
  }

/* c2.13 */
    .punbb .main .tcl {
      border-left-style: none;
      border-left-width: 0
      }

    * html .tclcon {height: 1px}

    /* c2.14 */
    .punbb td div.tclcon {
            margin-left: 50px;
    }

    /* c2.15 */
    .punbb div.icon {
        float: left;
        display: block;
        width: 60px;
        height: 60px;}
 /* c3 topics

-------------------------------------------------------------*/
#pun-title, #pun-navlinks {
  border-color: #202021 ;
}



/* cs2.1 */
.punbb .container, .punbb .post-body, .post h3 {
  border-color:  transparent;
  }

/* cs2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: transparent;

  }

/* cs2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: transparent ;

  }

/* cs2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
  border-color: transparent;

  }

/* cs2.5 */
.punbb th {
  border-color: transparent ;

  }

/* cs2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: #d6d6d6;

  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: transparent;

  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: transparent ;

  }

.punbb .divider {
  border-color: transparent;

  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid transparent ;

  }

li.pa-online {
  border-left-color: transparent ;

  }








/* c3.1 */
.punbb .post .container {
  border-style: none solid solid solid;
  border-width: 1px;
  margin-top: -1px;
  padding-bottom: 1px;
  }

/* c3.2 */
.punbb .post h3 {
  border-style: solid solid none solid;
  border-width: 1px;
  }

/* c3.3 */
.punbb .post h3 span {
  padding: 0.5em 1em;
  display: block;
  margin-left: 19em;
  border-left-style: solid;
  border-left-width: 1px
  }

/* c3.4 */
.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
  }

/* c3.5 */
.punbb .post .post-author {
  float: left;
  width: 19em;
  margin-top: -1.5em;
  overflow: hidden;
  }

/* c3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
  padding: 0 1em 1em 1em;
  line-height: 140%;
  }

/* c3.7 */
.pa-author {
  font-size: 1.1em;
  font-weight: bold;
  }

/* c3.8 */
.pa-author a {
  text-decoration: none
  }

/* c3.9 */
li.pa-title {
  padding-bottom: 0.4em;
  font-weight: bold;
  }


li.pa-online {
  line-height: 0.8em;
  border-left-style: solid;
  border-left-width: 0.7em;
  padding-left: 0.4em;
  margin-top: 0.7em;
  }

/* c3.11 */
.punbb .post-body {
  margin-left: 19em;
  border-left-style: solid;
  border-left-width: 1px;
  padding: 0 0 1px 0;
  }

/* c3.12 */
.punbb .post-box {
  padding: 1em;
  }

/*c3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* c3.14 */
.punbb .post-links {
  margin-left: 19em;
  border-left-style: solid;
  border-left-width: 1px;
  }

/* c3.15 */
.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  border-top-style: dashed;
  border-top-width: 1px;
  background: transparent;
  text-align: right;
  }

/* c3.16 */


.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }

/* c3.17 */
.pl-email, .pl-website {
  float: left;
  }

/* c3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* c4 moderator menu
-------------------------------------------------------------*/

/* c4.1 */
.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
  }

/* c4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

/* c4.3 */
.punbb .modmenu .container strong {
  float: left;
  }

/* c4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }


/* c5 message boxes
-------------------------------------------------------------*/

/* c5.1 */
.punbb .info .container {
  padding: 0.8em 1em
  }

/* c5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }


/* c6 profile
-------------------------------------------------------------*/

/* c6.1 */
#profile .container {
  padding-left: 18.6em;
  }

/* c6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
  }

/* c6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
  }

/* c6.4 */
#viewprofile ul, #profilenav ul {
  border-style: solid;
  border-width: 1px;
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
  }

/* c6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
  }

/* c6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }

/* c6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

/* c6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  }

/*c6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* c6.10 */
#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
  }

/* c6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }


/* c7 user list
-------------------------------------------------------------*/

/* c7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* c7.2 */
#pun-userlist .usertable .container {
  padding: 0 2.3em 2.3em 2.3em;
  border-top: none;
  }

/* c7.3 */
#pun-userlist .usertable table {
  border-style: solid;
  border-width: 1px;
  }
/*************************************************************
d - punbb sections other than main content
**************************************************************/

/* d1 logo and description
-------------------------------------------------------------*/

/* d1.1 */
#pun-title {
  margin: 0;
  border-style: none none none none;
  border-width: 1px 1px 0 1px;
  }

/* d1.2 */
#pun-title h1 {
  display : block;
  height : 40px;
  padding: 2em 1em 0 1em;
  }

/* d1.3 */
#pun-title .container {
  border-style: none none none none;
  }

/* d1.4 */
#pun-title h1 span  {
  font-size: 1.5em;
  }

/* d1.4 */
#pun-title h1 span  {
  display: none;
  }

#pun-title h1 span  {
  font-size: 1.5em;
  }


/* d2 page navigation
-------------------------------------------------------------*/

/* d2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
  }

/* d2.2 */
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0}

/* d2.3 */
#pun-pagelinks .container li {
  display: inline
  }

/* d2.4 */
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float:left;
  width: 100%;
  }

/* d2.5 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position:relative;
  margin: 0;
  }

#pun-pagelinks li a span {
  display:block;
  margin: 0 1em
  }




/* d3 forum navigation
-------------------------------------------------------------*/

/* d3.1 */
#pun-navlinks, #pun-navlinks .container {
  border-style: none;
  border-width: 0;
  margin: 0;
  }

/* d3.2 */
#pun-navlinks .container {
  padding: 0.7em 1em;
  }

/* d.3 */
#pun-navlinks li {
  display: inline;
  padding-right: 1em;
  }

/* d3.4 */
#pun-navlinks li a {
  font-size: 1.0em;
  }

/* d4 user links
-------------------------------------------------------------*/

/* d4.1 */
#pun-ulinks  {
  margin-top: 0;
  }

/* d4.2 */
#pun-ulinks .container {
  border-top: none;
  padding: 0.7em 1em;
  }

/* d4.3 */
#pun-ulinks li, #pun-ulinks li a {
  display: inline;
  border-left-style: solid;
  border-left-width: 1px;
  white-space: nowrap;
  }

/* d4.4 */
#pun-ulinks li a {
  padding: 0 0.3em 0 0.6em
  }

/* d4.5 */
#pun-ulinks li.item1, #pun-ulinks li.item1 a {
  border-left-style: none;
  border-left-width: 0;
  padding-left: 0
  }

/* d5 welcome box and top breadcrumbs
-------------------------------------------------------------*/

/* d5.1 */
#pun-status, #pun-status .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* d5.2 */
#pun-status .container {
  padding: 0.8em 1em 1em 1em;
  }

/* d5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }

/* d5.4 */
#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
  }

/* d5.5 */
#pun-crumbs1 p.container {
  border-top: none;
  padding: 1em 1em 0.8em 1em;
  font-size: 1.1em;
  }

/* d5.6 */
#pun-break1 {
  margin: 0 1em;
  border-style: solid none;
  border-width: 1px 0;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  }

/* d6 announcement
-------------------------------------------------------------*/

/* d6.1 */
#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border-style: none none solid none;
  border-width: 0 0 1px 0;
  position: relative;
  font-weight: bold;
  }

/* d6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  }

/* d6.3 */
#pun-announcement .container {
  padding: 4.3em 1em 1em 1em;
  }

/* d7 statistics
-------------------------------------------------------------*/

/* d7.1 */
#pun-stats .container {
  padding: 0.8em 1em
  }

/* d7.2 */
#pun-stats li.item1, #pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 150%;
  }

/* d7.3 */
#pun-stats li.item3, #pun-stats li.item4 {
  text-align: right;
  line-height: 150%;
  }

/* d7.4 */
li#onlinelist {
  margin-top: 1em;
  border-top-style: solid;
  border-top-width: 1px;
  float: left;
  width: 100%;
  line-height: 130%;
  }

/* d7.5 */
li#onlinelist div {
  border-top-style: solid;
  border-top-width: 1px;
  padding: 0.7em 0 0 0;
  }

/* d8 quick jump - about - bottom breadcrumbs
-------------------------------------------------------------*/

/* d8.1 */
#pun-qjump {
  margin: 0;
  border: none;
  width: 50%;
  position: relative;
  float: left;
  }

/* d8.2 */
#pun-qjump .container {
  border: none;
  background: transparent;
  padding: 0.8em 1em;
  }

/* d8.3 */
#pun-about {
  margin-top: 0;
  }

/* d8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: right;
  line-height: 150%;
  padding: 0.8em 1em;
  }

/* d8.5 */
#pun-about p span {
  display:block;
  padding-left: 50%;
  }

/* d8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  }

/* d8.7 */
#pun-crumbs2 .container {
  border-bottom: none;
  padding: 0.8em 1em;
  font-size: 1.1em;
  }

/* d8.8 */
#pun-break4 {
  margin: -2px 1em;
  border-style: solid none;
  border-width: 1px 0;
  position: relative;
  height: 0;
  z-index: 1;
  }

/* d8.9 */
div.punbb-admin #pun-about .container {
  border-top-style: solid;
  border-top-width: 1px;
  }


/* d9 help file
-------------------------------------------------------------*/

/* d9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* d9.2 */

#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  font-size: 1.1em;
  }

/* d9.3 */
#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em
  }

/* d9.4 */
#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em
  }

/* d9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%
  }

/* d9.6 */
#pun-help .formal li * {
  vertical-align: text-top
  }

/* d9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }
/* d9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
  }
Код:
/* cs1 фон и цвет текста*/

/* cs1.1 цвет текста на форуме */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3, #pun-navlinks .container,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend, .punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer, #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2, #pun-title, #pun-title .container, .punbb .modmenu .container, .punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span, .punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl, #pun-navlinks .container  { background-color: transpanent;
color: #302117;
font-weight: normal;
font-style: normal;}

/* cs1.2 боди или фон форума */
body {background-color: #000000;  background-image: url(адрес); background-position: top center; }

/* cs1.3 шапка */
#pun-title table {
background-image : url(http://savepic.su/2241179.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
height: 300px;
width: 812px;}

/* cs1.4 пан или "тело" форума */
#pun {background-color: #dddddd; background-image: url(http://savepic.su/2250819.png);}

/* cs1.5 футер\копирай\низ */

/* cs1.6 ссылки верхней навигации*/
#pun-navlinks .container { 
text-align: center top; 
text–transform: uppercase;  
position: center;
background-color: 302117; 
background-image: url();
z-index: 1000;
top: 360px;
left: 170px;}


#pun-ulinks .container { 
text-align: center; 
position: center; 
top: 380px;}

/* cs2 ссылки */

/* cs2.1 */
.punbb a, .punbb a:link, .punbb a:visited,
.punbb-admin #pun-admain a, .punbb-admin #pun-admain a:link, .punbb-admin #punbb-admain a:visited, .punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #302117;
  text-decoration: bold;}

/* cs2.2 */
.punbb a:hover, .punbb a:focus, .punbb a:active,  .punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active {
  color: #894d25; 
  text-decoration: bold;}

/* cs2.3 */
#pun-navlinks a {
  color: #302117;
  font-family: Verdana;
  text-transform: uppercase;}

/* cs2.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #894d25;
  text-decoration: bold;}
  text–transform: none;}

/* CS4 Post status icons
 -------------------------------------------------------------*/
#pun-main div.catleft, #pun-main div.catright {display: none}
#pun-index .modlist {display: none; }

.punbb table Div.icon {float: right; display: block; width: 90px; height: 40px; border-style: none; background-image: url(http://savepic.net/3244273m.png);  background-repeat: no-repeat; position: relative; margin-left: 1px;}
.punbb table div.inew {background: url(http://savepic.net/3261681m.png) no-repeat; position: relative; margin-left: 1px;}
TR.isticky Div.icon {background: url(http://savepic.net/3257585m.png) no-repeat; position: relative; margin-left: 1px;}
TR.iclosed Div.icon {background: url(http://savepic.org/2425216m.png) no-repeat; 
position: relative; margin-left: 1px;}
#pun-stats ul.container {
background-image: url("http://uploads.ru/i/t/h/2/th2Kc.png");
background-attachment: scroll;
background-clip: border-box;
background-color: transparent;
background-origin: padding-box;
background-position: 10px 10px;
background-repeat: no-repeat;
background-size: auto;
padding-left: 80px;
padding-top: 15px;
}
}
#pun-main h1 span { font-size: 0px;}





#pun-stats h2, .punbb .main h2 {text-align: center; font-size: 0em; }

#pun-announcement.section h2 span {display: none; }
#pun-title .title-logo span {display: none;}

.blockquote, .blockcode, .scrollbox, pre {border:none; }

/* cs5 прочие элементы */

/* cs5.1 статус картинки со статистикой 24*/
#pun-stats ul.container { 
background-attachment: scroll;
background-clip: border-box;
background-color: transparent;
background-image: url("http://savepic.su/2291354m.png");
background-origin: padding-box;
background-position: 10px 10px;
background-repeat: no-repeat;
background-size: auto;
padding-left: 90px;
padding-top: 5px;}

/* cs5.2 статус картинки с надписью "статистика" над статистикой форума*/
#pun-stats.section h2 { 
background-attachment: scroll;
background-clip: border-box;
height: 50px;
width: 812px;
background-color: transparent;
background-image: url("http://savepic.net/3222768.png");
background-origin: padding-box;
background-position: 50% 0%;
background-repeat: no-repeat;
background-size: auto;
font-size: 0px;}

/* cs5.3 цитаты и коды в сообщениях*/
.punbb textarea, .punbb select .post-content .punbb input {
background-image : url(http://i.imgur.com/WGVPv.jpg); 
border: 1px solid #a09684;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
color: #2a2f37
}

/* закругленные края цитаты и кода с тенью */


.punbb input { border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
box-shadow: 0px 0px 0px;}

/* cs5.4 область для ввода текста в форме ответа и админке */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
background: url(http://i.imgur.com/WGVPv.jpg);
color: #2a2f37;
border: 1px solid #a09684;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;2a2f37
 }

/* cs5.5 двигаем верхний баннер */
}

/* cs5.6 совсем другое */
#pun-main div.catleft, #pun-main div.catright {display: none}
#pun-announcement .container {margin-top: -2em}
#pun-main .post-author ul {text-align: center}
#pun-announcement h2 {display: none}
#pun-status .container, #pun-main .post-links li {text-align: center;}
#pun th, #pun-main h2 {text-align: center}
#pun-crumbs1 .container { text-align: center;}
#pun-navlinks .container, #pun-ulinks .container { text-align: center;}

#pun-category1.category h2 {
background: url(http://savepic.net/3215600.png) no-repeat top center;
height: 50px;
font-size:6 !important;
margin: 20px -18px 0px 0px;
}

#pun-category2.category h2 {
background: url(http://savepic.net/3216624.png) no-repeat top center;
height: 50px;
font-size:0 !important;
margin: 20px -18px 0px 0px;
}

#pun-category3.category h2 {
background: url(http://savepic.net/3270899.png) no-repeat top center;
height: 50px;
font-size:0 !important;
margin: 20px -18px 0px 0px;
}

#pun-category4.category h2 {
background: url(http://savepic.net/3268851.png) no-repeat top center;
height: 50px;
font-size:0 !important;
margin: 20px -18px 0px 0px;
}

#pun-category5.category h2 {
background: url(http://savepic.net/3269875.png) no-repeat top center;
height: 50px;
font-size:0 !important;
margin: 20px -18px 0px 0px;
}

#pun-category6.category h2 {
background: url(http://savepic.org/2463164.png) no-repeat top center;
height: 50px;
font-size:0 !important;
margin: 20px -18px 0px 0px;
}

#pun-category7.category h2 {
background: url(http://savepic.net/3217295.png) no-repeat top center;
height: 50px;
font-size:0 !important;
margin: 20px -18px 0px 0px;
}

0

2

Код:
<!-- не показывать награды -->
<style>
li#navawards {display: none;}
</style>

<!-- сдвиг рекламы -->
<style>#pun-title table tbody tr .title-logo-tdr {position: absolute; z-index: 1; left:-20px; top:240px
}</style>
Код:
<center><link rel="stylesheet" type="text/css" href="http://i.rusff.me/f/ru/rusff/spoiler_banner.css" />
<div class="main" id="spo_all"><div class="category" id="spo_top" onclick="obj=this.parentNode.childNodes[1].style; tmp=(obj.display!='block') ? 'block' : 'none'; obj.display=tmp; return false;"><h2><center><img src="http://savepic.net/3196753.png" style="margin-bottom: 0px; margin-left: -21px;"></center></h2></div><div id="spoiler4">
баннеры</div></div></center></div>
<script type="text/javascript">
var player;
$(function(){
$('td#button-code').before('<td style=\'background-image:url("http://uploads.ru/i/W/Q/P/WQPBO.gif")\' onclick="tag_play()"><img src="/i/blank.gif" title="Загрузить музыку"></td>');
$("div.post-content").map(function () {
text = $(this).html(); 
if(text.indexOf("zippyshare.com") != -1) {
player = /\[audio\]http:\/\/www(\d+)\.zippyshare\.com\/v\/(\d+)\/file\.html\[\/audio\]/gi
$(this).html(text.replace(player, "<br /><embed type='application/x-shockwave-flash' src='http://api.zippyshare.com/api/mediaplayer/mediaplayer.swf' flashvars='height=20&amp;width=400&amp;file=http://www$1.zippyshare.com/downloadMusic%3Fkey%3D$2%26&amp;volume=80&amp;autostart=false&amp;frontcolor=0x000000&amp;backcolor=0xffffff&amp;lightcolor=0x000000&amp;type=flv' quality='high' menu='false' wmode='transparent' allowscriptaccess='always' height='20' width='400' name='mp3player' border='0' style='margin-bottom: 6px;'/>"));}
if(text.indexOf("promodj.ru") != -1) {
player = /\[audio\]http:\/\/(.*?)\.promodj\.ru\/(.*?)\/(\d+)\/(.*?)\.html\[\/audio\]/gi
$(this).html(text.replace(player, "<br /><embed src='http://i.cdn.promodeejay.net/swf/bigwaveplayer_release9.swf' type='application/x-shockwave-flash' wmode='transparent' width='100%' height='150' allowFullScreen='true' flashvars='link=http%3A%2F%2Fpromodj.ru%2Fprelisten%2F$3%2Fbobmarley%3Fwtf%3D0.41394098338022567%26no_external%3D1&amp;wave=http%3A%2F%2Fpromodj.ru%2Fwaveform_prelisten%2F$3%2Fbobmarley.png%3Fwtf%3D0.41394098338022567%26stub%3D1&amp;slowChannel=1&amp;autostart=0&amp;volumePercent=100&amp;wavecolor=12982542'></embed>"));
}
if(text.indexOf(".mp3") != -1) {
player = /\[audio\](.*?)\[\/audio\]/gi
$(this).html(text.replace(player, "<br /><embed src='http://www.demo-music.ru/pleer/pleer4.swf' type='application/x-shockwave-flash' allowscriptaccess='always' wmode='transparent' flashvars='comment=demo-music.ru&amp;st=http://www.demo-music.ru/pleer/style_pleer.txt&amp;file=$1' width='470' height='33'>"));
}  });  });
function tag_play()
{var FoundErrors = '';
var enterURL = prompt("Введите ссылку на на музыку с promodj.ru, zippyshare.com или прямую ссылку формата .mp3 ", "http://");
if (!enterURL)
{FoundErrors += " " + error_no_url;}
if (FoundErrors)
{alert("Ошибка!" + FoundErrors);
return;}
insert("[audio]" + enterURL + "[/audio]");}
</script>
<style>
.punbb .quote-box, .punbb .code-box {
border-radius:15px;
-webkit-border-radius:15px;
-khtml-border-radius:15px;
-moz-border-radius:15px;
-o-border-radius:15px;
box-shadow: 0px 5px 18px #000;
-webkit-box-shadow:0px 5px 18px #000;
-khtml-box-shadow:0px 5px 18px #000;
-moz-box-shadow:0px 5px 18px #000;
}
</style>
<script type="text/javascript">
if (document.URL.indexOf("viewforum")!=-1)
{var trs=document.getElementById('pun-main').getElementsByTagName("table")[0].rows
var io=1
for (io=1; io<=(trs.length-1); io++)
{if ((trs[io].className.indexOf("isticky")!=-1)&&(io==1))
{var portant=document.getElementById('pun-main').getElementsByTagName("table")[0].insertRow(1)
var im=portant.insertCell(0)
im.innerHTML="Важные темы"
im.style.color="#000000"
im.style.backgroundColor=""
im.colSpan="4"}
else if ((trs[io].className.indexOf("isticky")!=-1)&&(trs[io+1].className.indexOf('isticky')==-1))
{var normal=document.getElementById('pun-main').getElementsByTagName("table")[0].insertRow(io+1)
var normal1=normal.insertCell(0)
normal1.innerHTML="Темы форума"
normal1.style.color="#000000"
normal1.style.backgroundColor=""
normal1.colSpan="4"
}}}
</script>
<style type="text/css">
.lastedit {display:none}
</style>


<script type="text/javascript">
var fld = document.getElementsByClassName("pa-fld1")
for(i=0;i<fld.length;i++){
fld[i].innerHTML=fld[i].innerHTML.substring(fld[i].innerHTML.indexOf(":")+1)
}
</script>
<script type="text/javascript">
var fld = document.getElementsByClassName("pa-fld2")
for(i=0;i<fld.length;i++){
fld[i].innerHTML=fld[i].innerHTML.substring(fld[i].innerHTML.indexOf(":")+1)
}
</script>
<script type="text/javascript">
function select_text(elem) {
	if(window.getSelection) {   
var s=window.getSelection();   
if(s.setBaseAndExtent){   
	s.setBaseAndExtent(elem,0,elem,elem.innerText.length-1);   
}
else {   
	var r=document.createRange();   
	r.selectNodeContents(elem);   
	s.removeAllRanges();   
	s.addRange(r);
}   
	}
	else if(document.getSelection){   
var s=document.getSelection();   
var r=document.createRange();   
r.selectNodeContents(elem);   
s.removeAllRanges();   
s.addRange(r);   
	}
	else if(document.selection){   
var r=document.body.createTextRange();   
r.moveToElementText(elem);   
r.select();
	}   
}
</script>
<script type="text/javascript">
var div = document.getElementById('pun-main').getElementsByTagName('div');
for(x in div){
	if(div[x].className=='code-box'){
div[x].getElementsByTagName('strong')[0].innerHTML = '<a href="#" onclick="select_text(this.parentNode.parentNode.childNodes[1].getElementsByTagName(\'pre\')[0]); return false;">Выделить код</a>';
	}
}
</script>
<script type="text/javascript">
PiarNik="PR";
PiarPas="1111";

var L="<div id=\"PR_loginDiv\" style=\"display:none;\">\
<form id=\"form_login\" name=\"login\" method=\"post\" action=\"login.php?action=in\" onsubmit=\"return check_form()\">\
<fieldset>\
<input type=\"hidden\" name=\"form_sent\" value=\"1\"/>\
<input type=\"text\" id=\"fld1\" name=\"req_username\" size=\"21\" maxlength=\"25\"/>\
<input type=\"text\" id=\"fld2\" name=\"req_password\" size=\"7\" maxlength=\"16\"/>\
<input type=\"submit\" class=\"button\" name=\"login\"/>\
</fieldset>\
</form>\
</div>\
<li id=\"navpiar\"><span id=spMyimg style=\"cursor:pointer;\"><a onclick=\"PiarIn()\">Пиар-Вход</a></span></li>";
if($("#navlogin").html()!=null){

$("#navlogin").after(L) //navlogin
$("#PR_loginDiv #fld1").val(PiarNik)
$("#PR_loginDiv #fld2").val(PiarPas)
function PiarIn () {$("#PR_loginDiv input[type='submit']").click();}
}
</script>
<script type="text/javascript">
var nrisunok="https://forumupload.ru/uploads/0000/0a/f2/68797-1.gif";
if( (document.getElementById("navpm").innerHTML.indexOf("(") != -1))
{
document.getElementById("navpm").innerHTML="<img src='"+nrisunok+"'> "+document.getElementById("navpm").innerHTML;
};
</script>
<div style="position:fixed; right
:90%; bottom: 20%;">
<a href=#top onClick="scrollTo(0,0); return false;" title="Вверх страницы">
<img src="http://savepic.su/2164470m.png" alt="Вверх страницы" ></a>
<br/>
<a href=#top onClick="scrollTo(0, document.body.scrollHeight); return false;" title="Вниз страницы">
<img src="http://savepic.org/2341465m.png" alt="Вниз страницы" >
</a>
</div>

0


Вы здесь » test for _n o i r * » скрипты » дизайн


Рейтинг форумов | Создать форум бесплатно