[ticket/13879] Replaced px with em where appropriate.

We're using ems basically everywhere else so ¯\_(ツ)_/¯

PHPBB3-13879
This commit is contained in:
Callum Macrae 2015-05-28 15:57:31 +02:00
parent f1e11414e8
commit 8b6c6e794a
3 changed files with 12 additions and 16 deletions

View file

@ -5,8 +5,7 @@
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
height: 18px; height: 18px;
line-height: 18px; font-size: 1.2em;
font-size: 13px;
white-space: nowrap; white-space: nowrap;
border: 1px solid transparent; border: 1px solid transparent;
border-radius: 4px; border-radius: 4px;

View file

@ -326,10 +326,9 @@ ul.linklist li.responsive-menu {
ul.linklist li.responsive-menu a.responsive-menu-link { ul.linklist li.responsive-menu a.responsive-menu-link {
display: inline-block; display: inline-block;
margin: 0 5px; margin: 0 5px;
font-size: 16px;
position: relative; position: relative;
width: 16px; width: 16px;
line-height: 20px; line-height: 1.2em;
text-decoration: none; text-decoration: none;
} }
@ -798,7 +797,7 @@ fieldset.fields1 dl.pmlist dd.recipients {
/* Action-bars (container for post/reply buttons, pagination, etc.) /* Action-bars (container for post/reply buttons, pagination, etc.)
---------------------------------------- */ ---------------------------------------- */
.action-bar { .action-bar {
font-size: 11px; font-size: 1.1em;
margin: 4px 0; margin: 4px 0;
} }
@ -810,7 +809,6 @@ fieldset.fields1 dl.pmlist dd.recipients {
---------------------------------------- */ ---------------------------------------- */
.pagination { .pagination {
float: right; float: right;
font-size: 11px;
margin-top: 3px; margin-top: 3px;
text-align: right; text-align: right;
width: auto; width: auto;
@ -840,7 +838,7 @@ fieldset.fields1 dl.pmlist dd.recipients {
display: block; display: block;
font-size: 0.9em; font-size: 0.9em;
font-weight: normal; font-weight: normal;
line-height: 13px; line-height: 1.4em;
min-width: 10px; min-width: 10px;
padding: 3px; padding: 3px;
text-align: center; text-align: center;
@ -1155,12 +1153,11 @@ ul.linklist:after,
.dropdown-extended .header { .dropdown-extended .header {
padding: 0 10px; padding: 0 10px;
font-family: Arial, "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: Arial, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 11px;
font-weight: bold; font-weight: bold;
text-align: left; text-align: left;
text-shadow: 1px 1px 1px white; text-shadow: 1px 1px 1px white;
text-transform: uppercase; text-transform: uppercase;
line-height: 30px; line-height: 3em;
border-bottom: 1px solid; border-bottom: 1px solid;
border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;
} }
@ -1212,7 +1209,7 @@ ul.linklist:after,
} }
.notification_list p.notification-time { .notification_list p.notification-time {
font-size: 10px; font-size: 0.9em;
margin: 0; margin: 0;
text-align: right; text-align: right;
} }
@ -1228,7 +1225,7 @@ ul.linklist:after,
.notification_list p.notifications_title { .notification_list p.notifications_title {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 13px !important; font-size: 1.2em !important;
} }
.notification_list p.notifications_title strong { .notification_list p.notifications_title strong {
@ -1236,7 +1233,7 @@ ul.linklist:after,
} }
.notification_list p.notifications_time { .notification_list p.notifications_time {
font-size: 10px !important; font-size: 0.9em !important;
} }
.notification_text { .notification_text {
@ -1259,7 +1256,7 @@ ul.linklist:after,
} }
#quick-links a.responsive-menu-link:before { #quick-links a.responsive-menu-link:before {
font-size: 16px; font-size: 1.6em;
line-height: 16.5px; line-height: 16.5px;
} }

View file

@ -114,7 +114,7 @@ ul.cplist {
float: left; float: left;
font-size: 1em; font-size: 1em;
font-weight: bold; font-weight: bold;
line-height: 14px; line-height: 1.4em;
} }
#tabs .tab > a, #minitabs .tab > a { #tabs .tab > a, #minitabs .tab > a {
@ -172,10 +172,10 @@ ul.cplist {
.responsive-tab > a.responsive-tab-link { .responsive-tab > a.responsive-tab-link {
display: block; display: block;
font-size: 16px; font-size: 1.6em;
position: relative; position: relative;
width: 16px; width: 16px;
line-height: 14px; line-height: 0.9em;
text-decoration: none; text-decoration: none;
} }