Skip to content

Commit

Permalink
feat(SMW): ✨ tweak browse property font size
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 committed Apr 19, 2024
1 parent fa25c73 commit 7aef0c5
Showing 1 changed file with 25 additions and 34 deletions.
59 changes: 25 additions & 34 deletions skinStyles/extensions/SemanticMediaWiki/ext.smw.browse.styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
* Module: ext.smw.browse.styles
* Version: 4.0.2 (0fcdfce)
*
* Date: 2022-10-20
* Date: 2024-04-19
*/

@import '../../../resources/mixins.less';
@import '../../../resources/variables.less';
//@import '../../../resources/mixins.less';
//@import '../../../resources/variables.less';

// Disable sticky header since it collides with anchor and adds no value
#citizen-body-header-sticky-sentinel {
Expand Down Expand Up @@ -40,7 +40,7 @@
}

.smwb-title {
font-size: 1.5rem;
font-size: var( --font-size-x-large );
font-weight: var( --font-weight-semibold );
line-height: var( --line-height-xs );
background-color: transparent;
Expand All @@ -51,19 +51,20 @@
border-bottom: 0;
}

.smwb-propvalue {
.smwb-propvalue,
.smwb-ipropvalue {
background-color: transparent;
}

.smwb-propvalue .smwb-prophead {
padding: var( --space-xs ) var( --space-md );
font-size: 1rem;
font-weight: var( --font-weight-medium );
}
.smwb-prophead {
padding: var( --space-xs ) var( --space-md );
font-size: var( --font-size-small );
font-weight: var( --font-weight-medium );
}

.smwb-propvalue .smwb-propval {
padding: var( --space-xs ) var( --space-md );
background-color: transparent;
.smwb-propval {
padding: var( --space-xs ) var( --space-md );
background-color: transparent;
}
}

.smwb-center,
Expand All @@ -75,6 +76,10 @@
line-height: 3rem;
}

.smwb-action-separator {
border-color: var( --border-color-base );
}

.smwb-title a,
.smwb-center a:first-child,
.smwb-actions a:first-child {
Expand Down Expand Up @@ -110,21 +115,6 @@
border-bottom: 0;
}

.smwb-ipropvalue {
background-color: transparent;
}

.smwb-ipropvalue .smwb-prophead {
padding: var( --space-xs ) var( --space-md );
font-size: 1rem;
font-weight: var( --font-weight-medium );
}

.smwb-ipropvalue .smwb-propval {
padding: var( --space-xs ) var( --space-md );
background-color: transparent;
}

.smwb-input .button-field input {
padding: 6px;
}
Expand All @@ -134,10 +124,6 @@
box-shadow: inset 0 0 0 1px var( --color-primary );
}

.smwb-action-separator {
border-left-color: var( --border-color-base );
}

/**
* Light theme
*/
Expand Down Expand Up @@ -178,5 +164,10 @@
padding: var( --space-md ) 0;
background: transparent;
border-bottom: 1px solid var( --border-color-base );
.citizen-sticky-header;
//.citizen-sticky-header;
}

.smwb-factbox,
.smwb-ifactbox {
font-size: var( --font-size-small );
}

0 comments on commit 7aef0c5

Please sign in to comment.