Pastebin PRO Accounts EASTER SPECIAL! For a limited time only get 40% discount on a LIFETIME PRO account! Offer Ends April 2nd!
SHARE
TWEET
TPB new design
a guest
Mar 30th, 2016
964
in 4 days
- /*
- The Pirate Bay - main style sheet for new thepiratebay.se design. Version March 2016. Projected release: April 11
- */
- /* HTML5 - set default style to new HTML5 elements (for compability with older browsers) */
- article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
- { display: block; color: #33FE33; }
- /* GLOBAL
- ***************************************************/
- body {
- background: #0A0D09;
- margin: 10px;
- font: 1.2em/1.3em VT323;
- }
- /* sprites */
- .sp {
- background: url('static/img/latest.png') no-repeat;
- display: inline-block;
- height: 12px;
- width: 11px;
- margin: 0 0 -3px 0;
- }
- .dl-torrent {
- background-position: -36px -111px;
- margin: 0 3px -3px 0;
- }
- .dl-magnet {
- background-position: -46px -111px;
- margin: 0 3px -1px 0;
- width: 13px;
- }
- .vip { background-position: -13px -99px; }
- .trus { background-position: -1px -99px; }
- .help { background-position: -25px -99px; }
- .admin, .mod, .smod {
- height: 11px;
- width: 28px;
- }
- .admin { background-position: 0 -87px; }
- .smod { background-position: -27px -87px; }
- .mod { background-position: -54px -87px; }
- .twitter {
- background-position: -44px -123px;
- height: 16px;
- width: 16px;
- }
- #write_comment {
- background-position: -25px -110px;
- height: 10px;
- margin: 0 4px -1px 0;
- }
- #tools {
- max-width: 728px;
- margin: 1em auto -1em auto;
- text-align: right;
- line-height: 30px;
- clear: both;
- overflow: hidden;
- }
- #tools form {
- float: left;
- background: #0A0D09;
- padding: 0px 5px;
- }
- #delete a { color: #f00; }
- #check a { color: #33FE33; }
- #check a:hover, #checked { color: #090; }
- /* links */
- a, a:link, a:visited, a:focus {
- color: #33FE33;
- text-decoration: none;
- border-bottom: 1px none #33FE33;
- }
- a:hover { border-bottom: 1px solid #33FE33; } /* default link hover style */
- #icons a, h1 a:hover, .sp, tr a, #logo a { border-bottom: 0 !important } /* however, we dont want none links here.. */
- table a:hover { text-decoration: underline; }
- .download a:hover { text-decoration: none !important; border-color: #090; }
- img, img:hover { border-bottom: 0 !important; }
- /* tables */
- table {
- border-collapse: collapse;
- empty-cells: show
- }
- th {
- border-right: 1px solid #0A0D09;
- padding: 4px;
- }
- td { padding: 4px; }
- /* lists */
- ul { list-style:none; }
- /* misc */
- hr {
- border: 0;
- border-top: 1px solid #ddd;
- }
- /* forms */
- fieldset { border:0; }
- legend { display:none; }
- /* messages */
- #error {
- border: 1px solid #0A0D09;
- border-width: 1px 0 1px 0;
- color: #c00;
- margin: 2em auto;
- padding: 9px 20px;
- color:#444;
- }
- #error span {
- display:block;
- font-weight: normal;
- margin:3px 0 5px 0;
- color: #a00;
- }
- #info {}
- /* headings */
- h1 {}
- h2 {
- width: 98%;
- background: #0A0D09;
- border-bottom: 1px solid #33FE33;
- padding: 4px 0.5%;
- clear: both;
- font-size: 125%;
- }
- /* top navigation */
- #logo a
- {
- background: url('static/img/latest.png') 0px 0px no-repeat;
- height: 86px;
- width: 82px;
- margin: -12px 10px 0 0;
- float: left;
- }
- #logo span { display: none; }
- header nav
- {
- margin: -5px 0 0 -8px;
- padding: 0;
- float: left;
- }
- header nav ul
- {
- padding: 0;
- margin: 0;
- }
- header nav ul li
- {
- float: left;
- padding: 0 9px;
- line-height: 11px;
- border-right: 1px solid #333;
- }
- header nav ul li:last-child { border: 0; }
- /* top search */
- #topsearch
- {
- margin: 0;
- padding: 0;
- float: left;
- }
- #topsearch form>input { margin-bottom: 5px; }
- #topsearch label {
- padding: 0;
- margin: 0 5px 0 0;
- }
- #topsearch label input {
- position: relative;
- top: 5px;
- margin: 0 3px 0 0;
- vertical-align: top;
- }
- /* ads */
- .ads,
- .ads iframe {
- padding: 0;
- margin: 0;
- overflow: hidden;
- z-index: -999;
- }
- #top468 {
- float: right;
- margin: -15px 1em -25px 0;
- width: 468px;
- }
- #right-sky,
- #left-sky {
- margin-top: 2em;
- width: 180px;
- }
- #right-sky { float: right; }
- #left-sky { float: left; }
- #right-sky iframe {
- margin-left: 20px;
- text-align: left;
- }
- #left-sky iframe {
- margin-right: 20px;
- text-align: right;
- float: right;
- }
- #bottom728,
- #top728 {
- margin: auto;
- width: 728px;
- }
- /* footer */
- footer {
- margin: 0em auto;
- text-align: center;
- }
- footer #stats {
- color: #666;
- font-size: .9em;
- clear: both;
- margin: 2em 0;
- }
- .rss span, .kopimi span { display: none; }
- .rss {
- background-position: 0px -124px;
- width:16px;
- height: 16px;
- }
- .kopimi {
- background-position: -60px -111px;
- width:21px;
- height: 21px;
- margin: 1em 0 0 0;
- }
- /* PAGE SPECIFIC
- ***************************************************/
- /* front page */
- #fp {
- display: block;
- margin: 0 auto 20px auto;
- text-align: center;
- color: #33FE33;
- }
- #fp h1 a {
- background: url('static/img/tpb.png') no-repeat;
- margin: 0 auto;
- display: block;
- border: 0;
- width: 275px;
- height: 295px;
- outline: none !important;
- }
- #fp h1 a span { visibility: hidden; }
- #fp #bnr a {
- height:205px;
- width:205px;
- position: absolute;
- top:0;
- right:0;
- border: 0;
- }
- #fp #bnr img { border: 0; }
- #fp #navlinks { white-space: nowrap; }
- #fp #navlinks a { margin: 0 2px; }
- #fp #inp input {
- padding: 3px;
- width: 390px;
- }
- .https_form { background: url('static/img/icon-https.gif') no-repeat 100% 50% #0A0D09; }
- #fp #inp span {
- width: 1em;
- line-height:12px;
- float:right;
- font-size:9px;
- position: absolute;
- padding: 0 15px;
- }
- #fp #howdl a {
- font-size: 13px;
- line-height: 20px;
- border: 0;
- }
- /* details & upload */
- #details,
- #upload {
- background: #0A0D09;
- margin: 2em auto;
- padding: 0 1.5em 0.5em 1.5em;
- max-width: 625px;
- /*max-width: 694px;*/
- overflow: hidden;
- }
- #details h1, #upload h1 {
- margin: 0 -1.5em;
- padding: .4em 1em .6em 1.5em;
- font-size: 1.2em;
- font-weight: normal;
- letter-spacing: 0.07em;
- background: #33FE33;
- border-bottom: 1px solid #0A0D09;
- }
- #details h1 span { float: right; }
- #details dl {
- float: left;
- margin: .9em 3%;
- width: 43%;
- clear: right;
- line-height: 140%;
- }
- #details dt {
- float: left;
- font-weight: normal;
- color: #33FE33;
- }
- #details #col1 dd { padding: 0 0 0 20%; }
- #details #col2 dd { padding: 0 0 0 30%; }
- #delete a, #check a, #checked, #edit a {
- font-weight: normal;
- padding: 3px 9px;
- background: #33FE33;
- }
- #details #write_comment_div {
- display: none;
- text-align: right;
- padding: 2em 0 0 0;
- clear: both;
- }
- #details #write_comment_div textarea { resize: both; }
- #social {
- padding: 10px 0;
- float: left;
- line-height:12px;
- }
- #social * {
- float: left;
- margin-right: 5px;
- border: 0;
- }
- #social .flattr { float: right; }
- #details .download, #details #social {
- clear: both;
- width: 460px;
- }
- #details .download a {
- font: normal 1em/2.5em VT323;
- color: #090;
- margin-right: 10px;
- text-transform: uppercase;
- }
- #details .download a:hover { text-decoration: underline; }
- #details .download a.dl-torrent { background-position: 0 -398px; }
- #details .download a.dl-magnet {
- background-position: 0 -421px;
- margin-left: 1em;
- }
- #details #nfo pre, #upload .nfo {
- margin: 0;
- padding: 10px;
- border: 1px solid #33FE33;
- background: #0A0D09;
- width: 600px;
- min-height: 50px;
- font-family: 'VT323', ;
- font-size: 20px;
- line-height: .9em;
- white-space: pre-wrap;
- /*word-wrap: break-word; # works with most browsers, but is not valid anymore */
- overflow-wrap: break-word;
- }
- #torrentpic {
- float: right;
- margin: 1em 1em 0 0;
- }
- #comments { font-size: 0.9em; }
- #comments header { margin: 1.5em 0 .3em 0; }
- #details #comments time { color: #33FE33; }
- #details #comments time:before { content: 'at '; }
- #details #comments time:after { content: ':'; }
- #details #comments div { background: #0A0D09; }
- #comments h2 {
- color: #33FE33;
- background: none;
- padding: 0;
- border: 0;
- margin: 1em 0;
- }
- /* upload */
- #upload table { width: 100%; }
- #upload td {
- border-bottom: 1px dashed #33FE33;
- padding: 0.7em 1em 0.9em 0;
- width: 20%;
- }
- #upload tr:nth-last-child(-n+2) td { border:0; } /* no borders between and after descripton and submit on upload page */
- #upload td+td {
- width: 70%;
- border-color: #Efe3D9;
- }
- #upload label {
- font-weight: normal;
- color: #33FE33;
- }
- #upload #tname, #upload #torrent { width: 83.5%; }
- #upload .moreinfo {
- font-size: 80%;
- display: block;
- position: absolute;
- }
- #upload select { width:200px; }
- #upload input#torrent { width:300px; }
- #upload textarea.nfo {
- overflow: auto;
- resize: vertical;
- margin-top: 10px;
- min-height: 300px;
- }
- /* browse table */
- table#list {
- width: 100%;
- margin: 2em auto;
- max-width: 999px;
- }
- table#list th {
- background: #33FE33;
- text-align: left;
- height: 1em;
- white-space: nowrap;
- }
- table#list th a { color: #33FE33; }
- table#list tr { background: #0A0D09; }
- table#list tr:hover { background: #0A0D09; }
- .tar { text-align: right; } /* what's this again? */
- .tal { text-align: right; } /* what's this again? */
- #viewswitch { font-weight: normal; }
- #viewswitch a { font-weight: normal; }
- table#list span.has-cover {
- background-position: 0 -111px;
- width: 12px;
- }
- table#list span.has-comment { background-position: -13px -111px; }
- table#list a.dl-torrent span,
- table#list a.dl-magnet span,
- table#list span.has-comment span,
- table#list span.has-cover span { display: none; }
- table#list .dl-torrent { margin: 0 -1px -3px 0; }
- table#list .dl-magnet { margin: 0 -0px -2px 0; }
- /* forms */
- #login, #register, #recover {
- margin: 0 auto 3em auto;
- max-width: 330px;
- }
- .form input {
- float: right;
- }
- .form input[type="submit"] {
- margin-top: 0.5em;
- }
- .form_msg {
- text-align: right;
- }
- /* settings (profile) */
- #settings table {
- margin: 0 auto 3em auto;
- border: 0px solid #333;
- }
- #settings table tr > * {
- text-align: left;
- padding: 0.2em 1em;
- }
- /* public profile */
- #pubpro {
- border: 1px solid #333;
- min-height: 300px;
- }
- #pubpro ul {
- text-align: center;
- }
- #pubpro ul li {
- float: left;
- padding: 0 5px;
- }
- #pubpro #pic {
- padding: 5px;
- border: 1px solid #f4f4f4;
- float: left;
- clear: both;
- }
- .css-input { border-width:2px; border-style:solid; background-color:#33fe33; border-color:#33fe33; color:#0a0d09; font-size:20px; padding:2px; border-radius:0px; box-shadow: 0px 0px 0px 0px rgba(42,42,42,.0); font-family:VT323; }
- .css-input:focus { outline:none; }
- ::-webkit-input-placeholder {
- color: #0a0d09;
- }
- :-moz-placeholder {
- color: #0a0d09;
- }
- ::-moz-placeholder {
- color: #0a0d09;
- }
- :-ms-input-placeholder {
- color: #0a0d09;
- }
- /* Different color for some fields */
- #name_2::-webkit-input-placeholder,
- #textarea_2::-webkit-input-placeholder
- {
- color: #0a0d09;
- }
- #name_2:-moz-placeholder,
- #textarea_2:-moz-placeholder
- {
- color: #0a0d09;
- }
- #name_2::-moz-placeholder,
- #textarea_2::-moz-placeholder
- {
- color: #0a0d09;
- }
- #name_2:-ms-input-placeholder,
- #textarea_2:-ms-input-placeholder
- {
- color: #0a0d09;
- }
- .btn {
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- border-radius: 0px;
- font-family: VT323;
- color: #33FE33;
- font-size: 16px;
- background: #0A0D09;
- padding: 5px 10px 5px 10px;
- border: solid #33FE33 2px;
- text-decoration: none;
- }
- .btn:hover {
- text-decoration: none;
- }
- @-webkit-keyframes typing {
- from { width: 0 }
- to { width:7.8em }
- }
- @-moz-keyframes typing {
- from { width: 0 }
- to { width:7.8em }
- }
- @-webkit-keyframes blink-caret {
- from, to { border-color: transparent }
- 50% { border-color: #33FE33 }
- }
- @-moz-keyframes blink-caret {
- from, to { border-color: transparent }
- 50% { border-color: #33FE33 }
- }
- body { font-family: VT323; }
- h3 {
- text-align: center;
- font-size:150%;
- width:7.8em;
- white-space:nowrap;
- overflow:hidden;
- border-right: .1em solid #33FE33;
- -webkit-animation: typing 8s steps(19, end), /* # of steps = # of characters */
- blink-caret 1s step-end infinite;
- -moz-animation: typing 8s steps(19, end), /* # of steps = # of characters */
- blink-caret 1s step-end infinite;
- }
- input[type=checkbox] {
- width: 15px;
- height: 15px;
- background-repeat: no-repeat;
- background-position: center center;
- background-size: contain;
- -webkit-appearance: none;
- outline: 0;
- }
- input[type=checkbox]:checked {
- background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve"><path id="checkbox-3-icon" fill="#33FE33" d="M81,81v350h350V81H81z M227.383,345.013l-81.476-81.498l34.69-34.697l46.783,46.794l108.007-108.005 l34.706,34.684L227.383,345.013z"/></svg>');
- }
- input[type=checkbox]:not(:checked) {
- background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve"> <path id="checkbox-9-icon" fill="#33FE33" d="M391,121v270H121V121H391z M431,81H81v350h350V81z"></path> </svg>');
- }
RAW Paste Data
