Dimensiune Prosilver
Scris: 04-Mar-2013, 22:52:54
De curand am trecut pe prosilver si tema este pe toata pagina, vreau sa o fac ca aici ca pe phpBB, dar nu stiu unde sa pun width in common.css
forumul phpBB in limba romana. Opinii, implementari, ajutor, instructiuni si download.
https://phpbb3.ro/community/
Dap si vreau sa fac modific latimea temei.Neculai Anișor scrie:Adica cu colturi rotunjite?
Cod: Selectaţi tot
/* phpBB3 Style Sheet
--------------------------------------------------------------
Style name: Platinum
Based on style: prosilver (the default phpBB 3.0.x style)
Original author: Tom Beddard ( http://www.subblue.com/ )
Modified by: John Olson ( https://www.phpbb.com/community/viewtopic.php?f=185&t=2168509 )
--------------------------------------------------------------
*/
/* General Markup Styles
---------------------------------------- */
* {
/* Reset browsers default margin, padding and font sizes */
margin: 0;
padding: 0;
}
html {
font-size: 100%;
height: 100%;
}
body {
/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
font-family: Verdana, Helvetica, Arial, sans-serif;
color: #333;
background-color: #EEE;
/*font-size: 62.5%; This sets the default font size to be equivalent to 10px */
font-size: 10px;
margin: 0;
padding: 0;
height: 100%;
width: 800px
margin: 0 auto;
}
#container {
min-height: 100%;
min-width: 700px;
position: relative;
}
h1 {
/* Forum name */
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
margin-right: 200px;
color: #FFF;
margin-top: 15px;
font-weight: bold;
font-size: 2em;
}
h2 {
/* Forum header titles */
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-weight: normal;
color: #3f3f3f;
font-size: 2em;
margin: 0.8em 0 0.2em 0;
}
h2.solo {
margin-bottom: 1em;
}
h3 {
/* Sub-headers (also used as post headers, but defined later) */
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
text-transform: uppercase;
border-bottom: 1px solid #CCCCCC;
margin-bottom: 3px;
padding-bottom: 2px;
font-size: 1.05em;
color: #989898;
margin-top: 20px;
}
h4 {
/* Forum and topic list titles */
font-family: "Trebuchet MS", Verdana, Helvetica, Arial, Sans-serif;
font-size: 1.3em;
}
p {
line-height: 1.3em;
font-size: 1.1em;
margin-bottom: 1.5em;
}
img {
border-width: 0;
}
hr {
/* Also see tweaks.css */
border: 0 none #FFF;
border-top: 1px solid #CCCCCC;
height: 1px;
margin: 5px 0;
display: block;
clear: both;
}
hr.dashed {
border-top: 1px dashed #CCCCCC;
margin: 10px 0;
}
hr.divider {
display: none;
}
p.right {
text-align: right;
}
/* Main blocks
---------------------------------------- */
#wrap {
padding: 12px 20px;
min-width: 650px;
width: 80%; /* This changes the width of your style to a fluid 80%. */
margin: 0 auto; /* This center aligns your wrap width on the browser page */
background-color: #FFFFFF; /* Gives the wrap a white background */
-webkit-border-radius: 6px; /* The Rounded corners for Webkit-browsers */
-moz-border-radius: 6px; /* The Rounded corners for Firefox */
}
#simple-wrap {
padding: 6px 10px;
}
#header {
background: #09334F url("{T_THEME_PATH}/images/blue/headerblue.gif") repeat-x;
height: 92px;
}
#headerbar {
background: url("{T_THEME_PATH}/images/sprite2.gif") repeat-x 0 0;
height: 36px;
width: 100%;
}
#footerbar {
background: #343434 url("{T_THEME_PATH}/images/sprite2.gif") repeat-x 0 -82px;
height: 45px;
position: absolute;
bottom: 0;
width: 100%;
}
.headerbn {
background: url("{T_THEME_PATH}/images/sprite2.gif") repeat-x 0 0;
height: 36px;
width: 40px;
float: right;
cursor: pointer;
}
.headerbnl {
background: url("{T_THEME_PATH}/images/sprite2.gif") repeat-x 0 0;
height: 36px;
padding-left: 10px;
padding-right: 10px;
float: left;
cursor: pointer;
line-height: 34px;
}
.headerbnr {
background: url("{T_THEME_PATH}/images/sprite2.gif") repeat-x 0 0;
height: 36px;
padding-left: 10px;
padding-right: 10px;
float: right;
cursor: pointer;
line-height: 34px;
}
.headerbn:hover, .headerbnl:hover, .headerbnr:hover {
background: url("{T_THEME_PATH}/images/sprite2.gif") repeat-x 0 -41px;
}
#headerbar a:link, #headerbar a:visited, #headerbar a:active {
color: #AAA;
}
#headerbar a:hover {
color: #FFF;
}
.searchbn {
background: url("{T_THEME_PATH}/images/sprite1.png") no-repeat 0 -55px;
height: 14px;
left: 10px;
position: relative;
top: 10px;
width: 18px;
}
.pmbn {
background: url("{T_THEME_PATH}/images/sprite1.png") no-repeat 0 0;
float: left;
height: 13px;
margin-right: 10px;
position: relative;
top: 11px;
width: 17px;
}
.cpbn {
background: url("{T_THEME_PATH}/images/sprite1.png") no-repeat 0 -26px;
float: left;
height: 17px;
margin-right: 10px;
position: relative;
top: 9px;
width: 17px;
}
.logoutbn {
background: url("{T_THEME_PATH}/images/sprite1.png") no-repeat 0 -83px;
float: left;
height: 10px;
margin-right: 10px;
position: relative;
top: 12px;
width: 17px;
}
.faqbn {
background: url("{T_THEME_PATH}/images/sprite1.png") no-repeat 0 -135px;
float: left;
height: 17px;
margin-right: 10px;
position: relative;
top: 9px;
width: 14px;
}
.memberbn {
background: url("{T_THEME_PATH}/images/sprite1.png") no-repeat 0 -108px;
float: left;
height: 13px;
margin-right: 10px;
position: relative;
top: 11px;
width: 17px;
}
.registerbn {
background: url("{T_THEME_PATH}/images/sprite1.png") no-repeat 0 -168px;
float: left;
height: 15px;
margin-right: 10px;
position: relative;
top: 10px;
width: 11px;
}
.icononly {
margin-left: 5px;
margin-right: 5px !important;
}
.newpm {
background: url("{T_THEME_PATH}/images/newpm.png") no-repeat;
float: left;
height: 10px;
margin-right: -10px;
position: relative;
right: -12px;
top: 7px;
width: 10px;
z-index: 1;
}
.newpm2 {
background: url("{T_THEME_PATH}/images/newpm.png") no-repeat;
float: left;
height: 10px;
margin-right: -10px;
position: relative;
left: 17px;
top: 7px;
width: 10px;
z-index: 1;
}
.close {
display: none;
}
.logo {
margin-left: 20px;
color: #FFF;
}
.imagelogo {
margin-left: 20px;
}
.colorpick {
background: url("{T_THEME_PATH}/images/colors.png") no-repeat 0 -71px;
cursor: pointer;
float: right;
height: 14px;
width: 15px;
position: relative;
bottom: 2px;
}
#popup {
bottom: 5px;
float: right;
position: relative;
right: 15px;
}
.popup {
float: left;
margin-right: 10px;
}
.blue {
background: url("{T_THEME_PATH}/images/colors.png") no-repeat 0 0;
height: 14px;
width: 14px;
float: left;
margin-right: 7px;
z-index: 4;
cursor: pointer;
}
.red {
background: url("{T_THEME_PATH}/images/colors.png") no-repeat 0 -14px;
height: 14px;
width: 14px;
float: left;
margin-right: 7px;
z-index: 4;
cursor: pointer;
}
.green {
background: url("{T_THEME_PATH}/images/colors.png") no-repeat 0 -28px;
height: 14px;
width: 14px;
float: left;
margin-right: 7px;
z-index: 4;
cursor: pointer;
}
.pink {
background: url("{T_THEME_PATH}/images/colors.png") no-repeat 0 -42px;
height: 14px;
width: 14px;
float: left;
margin-right: 7px;
z-index: 4;
cursor: pointer;
}
.purple {
background: url("{T_THEME_PATH}/images/colors.png") no-repeat 0 -56px;
height: 14px;
width: 14px;
float: left;
z-index: 4;
cursor: pointer;
}
#header a:link, #header a:visited, #header a:active, #header a:hover {
color: #FFF;
text-decoration: none;
}
#footerbar a:link, #footerbar a:visited, #footerbar a:active {
color: #AAA;
}
#footerbar a:hover {
text-decoration: underline;
}
#page-body {
margin: 4px 0;
clear: both;
}
#page-footer {
clear: both;
}
#page-footer h3 {
margin-top: 20px;
}
#logo {
float: left;
width: auto;
padding: 10px 13px 0 10px;
}
a#logo:hover {
text-decoration: none;
}
/* Search box
--------------------------------------------- */
#search-box {
color: #AAA;
position: relative;
margin-left: 7px;
margin-right: 7px;
margin-top: 7px;
display: block;
float: right;
text-align: right;
white-space: nowrap; /* For Opera */
display: none;
}
#search-box #keywords {
width: 120px;
background-color: #222;
}
#search-box input {
border: 1px solid #555;
}
/* .button1 style defined later, just a few tweaks for the search button version */
#search-box input.button1 {
padding: 1px 5px;
}
#search-box li {
text-align: right;
margin-top: 4px;
}
#search-box img {
vertical-align: middle;
margin-right: 3px;
}
/* Site description and logo */
#site-description {
float: left;
}
#site-description h1 {
margin-right: 0;
}
/* Round cornered boxes and backgrounds
---------------------------------------- */
.headerbar {
background: #ebebeb none repeat-x 0 0;
color: #FFF;
margin-bottom: 4px;
padding: 0 5px;
}
.navbar {
background-color: #D4E3EC;
padding: 0 10px;
}
.forabg {
background: #09334F url("{T_THEME_PATH}/images/blue/bglistblue.gif") repeat-x;
margin-bottom: 4px;
padding: 0 5px;
clear: both;
}
.forumbg {
background: #09334F url("{T_THEME_PATH}/images/blue/bglistblue.gif") repeat-x;
margin-bottom: 4px;
padding: 0 5px;
clear: both;
}
.panel {
margin-bottom: 4px;
padding: 0 10px;
background-color: #FFF;
color: #3f3f3f;
}
.post {
padding: 0 10px;
margin-bottom: 4px;
background-repeat: no-repeat;
background-position: 100% 0;
}
.post:target .content {
color: #000;
}
.post:target h3 a {
color: #000;
}
.bg1 { background-color: #FFF; }
.bg2 { background-color: #FFF; }
.bg3 { background-color: #FFF; }
.rowbg {
margin: 5px 5px 2px 5px;
}
.ucprowbg {
background-color: #e2e2e2;
}
.fieldsbg {
/*border: 1px #DBDEE2 solid;*/
background-color: #eaeaea;
}
span.corners-top, span.corners-bottom, span.corners-top span, span.corners-bottom span {
font-size: 1px;
line-height: 1px;
display: block;
height: 5px;
background-repeat: no-repeat;
}
span.corners-top {
background-image: none;
background-position: 0 0;
margin: 0 -5px;
}
span.corners-top span {
background-image: none;
background-position: 100% 0;
}
span.corners-bottom {
background-image: none;
background-position: 0 100%;
margin: 0 -5px;
clear: both;
}
span.corners-bottom span {
background-image: none;
background-position: 100% 100%;
}
.headbg span.corners-bottom {
margin-bottom: -1px;
}
.post span.corners-top, .post span.corners-bottom, .panel span.corners-top, .panel span.corners-bottom, .navbar span.corners-top, .navbar span.corners-bottom {
margin: 0 -10px;
}
.rules span.corners-top {
margin: 0 -10px 5px -10px;
}
.rules span.corners-bottom {
margin: 5px -10px 0 -10px;
}
/* Horizontal lists
----------------------------------------*/
ul.linklist {
display: block;
margin: 0;
}
ul.linklist li {
display: block;
list-style-type: none;
float: left;
width: auto;
margin-right: 8px;
font-size: 1.1em;
line-height: 2.2em;
}
ul.linklist li.rightside, p.rightside {
float: right;
margin-right: 0;
margin-left: 5px;
text-align: right;
}
ul.navlinks {
padding-bottom: 1px;
margin-bottom: 1px;
border-bottom: 1px solid #F5F5F5;
}
ul.leftside {
float: left;
margin-left: 0;
margin-right: 5px;
text-align: left;
}
ul.rightside {
float: right;
margin-left: 5px;
margin-right: -5px;
text-align: right;
}
/* Table styles
----------------------------------------*/
table.table1 {
/* See tweaks.css */
}
#ucp-main table.table1 {
padding: 2px;
}
table.table1 thead th {
font-weight: normal;
text-transform: uppercase;
color: #FFF;
line-height: 1.3em;
font-size: 1em;
padding: 0 0 4px 3px;
}
table.table1 thead th span {
padding-left: 7px;
}
table.table1 tbody tr {
border: 1px solid #cfcfcf;
}
table.table1 tbody tr:hover, table.table1 tbody tr.hover {
background-color: #F4F5E6;
color: #000;
}
table.table1 td {
color: #333;
font-size: 1.1em;
}
table.table1 tbody td {
padding: 5px;
border-top: 1px solid #FAFAFA;
}
table.table1 tbody th {
padding: 5px;
border-bottom: 1px solid #000;
text-align: left;
color: #333;
background-color: #FFF;
}
/* Specific column styles */
table.table1 .name { text-align: left; }
table.table1 .posts { text-align: center !important; width: 7%; }
table.table1 .joined { text-align: left; width: 15%; }
table.table1 .active { text-align: left; width: 15%; }
table.table1 .mark { text-align: center; width: 7%; }
table.table1 .info { text-align: left; width: 30%; }
table.table1 .info div { width: 100%; white-space: normal; overflow: hidden; }
table.table1 .autocol { line-height: 2em; white-space: nowrap; }
table.table1 thead .autocol { padding-left: 1em; }
table.table1 span.rank-img {
float: right;
width: auto;
}
table.info td {
padding: 3px;
}
table.info tbody th {
padding: 3px;
text-align: right;
vertical-align: top;
color: #000;
font-weight: normal;
}
.forumbg table.table1 {
margin: 0;
}
.forumbg-table > .inner {
margin: 0 -1px;
}
.forumbg-table > .inner > span.corners-top {
margin: 0 -4px -1px -4px;
}
.forumbg-table > .inner > span.corners-bottom {
margin: -1px -4px 0 -4px;
}
/* Misc layout styles
---------------------------------------- */
/* column[1-2] styles are containers for two column layouts
Also see tweaks.css */
.column1 {
float: left;
clear: left;
width: 49%;
}
.column2 {
float: right;
clear: right;
width: 49%;
}
/* General classes for placing floating blocks */
.left-box {
float: left;
width: auto;
text-align: left;
}
.right-box {
float: right;
width: auto;
text-align: right;
}
dl.details {
/*font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;*/
font-size: 1.1em;
}
dl.details dt {
float: left;
clear: left;
width: 30%;
text-align: right;
color: #000;
display: block;
}
dl.details dd {
margin-left: 0;
padding-left: 5px;
margin-bottom: 5px;
color: #333;
float: left;
width: 65%;
}
/* Pagination
---------------------------------------- */
.pagination {
height: 1%; /* IE tweak (holly hack) */
width: auto;
text-align: right;
margin-top: 5px;
float: right;
}
.pagination span.page-sep {
display: none;
}
li.pagination {
margin-top: 0;
}
.pagination strong, .pagination b {
font-weight: normal;
}
.pagination span strong {
padding: 0 2px;
margin: 0 2px;
font-weight: normal;
color: #FFF;
background-color: #bfbfbf;
border: 1px solid #bfbfbf;
font-size: 0.9em;
}
.pagination span a, .pagination span a:link, .pagination span a:visited, .pagination span a:active {
font-weight: normal;
text-decoration: none;
color: #747474;
margin: 0 2px;
padding: 0 2px;
background-color: #EEE;
border: 1px solid #bababa;
font-size: 0.9em;
line-height: 1.5em;
}
.pagination span a:hover {
border-color: #d2d2d2;
background-color: #d2d2d2;
color: #FFF;
text-decoration: none;
}
.pagination img {
vertical-align: middle;
}
/* Pagination in viewforum for multipage topics */
.row .pagination {
display: block;
float: right;
width: auto;
margin-top: 0;
padding: 1px 0 1px 15px;
font-size: 0.9em;
background: none 0 50% no-repeat;
}
.row .pagination span a, li.pagination span a {
background-color: #F7F7F7;
}
.row .pagination span a:hover, li.pagination span a:hover {
background-color: #F7F7F7;
}
Cunosc tema asta si este bazata pe Prosilver, tocmai ce am verificatNeculai Anișor scrie:Da , faza e ca tu nu ai prosilver.
stylesheet.css
si sursa:
Cod: Selectaţi tot
/* phpBB3 Style Sheet
--------------------------------------------------------------
Style name: Platinum
Based on style: prosilver (the default phpBB 3.0.x style)
Original author: Tom Beddard ( http://www.subblue.com/ )
Modified by: John Olson ( https://www.phpbb.com/community/viewtopic.php?f=185&t=2168509 )
--------------------------------------------------------------
*/
@import url("common.css");
@import url("links.css");
@import url("content.css");
@import url("buttons.css");
@import url("cp.css");
@import url("forms.css");
@import url("tweaks.css");
@import url("colours.css");