How to increse font size of posts auto style:prosilver?

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
User avatar
warmweer
Jr. Extension Validator
Posts: 11851
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: How to increse font size of posts auto style:prosilver?

Post by warmweer »

First of all, I tested everything I wrote, even went as far as to simulate mobile browsing (after you showed the printscreen).
Everything works as I expected it to.
There are a couple of possible causes why it doesn't work on your side:
a) not clearing browser cache and phpBB cache
b) not making the correct edits
c) perhaps using a mobile for which I can't do a simulation. Although I can't seriously consider that a realistic constraint. (even the first edits I showed, work on the simulated mobile:(Galaxy S9 and Iphone ).

BTW, thanks EA117 for hopping in on this, your printscreens are a lot clearer than mine :thumbsup: and should blow away any remaining haze.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Talk19Zehn
Registered User
Posts: 912
Joined: Tue Aug 09, 2011 1:10 pm

Re: How to increse font size of posts auto style:prosilver?

Post by Talk19Zehn »

Hello, I have followed the subject with great interest. Yes, the mobile browsers come along progressive and understand meanwhile a multiple. As the resolution and size of the monitors from the smartphone to the tablet to the 30" monitor is getting wider and wider, a consistent layout with the choice of font sizes depends on media queries. Media queries are mostly based either on pixels or on em. Modern browsers make no difference between em-based and pixel-based media queries - both zoom correctly and both process media queries.
However, the specification of em for the dimension of layout elements is particularly flexible. If a block is created in em, a CSS rule in the media query is sufficient to enlarge the block proportionally.
Accordingly, I personally asked myself the question which role font-family can we use, take. We are writing the year 2019 (phpBB-3.2.8) and I declared only(!) for some tests:

Code: Select all

html, body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #000000;
	background-color: #FAFAFA;
}

Code: Select all

/* font-family stylish 
--------------------------------------------------------------- */
h1, h2, h3, h4, .solo,
dl.details,
.pagination li.active span,
.dropdown-extended .header,
.notification_list p.notifications_title,
li.header dt,
li.header dd,
.postbody h3,
.content,
.content p,
dl.faq,
p.author,
.notice,
.attachbox dt,
dl.file,
dl.file dt,
dl.thumbnail dd,
fieldset.polls,
fieldset.polls dd div,
fieldset,
input,
select,
select optgroup option,
textarea,
.message-box textarea,
a.button1, input.button1, input.button3, a.button2, input.button2,
a.forumtitle, a.topictitle,
.button {
	font-family: "Verdana", Arial, Helvetica, sans-serif;
}

Code: Select all

/* Miscellaneous styles
---------------------------------------- */

.copyright {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	color: #000000;
}
But(!), the question I ask myself personally is:
To what extent must base.css be adapted? To my knowledge, this adaptation, if necessary, is not quite as simple (mobile browser worlds).
Or is the thought unimportant :?:

Many thoughtful greetings

Return to “[3.2.x] Styles Support & Discussion”