aboutsummaryrefslogtreecommitdiff
path: root/Neutron-trunk/resources/css/polymer/fonts.css
blob: 98057ed97da6fad5f639e9b7ccc3ac9fe7c96f74 (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
@font-face {
    font-family: "Google Sans";
    src: url('../../fonts/font-regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Google Sans";
    src: url('../../fonts/font-italic.ttf');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "Google Sans";
    src: url('../../fonts/font-bold.ttf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Google Sans";
    src: url('../../fonts/font-bold-italic.ttf');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: "Roboto";
    src: url('../../fonts/body/Roboto-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url('../../fonts/body/Roboto-Italic.ttf');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "Roboto";
    src: url('../../fonts/body/Roboto-Bold.ttf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url('../../fonts/body/Roboto-BoldItalic.ttf');
    font-weight: bold;
    font-style: italic;
}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

center { /* Polyfill in case HTML5 drops the support */
    text-align: center;
}

* {
    font-family: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', "Noto Sans", Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}

h1, h2, h3, h4, h5, h6, .title, #snackbar, pjse-title {
    font-family: "Google Sans", Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', "Noto Sans", Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 400;
}

.hide {
    display: none;
}

html, body {
    margin: 0;
}

.menubutton {
    font-variant: normal;
    color: white;
    letter-spacing: 0;
    text-transform: none;
}

#menuitems {
    vertical-align: middle;
    display: flex;
    align-content: center;
}

.menuitem {
    width: max-content;
    font-size: inherit;
}