Skip to content

Instantly share code, notes, and snippets.

@BrandonDusseau
Last active November 7, 2020 18:59
Show Gist options
  • Save BrandonDusseau/69148ad8ed3d09f610bd2e35e018ac00 to your computer and use it in GitHub Desktop.
Save BrandonDusseau/69148ad8ed3d09f610bd2e35e018ac00 to your computer and use it in GitHub Desktop.
Allan-Style Subsilver 3.3.x Patches - use `git apply < filename.patch` to apply to the base style
From fbb4d58196b0feb538d636bb5fa947038c8bd970 Mon Sep 17 00:00:00 2001
From: Brandon Dusseau <brandon.dusseau@gmail.com>
Date: Sat, 22 Aug 2020 19:27:52 -0400
Subject: [PATCH] Update style for 3.3.0
---
style.cfg | 6 +++---
template/navbar_header.html | 4 +++-
template/overall_footer.html | 4 ++--
template/overall_header.html | 5 ++++-
template/viewtopic_body.html | 9 ++++++++-
theme/colours.css | 7 ++++++-
theme/common.css | 1 +
theme/forms.css | 2 +-
theme/icons.css | 3 +--
theme/print.css | 2 +-
theme/stylesheet.css | 27 ++++++++++++++-------------
11 files changed, 44 insertions(+), 26 deletions(-)
diff --git a/style.cfg b/style.cfg
index e7f8bee..b9c70e3 100644
--- a/style.cfg
+++ b/style.cfg
@@ -20,9 +20,9 @@
# General Information about this style
name = AllanStyle-SUBSILVER
-copyright = © AS SKRS, 2020 zumaclub.ru
-style_version = 2.0.11
-phpbb_version = 3.2.9
+copyright = © AS SKRS, 2020 zumaclub.ru, 2020 Turaiel
+style_version = 3.0.0
+phpbb_version = 3.3.0
# Defining a different template bitfield
# template_bitfield = //g=
diff --git a/template/navbar_header.html b/template/navbar_header.html
index f6ce346..96ccd45 100644
--- a/template/navbar_header.html
+++ b/template/navbar_header.html
@@ -195,8 +195,10 @@
<span class="crumb" {$MICRODATA}><a href="{U_INDEX}" itemtype="https://schema.org/Thing" itemscope itemprop="item" accesskey="h" data-navbar-reference="index"><!-- IF not U_SITE_HOME --><i class="icon fa-home fa-fw"></i><!-- ENDIF --><span itemprop="name">{L_INDEX}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
<!-- BEGIN navlinks -->
+ {% set NAVLINK_NAME = navlinks.BREADCRUMB_NAME | default(navlinks.FORUM_NAME) %}
+ {% set NAVLINK_LINK = navlinks.U_BREADCRUMB | default(navlinks.U_VIEW_FORUM) %}
<!-- EVENT overall_header_navlink_prepend -->
- <span class="crumb" {$MICRODATA}<!-- IF navlinks.MICRODATA --> {navlinks.MICRODATA}<!-- ENDIF -->><a href="{navlinks.U_VIEW_FORUM}" itemtype="https://schema.org/Thing" itemscope itemprop="item"><span itemprop="name">{navlinks.FORUM_NAME}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
+ <span class="crumb" {$MICRODATA}<!-- IF navlinks.MICRODATA --> {navlinks.MICRODATA}<!-- ENDIF -->><a href="{{ NAVLINK_LINK }}" itemtype="https://schema.org/Thing" itemscope itemprop="item"><span itemprop="name">{{ NAVLINK_NAME }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
<!-- EVENT overall_header_navlink_append -->
<!-- END navlinks -->
<!-- EVENT overall_header_breadcrumb_append -->
diff --git a/template/overall_footer.html b/template/overall_footer.html
index c9575f2..6e6b88f 100644
--- a/template/overall_footer.html
+++ b/template/overall_footer.html
@@ -8,7 +8,7 @@
<div class="copyright">
<!-- EVENT overall_footer_copyright_prepend -->
- Style developer by <a href="https://zumaclub.ru/">Zuma Portal</a>,
+ Style developed by <a href="https://zumaclub.ru/">Zuma Portal</a>, Turaiel,
<p class="footer-row">
<span class="footer-copyright">{{ CREDIT_LINE }}</span>
</p>
@@ -65,7 +65,7 @@
</div>
<script src="{T_JQUERY_LINK}"></script>
-<!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!-- ENDIF -->
+<!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery-3.4.1.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!-- ENDIF -->
<script src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
<!-- INCLUDEJS forum_fn.js -->
<!-- INCLUDEJS ajax.js -->
diff --git a/template/overall_header.html b/template/overall_header.html
index 282f8db..fa21f60 100644
--- a/template/overall_header.html
+++ b/template/overall_header.html
@@ -29,6 +29,7 @@
Original author: Tom Beddard ( http://www.subBlue.com/ )
Modified by old: Merlin, Allan
Modified by : SKRS
+ Modified by : Turaiel
-->
<!-- IF S_ALLOW_CDN -->
@@ -83,7 +84,9 @@
<div class="inner">
<div id="site-description" class="site-description">
- <a id="logo" class="logo" href="<!-- IF U_SITE_HOME -->{U_SITE_HOME}<!-- ELSE -->{U_INDEX}<!-- ENDIF -->" title="<!-- IF U_SITE_HOME -->{L_SITE_HOME}<!-- ELSE -->{L_INDEX}<!-- ENDIF -->"><span class="site_logo"></span></a>
+ <a id="logo" class="logo" href="{% if U_SITE_HOME %}{{ U_SITE_HOME }}{% else %}{{ U_INDEX }}{% endif %}" title="{% if U_SITE_HOME %}{{ L_SITE_HOME }}{% else %}{{ L_INDEX }}{% endif %}">
+ <span class="site_logo"></span>
+ </a>
<h1>{SITENAME}</h1>
<p>{SITE_DESCRIPTION}</p>
<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
diff --git a/template/viewtopic_body.html b/template/viewtopic_body.html
index f558a60..97a1180 100644
--- a/template/viewtopic_body.html
+++ b/template/viewtopic_body.html
@@ -288,7 +288,7 @@
<!-- EVENT viewtopic_body_post_buttons_list_after -->
<!-- EVENT viewtopic_body_postrow_post_details_before -->
- <p class="author"><span class="posti"><a href="{postrow.U_MINI_POST}" onclick="prompt('{L_MESSAGE} #{postrow.POST_NUMBER}',this.href); return false;">#{postrow.POST_NUMBER}</a></span>
+ <p class="author"><span class="posti"><a href="{postrow.U_MINI_POST}" onclick="prompt('{L_MESSAGE} #{postrow.POST_NUMBER}',this.href); return false;">#{postrow.POST_NUMBER}</a></span>
<!-- IF S_IS_BOT -->
<span><i class="icon fa-file fa-fw <!-- IF postrow.S_UNREAD_POST -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span></span>
<!-- ELSE -->
@@ -301,6 +301,7 @@
<!-- EVENT viewtopic_body_postrow_post_details_after -->
<!-- IF postrow.S_POST_UNAPPROVED -->
+ <!-- IF postrow.S_CAN_APPROVE -->
<form method="post" class="mcp_approve" action="{postrow.U_APPROVE_ACTION}">
<p class="post-notice unapproved">
<span><i class="icon fa-question icon-red fa-fw" aria-hidden="true"></i></span>
@@ -311,6 +312,12 @@
{S_FORM_TOKEN}
</p>
</form>
+ <!-- ELSE -->
+ <p class="post-notice unapproved">
+ <span><i class="icon fa-exclamation icon-red fa-fw" aria-hidden="true"></i></span>
+ <strong>{L_POST_UNAPPROVED_EXPLAIN}</strong>
+ </p>
+ <!-- ENDIF -->
<!-- ELSEIF postrow.S_POST_DELETED -->
<form method="post" class="mcp_approve" action="{postrow.U_APPROVE_ACTION}">
<p class="post-notice deleted">
diff --git a/theme/colours.css b/theme/colours.css
index 3a2492a..e9fa68d 100644
--- a/theme/colours.css
+++ b/theme/colours.css
@@ -587,7 +587,7 @@ fieldset.polls dd div {
border-right: 1px solid #d5dbe0 !important;
}
-.postprofile .avatar img {
+.postprofile .avatar img {
background-color: white;
border: 1px solid #d3d9de;
box-shadow: 0 0 7px gray;
@@ -708,6 +708,11 @@ Colours and backgrounds for buttons.css
box-shadow: 0 0 50px #999999;
}
+.search-results li:hover,
+.search-results li.active {
+ background-color: #CFE1F6;
+}
+
/* Icon images
---------------------------------------- */
diff --git a/theme/common.css b/theme/common.css
index 820b32f..df41a09 100644
--- a/theme/common.css
+++ b/theme/common.css
@@ -173,6 +173,7 @@ a:hover { text-decoration: underline; }
}
.site_logo {
+ background-repeat: no-repeat;
display: inline-block;
width: 170px;
height: 94px;
diff --git a/theme/forms.css b/theme/forms.css
index e8efbc6..3d44f6d 100644
--- a/theme/forms.css
+++ b/theme/forms.css
@@ -355,7 +355,7 @@ input.button3 {
font-variant: small-caps;
}
-input[type="button"], input[type="submit"], input[type="reset"], input[type="checkbox"], input[type="radio"] {
+input[type="button"], input[type="submit"], input[type="reset"], input[type="checkbox"], input[type="radio"], .search-results li {
cursor: pointer;
}
diff --git a/theme/icons.css b/theme/icons.css
index 6643f12..d710413 100644
--- a/theme/icons.css
+++ b/theme/icons.css
@@ -5,7 +5,7 @@
/* Global module setup
--------------------------------*/
-/* Renamed version of .fa class for agnostic useage of icon fonts.
+/* Renamed version of .fa class for agnostic usage of icon fonts.
* Just change the name of the font after the 14/1 to the name of
* the font you wish to use.
*/
@@ -93,4 +93,3 @@ blockquote cite:before, .uncited:before {
.rtl blockquote cite:before, .rtl .uncited:before {
content: '\f10e'; /* Font Awesome quote-right */
}
-
diff --git a/theme/print.css b/theme/print.css
index 9445279..ee916dc 100644
--- a/theme/print.css
+++ b/theme/print.css
@@ -90,7 +90,7 @@ hr {
font-size: 75%;
}
-/* Dont want to print url for names or titles in content area */
+/* Don't want to print url for names or titles in content area */
.postbody .author a:link, .postbody .author a:visited,
html>body .postbody .author a:link:after,
html>body .postbody .author a:visited:after,
diff --git a/theme/stylesheet.css b/theme/stylesheet.css
index 7a32128..eabfe1e 100644
--- a/theme/stylesheet.css
+++ b/theme/stylesheet.css
@@ -1,22 +1,23 @@
/* phpBB3 Style Sheet
--------------------------------------------------------------
Style name: Allan Style - SUBSILVER
- Based on style: prosilver (the default phpBB 3.2.x style)
+ Based on style: prosilver (the default phpBB 3.3.x style)
Original author: Tom Beddard ( http://www.subblue.com/ )
Modified by: phpBB Limited ( https://www.phpbb.com/ )
Modified by: SKRS
+ Modified by: Turaiel
--------------------------------------------------------------
*/
-@import url("normalize.css?v=3.2");
-@import url("base.css?v=3.2");
-@import url("utilities.css?v=3.2");
-@import url("common.css?v=3.2");
-@import url("links.css?v=3.2");
-@import url("content.css?v=3.2");
-@import url("buttons.css?v=3.2");
-@import url("cp.css?v=3.2");
-@import url("forms.css?v=3.2");
-@import url("icons.css?v=3.2");
-@import url("colours.css?v=3.2");
-@import url("responsive.css?v=3.2");
+@import url("normalize.css?v=3.3");
+@import url("base.css?v=3.3");
+@import url("utilities.css?v=3.3");
+@import url("common.css?v=3.3");
+@import url("links.css?v=3.3");
+@import url("content.css?v=3.3");
+@import url("buttons.css?v=3.3");
+@import url("cp.css?v=3.3");
+@import url("forms.css?v=3.3");
+@import url("icons.css?v=3.3");
+@import url("colours.css?v=3.3");
+@import url("responsive.css?v=3.3");
--
2.25.0
From 684bcf2118ec28c2fd4509b5ebb4c37ad4c5689d Mon Sep 17 00:00:00 2001
From: Brandon Dusseau <brandon.dusseau@gmail.com>
Date: Sat, 22 Aug 2020 19:55:20 -0400
Subject: [PATCH] Update style for 3.3.1
---
style.cfg | 4 ++--
template/navbar_header.html | 46 ++++++++++++++++++++----------------
template/overall_footer.html | 2 +-
theme/bidi.css | 9 ++++++-
theme/colours.css | 2 +-
theme/content.css | 4 ++--
theme/forms.css | 2 +-
theme/icons.css | 4 ++--
theme/responsive.css | 24 +++++++++----------
theme/stylesheet.css | 24 +++++++++----------
theme/tweaks.css | 8 -------
11 files changed, 65 insertions(+), 64 deletions(-)
diff --git a/style.cfg b/style.cfg
index b9c70e3..58cd9fa 100644
--- a/style.cfg
+++ b/style.cfg
@@ -21,8 +21,8 @@
# General Information about this style
name = AllanStyle-SUBSILVER
copyright = © AS SKRS, 2020 zumaclub.ru, 2020 Turaiel
-style_version = 3.0.0
-phpbb_version = 3.3.0
+style_version = 3.0.1
+phpbb_version = 3.3.1
# Defining a different template bitfield
# template_bitfield = //g=
diff --git a/template/navbar_header.html b/template/navbar_header.html
index 96ccd45..1fe7ee9 100644
--- a/template/navbar_header.html
+++ b/template/navbar_header.html
@@ -184,34 +184,38 @@
<div class="inner">
<ul id="nav-breadcrumbs" class="nav-breadcrumbs linklist navlinks" role="menubar">
- <!-- DEFINE $MICRODATA = ' itemtype="http://schema.org/ListItem" itemprop="itemListElement" itemscope' -->
+ {% set MICRODATA = 'itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope' %}
{% set navlink_position = 1 %}
- <!-- EVENT overall_header_breadcrumbs_before -->
+ {% EVENT overall_header_breadcrumbs_before %}
+
<li class="breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList">
- <!-- IF U_SITE_HOME -->
- <span class="crumb" {$MICRODATA}><a href="{U_SITE_HOME}" itemtype="https://schema.org/Thing" itemscope itemprop="item" data-navbar-reference="home"><i class="icon fa-home fa-fw" aria-hidden="true"></i><span itemprop="name">{L_SITE_HOME}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
- <!-- ENDIF -->
- <!-- EVENT overall_header_breadcrumb_prepend -->
- <span class="crumb" {$MICRODATA}><a href="{U_INDEX}" itemtype="https://schema.org/Thing" itemscope itemprop="item" accesskey="h" data-navbar-reference="index"><!-- IF not U_SITE_HOME --><i class="icon fa-home fa-fw"></i><!-- ENDIF --><span itemprop="name">{L_INDEX}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
-
- <!-- BEGIN navlinks -->
- {% set NAVLINK_NAME = navlinks.BREADCRUMB_NAME | default(navlinks.FORUM_NAME) %}
- {% set NAVLINK_LINK = navlinks.U_BREADCRUMB | default(navlinks.U_VIEW_FORUM) %}
- <!-- EVENT overall_header_navlink_prepend -->
- <span class="crumb" {$MICRODATA}<!-- IF navlinks.MICRODATA --> {navlinks.MICRODATA}<!-- ENDIF -->><a href="{{ NAVLINK_LINK }}" itemtype="https://schema.org/Thing" itemscope itemprop="item"><span itemprop="name">{{ NAVLINK_NAME }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
- <!-- EVENT overall_header_navlink_append -->
- <!-- END navlinks -->
- <!-- EVENT overall_header_breadcrumb_append -->
+ {% if U_SITE_HOME %}
+ <span class="crumb" {{ MICRODATA }}><a href="{{ U_SITE_HOME }}" itemtype="https://schema.org/Thing" itemscope itemprop="item" data-navbar-reference="home"><i class="icon fa-home fa-fw" aria-hidden="true"></i><span itemprop="name">{{ L_SITE_HOME }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
+ {% endif %}
+
+ {% EVENT overall_header_breadcrumb_prepend %}
+ <span class="crumb" {{ MICRODATA }}><a href="{{ U_INDEX }}" itemtype="https://schema.org/Thing" itemscope itemprop="item" accesskey="h" data-navbar-reference="index">{% if not U_SITE_HOME %}<i class="icon fa-home fa-fw"></i>{% endif %}<span itemprop="name">{{ L_INDEX }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
+
+ {% for navlink in navlinks %}
+ {% set NAVLINK_NAME = navlink.BREADCRUMB_NAME | default(navlink.FORUM_NAME) %}
+ {% set NAVLINK_LINK = navlink.U_BREADCRUMB | default(navlink.U_VIEW_FORUM) %}
+
+ {% EVENT overall_header_navlink_prepend %}
+ <span class="crumb" {{ MICRODATA }}{% if navlink.MICRODATA %} {{ navlink.MICRODATA }}{% endif %}><a href="{{ NAVLINK_LINK }}" itemtype="https://schema.org/Thing" itemscope itemprop="item"><span itemprop="name">{{ NAVLINK_NAME }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
+ {% EVENT overall_header_navlink_append %}
+ {% endfor %}
+
+ {% EVENT overall_header_breadcrumb_append %}
</li>
- <!-- EVENT overall_header_breadcrumbs_after -->
+ {% EVENT overall_header_breadcrumbs_after %}
- <!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
+ {% if S_DISPLAY_SEARCH and not S_IN_SEARCH %}
<li class="rightside responsive-search">
- <a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}" role="menuitem">
- <i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH}</span>
+ <a href="{{ U_SEARCH }}" title="{{ lang('SEARCH_ADV_EXPLAIN') }}" role="menuitem">
+ <i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">{{ lang('SEARCH') }}</span>
</a>
</li>
- <!-- ENDIF -->
+ {% endif %}
</ul>
</div>
diff --git a/template/overall_footer.html b/template/overall_footer.html
index 6e6b88f..8c44468 100644
--- a/template/overall_footer.html
+++ b/template/overall_footer.html
@@ -65,7 +65,7 @@
</div>
<script src="{T_JQUERY_LINK}"></script>
-<!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery-3.4.1.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!-- ENDIF -->
+<!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery-3.5.1.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!-- ENDIF -->
<script src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
<!-- INCLUDEJS forum_fn.js -->
<!-- INCLUDEJS ajax.js -->
diff --git a/theme/bidi.css b/theme/bidi.css
index 79b769b..a382c74 100644
--- a/theme/bidi.css
+++ b/theme/bidi.css
@@ -322,6 +322,13 @@ li.breadcrumbs span:first-child > a {
padding-left: 0;
}
+@media (min-width: 701px) {
+ .rtl .postbody {
+ margin-right: 0;
+ margin-left: 16px;
+ }
+}
+
/* Notification mark read link */
.rtl .dropdown-extended a.mark_read {
border-radius: 0 3px 3px 0;
@@ -1081,7 +1088,7 @@ li.breadcrumbs span:first-child > a {
.captcha-panel dd.captcha {
margin-right: 0;
}
-
+
.rtl p.responsive-center {
float: none;
text-align: center;
diff --git a/theme/colours.css b/theme/colours.css
index e9fa68d..9f75e59 100644
--- a/theme/colours.css
+++ b/theme/colours.css
@@ -117,6 +117,7 @@ a.exlinks { color: #105289 !important; }
color: #000000;
}
+.post h3 a.first-unread,
.post:target h3 a {
color: #000000;
}
@@ -728,7 +729,6 @@ Colours and backgrounds for buttons.css
.phpbb_website-icon { background-position: -40px 0; }
.phpbb_youtube-icon { background-position: -98px 0; }
.phpbb_facebook-icon { background-position: -119px 0; }
-.phpbb_googleplus-icon { background-position: -140px 0; }
.phpbb_skype-icon { background-position: -161px 0; }
.phpbb_twitter-icon { background-position: -203px 0; }
.phpbb_yahoo-icon { background-position: -224px 0; }
diff --git a/theme/content.css b/theme/content.css
index 47b96a7..1b4a6b5 100644
--- a/theme/content.css
+++ b/theme/content.css
@@ -282,7 +282,7 @@ dd.option {
}
.search .postbody {
- width: 68%
+ width: 68%;
}
/* Topic review panel
@@ -490,7 +490,7 @@ blockquote cite:before, .uncited:before {
padding-right: 5px;
}
-blockquote cite > div {
+blockquote cite > span {
float: right;
font-weight: normal;
}
diff --git a/theme/forms.css b/theme/forms.css
index 3d44f6d..f54ce11 100644
--- a/theme/forms.css
+++ b/theme/forms.css
@@ -145,7 +145,7 @@ dd textarea {
/* Browser-specific tweaks */
button::-moz-focus-inner {
padding: 0;
- border: 0
+ border: 0;
}
/* Quick-login on index page */
diff --git a/theme/icons.css b/theme/icons.css
index d710413..2f9213e 100644
--- a/theme/icons.css
+++ b/theme/icons.css
@@ -10,11 +10,11 @@
* the font you wish to use.
*/
.icon, .button .icon, blockquote cite:before, .uncited:before {
- display: inline-block;
+ display: inline-block;
+ font-family: FontAwesome;
font-weight: normal;
font-style: normal;
font-variant: normal;
- font-family: FontAwesome;
font-size: 14px;
line-height: 1;
text-rendering: auto; /* optimizelegibility throws things off #1094 */
diff --git a/theme/responsive.css b/theme/responsive.css
index 87e0708..6587072 100644
--- a/theme/responsive.css
+++ b/theme/responsive.css
@@ -152,7 +152,7 @@
margin-right: -5px;
}
- .cp-main .forabg, .cp-main .forumdb, .cp-main .post, .cp-main .panel {
+ .cp-main .forabg, .cp-main .forumbg, .cp-main .post, .cp-main .panel {
border-radius: 7px;
}
@@ -558,7 +558,7 @@
.attach-comment dfn {
width: 100%;
}
-
+
.trigger {
margin-top: -24px;
}
@@ -573,18 +573,16 @@
}
}
-@media (min-width: 700px) {
- .postbody { width: 70%; }
-}
-
-@media (min-width: 850px) {
- .postbody { width: 76%; }
-}
-
-@media (max-width: 850px) {
- .postprofile { width: 28%; }
-
+@media (min-width: 701px) {
+ .postbody {
+ /** deduct postprofile width (including border width, margin and padding) and postbody margin and padding */
+ width: calc(100% - 200px - 1px - 16px);
+ margin-right: 16px;
+ }
+ .postprofile {
+ width: 200px;
+ }
}
@media (min-width: 701px) and (max-width: 950px) {
diff --git a/theme/stylesheet.css b/theme/stylesheet.css
index eabfe1e..f885c79 100644
--- a/theme/stylesheet.css
+++ b/theme/stylesheet.css
@@ -9,15 +9,15 @@
--------------------------------------------------------------
*/
-@import url("normalize.css?v=3.3");
-@import url("base.css?v=3.3");
-@import url("utilities.css?v=3.3");
-@import url("common.css?v=3.3");
-@import url("links.css?v=3.3");
-@import url("content.css?v=3.3");
-@import url("buttons.css?v=3.3");
-@import url("cp.css?v=3.3");
-@import url("forms.css?v=3.3");
-@import url("icons.css?v=3.3");
-@import url("colours.css?v=3.3");
-@import url("responsive.css?v=3.3");
+@import url("normalize.css?v=3.3.1");
+@import url("base.css?v=3.3.1");
+@import url("utilities.css?v=3.3.1");
+@import url("common.css?v=3.3.1");
+@import url("links.css?v=3.3.1");
+@import url("content.css?v=3.3.1");
+@import url("buttons.css?v=3.3.1");
+@import url("cp.css?v=3.3.1");
+@import url("forms.css?v=3.3.1");
+@import url("icons.css?v=3.3.1");
+@import url("colours.css?v=3.3.1");
+@import url("responsive.css?v=3.3.1");
diff --git a/theme/tweaks.css b/theme/tweaks.css
index ba82551..54f47df 100644
--- a/theme/tweaks.css
+++ b/theme/tweaks.css
@@ -28,14 +28,6 @@ dd label input { vertical-align: text-bottom\9; }
border-radius: 0;
}
-.headerbar, .forumbg {
- background-image: url("./images/bg_header.gif");
-}
-
-.forabg {
- background-image: url("./images/bg_list.gif");
-}
-
.tabs .tab > a {
border-radius: 0;
}
--
2.25.0
From 0034d2e6a21573aeb3490484b4f4c129aef0f664 Mon Sep 17 00:00:00 2001
From: Brandon Dusseau <brandon.dusseau@gmail.com>
Date: Fri, 6 Nov 2020 15:59:16 -0500
Subject: [PATCH] Update style for 3.3.2
---
style.cfg | 4 ++--
theme/content.css | 11 +++++++++++
theme/responsive.css | 2 --
3 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/style.cfg b/style.cfg
index 58cd9fa..202fed3 100644
--- a/style.cfg
+++ b/style.cfg
@@ -21,8 +21,8 @@
# General Information about this style
name = AllanStyle-SUBSILVER
copyright = © AS SKRS, 2020 zumaclub.ru, 2020 Turaiel
-style_version = 3.0.1
-phpbb_version = 3.3.1
+style_version = 3.0.2
+phpbb_version = 3.3.2
# Defining a different template bitfield
# template_bitfield = //g=
diff --git a/theme/content.css b/theme/content.css
index 1b4a6b5..91a2e53 100644
--- a/theme/content.css
+++ b/theme/content.css
@@ -362,6 +362,17 @@ dd.option {
line-height: 1.4em;
}
+.agreement {
+ font-size: 12px;
+ line-height: 17px;
+ margin-bottom: 10px;
+}
+
+.agreement-text {
+ line-height: 17px;
+ margin-bottom: 10px;
+}
+
dl.faq {
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
font-size: 1.1em;
diff --git a/theme/responsive.css b/theme/responsive.css
index 6587072..a6e8b17 100644
--- a/theme/responsive.css
+++ b/theme/responsive.css
@@ -575,9 +575,7 @@
@media (min-width: 701px) {
.postbody {
- /** deduct postprofile width (including border width, margin and padding) and postbody margin and padding */
width: calc(100% - 200px - 1px - 16px);
- margin-right: 16px;
}
.postprofile {
--
2.25.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment