@media screen and (max-width: 480px) {
html, body,
#pun, .punbb {
width: 100% !important;
min-height: 100%;
margin: 0;
padding: 0;
background-size: contain;
-webkit-text-size-adjust: none;
}
html {
height: 100%; }
body {
position: relative;
background-position: center 0;
}
td, th {
overflow: hidden;
}
input[type=text], input[type=password] {
max-width: 100%;
}
input{
padding: 10px;
}
select {
padding: 5px;
}
textarea {
font-size: 14px !important;
padding: 1.5% !important;
max-width: 95% !important;
}
#pun-index table, #pun-viewforum table {
table-layout: auto !important;
}
#pun-title {
margin: 0 auto !important;
}
#pun-title table {
height: auto !important;
}
#pun-title h1 {
max-height: 100px !important;
}
#pun-ulinks .container {
padding: 0 !important;
margin: 0 !important;
height: auto !important;
border: none !important;
text-align: left !important;
}
#pun-ulinks li {
display: block !important;
padding: 0 !important;
}
#pun-ulinks a {
display: block !important;
border: none !important;
font-size: 16px !important;
padding: 3px 6px !important;
}
#profilenav {
float: none !important;
}
#profile .container {
padding: 1em !important;
}
#pun-ulinks {
position: absolute !important;
border: 0 !important;
top: 10px !important;
line-height: 32px !important;
}
#pun-navlinks .container {
height: auto !important;
padding: 1em 0 !important;
text-align: center !important;
}
#pun-navlinks li {
padding: 0 !important;
margin: 0 !important;
line-height: 52px !important;
background-image: none !important;
}
#pun-navlinks a {
display: inline-block !important;
border: 0 !important;
padding: 0 !important;
}
#pun-ulinks, #pun-navlinks a {
width: 48px !important;
height: 48px !important;
-webkit-border-radius: 4px;
color: #fff;
background-image: url(https://forumstatic.ru/files/0015/65/c4/31664.png) !important;
background-color: rgba(0, 0, 0, 0.4);
background-repeat: no-repeat;
-webkit-box-shadow: 0 0 4px rgba(0,0,0,0.4) inset;
}
#pun-ulinks ul {
display: none;
-webkit-box-shadow: 0px 4px 10px rgba(0,0,0,0.7);
z-index: 5;
position: absolute;
top: 44px;
right: 0;
}
#pun-navlinks a span {
font-size: 0 !important;
}
#pun-ulinks {
right: 10px;
background-image: url(https://forumstatic.ru/files/0015/65/c4/31664.png);
background-position: center -576px;
}
#pun-ulinks:hover ul, #pun-ulinks:focus ul {
display: block;
}
#pun-stats ul.container {
padding: 5px !important;
background: none !important;
}
.category .tcl, .forum .tcl {
width: 60% !important;
}
.category .tcr, .forum .tcr {
position: relative;
width: 30% !important;
overflow: initial !important;
right: 40px;
text-align: right !important;
font-size: 11px;
}
.category .tcr a, .forum .tcr a {
display: block;
margin: 0 !important;
padding: 0 !important;
font-size: 0;
background: url(https://forumstatic.ru/files/0015/65/c4/31664.png) no-repeat center -618px;
border: 0 !important;
width: 30%;
height: 100%;
position: absolute;
top: 0;
right: -30%;
text-decoration: none !important;
}
.hasicon tr {
padding: 10px 10px;
border-top: 1px solid #e9edf1;
overflow: hidden;
}
#pun-title h1 {
padding: 0 !important;
}
.tclcon {
margin-left: 32px !important;
}
div.icon {
background-size: contain;
max-width: 24px;
max-height: 24px;
}
.byuser {
display: block;
}
#pun-viewforum .tcl .byuser:before {
content: "Автор темы:";
}
#pun-viewforum .tcr .byuser:before {
content: "Последнее сообщение от:";
}
#pun-status, #pun-break1, #pun-index #pun-crumbs1, #pun-crumbs2, #pun-break3, .category th, .category .tc2, .category .tc3, .forum th, .forum .tc2, .forum .tc3, #post-form legend {
display: none;
}
.post h3 span {
margin: 0 !important;
background: none !important;
text-align: left !important;
}
.post h3 span, .post-author {
background-color: rgba(128, 128, 128, 0.15) !important;
}
.post-body, legend, legend span {
margin: 0 !important;
}
.post-author {
float: none !important;
width: 100% !important;
margin: 0 !important;
padding-top: 10px;
border-bottom: 1px solid rgba(128, 128, 128, 0.20) !important;
overflow: initial !important;
}
.post-author ul {
padding: 0 1em !important;
}
.online .pa-author {
background: rgba(56, 155, 34, 0.5);
padding: 1px 3px !important;
}
.pa-reg,.pa-from,.pa-invites,.pa-respect,.pa-positive,.pa-time-visit,.pa-online,.pa-icq,.pa-sex,.pa-age,.pa-last-visit {
display: none !important;
}
.post-author li {
display: inline-block;
margin-right: 5px;
}
.pa-avatar {
float: left;
margin-top: -18px;
}
.pa-avatar img {
max-width: 40px;
max-height: 40px;
}
.formal .container, .formal fieldset, .usertable .container {
margin: 0 !important;
padding: 0 !important;
}
.fs-box .container {
width: 96% !important;
}
.formsubmit {
margin: 1em 0 !important;
}
#navindex a,
#navindex a:hover {
background-position: center 0 !important;
}
#navuserlist a,
#navuserlist a:hover {
background-position: center -48px !important;
}
#navrules a,
#navrules a:hover {
background-position: center -96px !important;
}
#navprofile a,
#navprofile a:hover {
background-position: center -144px !important;
}
#navsearch a,
#navsearch a:hover {
background-position: center -192px !important;
}
#navpm a,
#navpm a:hover {
background-position: center -240px !important;
}
#navadmin a,
#navadmin a:hover {
background-position: center -288px !important;
}
#navlogout a,
#navlogout a:hover {
background-position: center -432px !important;
}
#navregister a,
#navregister a:hover {
background-position: center -382px !important;
}
#navlogin a,
#navlogin a:hover {
background-position: center -336px !important;
}
#profile-left {
width: 35% !important;
}
#profile-left li {
text-align: center;
margin: 0 !important;
}
#viewprofile li strong, #profile-left li div {
background: transparent !important;
}
#profile-left #profile-name {
background-color: rgba(128, 128, 128, 0.15);
border-top: 4px solid rgba(128, 128, 128, 0.20) !important;
}
#viewprofile li strong {
display: block;
font-weight: 400 !important;
padding: 6px 1em;
}
#profile-left #profile-title {
background-color: rgba(128, 128, 128, 0.15);
}
#profile-left li img {
max-width: 100% !important;
height: 100% !important;
background-color: rgba(200, 200, 200, 0.2);
margin-top: 10px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
#profile-left li:nth-child(3) {
background-color: rgba(128, 128, 128, 0.15);
}
#profile-left li:last-child {
background-color: rgba(128, 128, 128, 0.15);
border-bottom: 4px solid rgba(128, 128, 128, 0.20);
}
#profile-right {
position: relative;
right: -4px;
}
#profile-right li {
display: inline-block !important;
background-color: rgba(128, 128, 128, 0.30) !important;
border-left: 4px solid rgba(128, 128, 128, 0.50) !important;
margin-bottom: 4px !important;
padding: 0 !important;
width: 100% !important;
}
#viewprofile li span {
float: none !important;
display: inline-block;
font-weight: 700;
padding: 10px 10px 5px;
margin: 0 0 10px;
}
#profile-right li strong {
font-size: 16px;
line-height: 1.1;
padding: 0 10px 10px !important;
}
#profile-right li strong a {
text-decoration: none;
border-bottom: 1px solid;
font-size: 11px;
}
}