Difference between revisions of "SUNScholar/XMLUI Theme/M2/Customisation/Extra Customisation"

From Libopedia
Jump to navigation Jump to search
Line 9: Line 9:
  
 
Removed all the <tt>'''font-size = XXpx;'''</tt> attributes from all the files in the <tt>'''styles'''</tt> folder.
 
Removed all the <tt>'''font-size = XXpx;'''</tt> attributes from all the files in the <tt>'''styles'''</tt> folder.
 
==Modify DSpace Variables CSS==
 
Edit the following file:
 
nano $HOME/{{Source}}/dspace-xmlui-mirage2/src/main/webapp/styles/classic_mirage_color_scheme/_dspace_variables.scss
 
See below for modified file
 
<pre>
 
/**
 
* The contents of this file are subject to the license and copyright
 
* detailed in the LICENSE and NOTICE files at the root of the source
 
* tree and available online at
 
*
 
* http://www.dspace.org/license/
 
*/
 
// Extra DSpace variables
 
// ----------------------
 
$almost-white:          #f7f7f7 !default;
 
$center-section-padding-top: 20px;
 
$center-section-padding-bottom: 20px;
 
</pre>
 

Revision as of 15:09, 21 June 2015

Back to Mirage 2 Customisation

Modify Font Size CSS

Absolute font sizing does not scale well with a responsive theme.

Left the font size size attributes that use XXem for font sizing.

Removed all the font-size = XXpx; attributes from all the files in the styles folder.