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
Registered User
Posts: 3217
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

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

Post by warmweer » Tue Dec 03, 2019 6:16 pm

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.
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

User avatar
Talk19Zehn
Registered User
Posts: 415
Joined: Tue Aug 09, 2011 1:10 pm
Contact:

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

Post by Talk19Zehn » Mon Dec 09, 2019 10:40 pm

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
World Meteorological Organization (WMO) Weather - Climate - Water
BTW: My own works - phpBB - read more: ongray-design-de or look here: phpBB VT Theme
Extension: phpBB Advent Calendar - Final

Post Reply

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