summaryrefslogtreecommitdiff
path: root/res/client/css/modules/typography.scss
blob: 7add26fbf3068009cd3ecaad2301500483d76dd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/*
    This file is part of rhizi, a collaborative knowledge graph editor.
    Copyright (C) 2014-2015  Dor Garbash, Amir Sagie and Alon Levy

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published
    by the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

// Font font-family:

@font-face {
	font-family: 'Source_Regular';
	src: url('../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.eot'); /* IE9 Compat Modes */
	src: url('../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.woff') format('woff'), /* Modern Browsers */
       url('../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.ttf')  format('truetype'); /* Safari, Android, iOS */
}

@font-face {
	font-family: 'Source_Semibold';
	src: url('../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.eot'); /* IE9 Compat Modes */
	src: url('../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.woff') format('woff'), /* Modern Browsers */
       url('../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.ttf')  format('truetype'); /* Safari, Android, iOS */
}

@font-face {
	font-family: 'Source_Bold';
	src: url('../font/sourcesanspro_bold/SourceSansPro-Bold-webfont.eot'); /* IE9 Compat Modes */
	src: url('../font/sourcesanspro_bold/SourceSansPro-Bold-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../font/sourcesanspro_bold/SourceSansPro-Bold-webfont.woff') format('woff'), /* Modern Browsers */
       url('../font/sourcesanspro_bold/SourceSansPro-Bold-webfont.ttf')  format('truetype'); /* Safari, Android, iOS */
}

// Font size
$h1-size: 30px;
$h2-size: 24px;
$h3-size: 18px;
$h4-size: 14px;
$h5-size: 12px;

$toolbar-font-size: 12px;

//Font weights
$light: 100;
$regular: 400;
$bold: 600;

// Base font
$base-font-family: 'Source_Regular', sans-serif;
$semibold-font-family: 'Source_Semibold', sans-serif;
$bold-font-family: 'Source_Bold', sans-serif;

$base-font-weight: $regular;
$base-font-size: 12px;
$base-line-height: 1.4;


// Fixed Font
$fixed-font-family: monospace;
$fixed-font-size: 85%;
$fixed-line-height: $base-line-height;

// Headings
$header-font-weight: $bold;