Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"declaration-empty-line-before": "never",

"declaration-property-unit-blacklist": {
"line-height": ["rem", "px", "em", "%"]
"line-height": ["rem", "em", "%"]
},
"declaration-property-unit-whitelist": {
"height": ["px", "%", "vh"],
Expand Down
16 changes: 8 additions & 8 deletions phpBB/styles/prosilver/theme/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
}
*/

/* Define your base font-size here; most elements will inherit this. */

/*
* 1. Define your base font-size here (16px), most elements will inherit this.
* 2. 24px (This is now our magic number; all subsequent margin-bottoms and
* line-heights want to be a multiple of this number in order to maintain
* vertical rhythm.)
*/
html {
font-size: 16px; /* Assuming 16px... */

/* 24px (This is now our magic number; all subsequent margin-bottoms and
line-heights want to be a multiple of this number in order to maintain
vertical rhythm.) */
line-height: 1.5;
font-size: 16px; /* [1] */
line-height: 1.5; /* [2] */
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

Expand Down
26 changes: 15 additions & 11 deletions phpBB/styles/prosilver/theme/bidi.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
/* -------------------------------------------------------------- */
/* stylelint-disable selector-max-compound-selectors */
/* stylelint-disable selector-no-qualifying-type */
/* stylelint-disable declaration-property-unit-whitelist */

/**
* common.css
Expand Down Expand Up @@ -196,8 +195,9 @@
text-align: right;
}

/* Not used anywhere maybe deprecated? */
.rtl table.table1 thead .autocol {
padding-right: 1em;
padding-right: 10px;
padding-left: 0;
}

Expand Down Expand Up @@ -295,6 +295,11 @@
margin-left: 5px;
}

.rtl .topic-poster {
float: right;
padding-left: 6px;
}

/* Action Bar styles
---------------------------------------- */
.rtl .action-bar .button {
Expand Down Expand Up @@ -513,7 +518,7 @@ li.breadcrumbs span:first-child > a {
---------------------------------------- */
.rtl .content ul,
.rtl .content ol {
margin-right: 3em;
margin-right: 40px;
margin-left: 0;
}

Expand All @@ -535,12 +540,12 @@ li.breadcrumbs span:first-child > a {

/* Quote block */
.rtl blockquote {
margin: 0.5em 25px 0 1px;
margin: 5px 25px 0 1px;
}

/* Nested quotes */
.rtl blockquote blockquote {
margin: 0.5em 15px 0 1px;
margin: 5px 15px 0 1px;
}

/* Username/source of quoter */
Expand Down Expand Up @@ -697,7 +702,7 @@ li.breadcrumbs span:first-child > a {
}

.rtl .cp-main .panel ol {
margin-right: 2em;
margin-right: 22px;
margin-left: 0;
}

Expand Down Expand Up @@ -820,7 +825,7 @@ li.breadcrumbs span:first-child > a {

.rtl option {
padding-right: 0;
padding-left: 1em;
padding-left: 11px;
}

.rtl label {
Expand Down Expand Up @@ -849,7 +854,7 @@ li.breadcrumbs span:first-child > a {
.rtl fieldset.fields1 dd {
border-right-width: 0;
border-left-width: 1px;
margin-right: 15em;
margin-right: 165px;
margin-left: 0;
}

Expand All @@ -862,7 +867,7 @@ li.breadcrumbs span:first-child > a {
.rtl fieldset.fields2 dd {
border-right-width: 0;
border-left-width: 1px;
margin-right: 16em;
margin-right: 176px;
margin-left: 0;
}

Expand Down Expand Up @@ -902,7 +907,7 @@ li.breadcrumbs span:first-child > a {
.rtl fieldset.display-actions {
text-align: left;
padding-right: 0;
padding-left: 1em;
padding-left: 11px;
}

.rtl fieldset.display-actions label {
Expand Down Expand Up @@ -985,4 +990,3 @@ li.breadcrumbs span:first-child > a {
}

/* stylelint-enable selector-no-qualifying-type */
/* stylelint-enable declaration-property-unit-whitelist */
6 changes: 1 addition & 5 deletions phpBB/styles/prosilver/theme/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
$Buttons
/* -------------------------------------------------------------- */

/* stylelint-disable declaration-property-unit-whitelist */

.button {
font-family: "Open Sans", "Droid Sans", Verdana, Arial, Helvetica;
font-size: 13px;
Expand Down Expand Up @@ -156,7 +154,7 @@
}

.post-buttons .dropdown a {
font-size: 1.2em;
font-size: 13px;
text-align: right;
display: block;
}
Expand Down Expand Up @@ -207,5 +205,3 @@ ul.linklist.bulletin > li.small-icon:before {
padding-right: 19px;
padding-left: 0;
}

/* stylelint-enable declaration-property-unit-whitelist */
Loading