Link to source code file on GitHub in code boxes with filenames (#166)
[GitHub/WoltLab/woltlab.github.io.git] / docs / stylesheets / extra.css
CommitLineData
c3e71d07
MS
1/* Font Family: Roboto
2 * Designed by: Christian Robertson, Paratype, Font Bureau
3 * License: OFL
4 */
5
6 @font-face {
7 /* Copyright: Copyright 2011 Google Inc. All Rights Reserved. */
8 font-family: 'Roboto';
9 font-style: normal;
10 font-weight: 400;
11 src: local('Roboto'), local('Roboto-Regular'), url("roboto-400.woff2") format('woff2');
12}
13
14@font-face {
15 /* Copyright: Copyright 2011 Google Inc. All Rights Reserved. */
16 font-family: 'Roboto';
17 font-style: italic;
18 font-weight: 400;
19 src: local('Roboto Italic'), local('Roboto-Italic'), url("roboto-400-italic.woff2") format('woff2');
20}
21
22@font-face {
23 /* Copyright: Copyright 2011 Google Inc. All Rights Reserved. */
24 font-family: 'Roboto';
25 font-style: normal;
26 font-weight: 700;
27 src: local('Roboto Bold'), local('Roboto-Bold'), url("roboto-700.woff2") format('woff2');
28}
29
30@font-face {
31 /* Copyright: Copyright 2011 Google Inc. All Rights Reserved. */
9e181e96
MS
32 /* Copyright: Copyright 2011 Google Inc. All Rights Reserved. */
33 font-family: 'Roboto';
34 font-style: normal;
35 font-weight: 300;
36 src: local('Roboto Light'), local('Roboto-Light'), url("roboto-300.woff2") format('woff2');
c3e71d07
MS
37}
38
39/* Font Family: Roboto Mono
40 * Designed by: Christian Robertson
41 * License: APACHE2
42 */
43
44@font-face {
45 /* Copyright: Copyright 2015 The Roboto Mono Project Authors (https://github.com/googlefonts/robotomono) */
46 font-family: 'Roboto Mono';
47 font-style: normal;
48 font-weight: 400;
49 src: local('Roboto Mono Regular'), local('RobotoMono-Regular'), url("roboto-mono-400.woff2") format('woff2');
50}
51
52@font-face {
53 /* Copyright: Copyright 2015 The Roboto Mono Project Authors (https://github.com/googlefonts/robotomono) */
54 font-family: 'Roboto Mono';
55 font-style: italic;
56 font-weight: 400;
57 src: local('Roboto Mono Italic'), local('RobotoMono-Italic'), url("roboto-mono-400-italic.woff2") format('woff2');
58}
59
60body, input{
61 font-family:"Roboto",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif;
62}
63
64code, kbd, pre {
65 font-family:"Roboto Mono",SFMono-Regular,Consolas,Menlo,monospace;
66}
67
68.md-announce a, .md-announce a:focus, .md-announce a:hover {
69 color: currentColor;
70}
71
72.md-footer-copyright a:not(:last-child) {
73 margin-right: 10px;
74}
75
eda02fa3 76.md-header__button.md-logo img {
c3e71d07
MS
77 height: 30px;
78 width: auto;
79 position: relative;
80 top: -2px;
81}
82
83.md-nav__title .md-nav__button.md-logo img {
84 display: none;
85}
86
87.md-header-nav__title {
88 padding-left: 0;
89}
9e181e96
MS
90
91.label {
92 display: inline;
93 padding: .1rem .3rem;
94 font-size: 75%;
95 font-weight: bold;
96 line-height: 1;
97 white-space: nowrap;
98 vertical-align: baseline;
99 border-radius: .25rem;
100}
101
102.label-info {
103 border-left: .2rem solid #448aff;
104 background-color: rgba(0,184,212,.1);
105}
9a3f5fa3
MS
106
107.titledCodeBox .codeBoxTitle {
108 background-color: rgb(225, 225, 225);
109 font-size: .85em;
110 font-weight: bold;
111 padding: 0.5em 1em;
bcc4cb57 112 position: relative;
9a3f5fa3
MS
113}
114
115.titledCodeBox .codeBoxTitle code {
116 background: none;
117}
118
119.titledCodeBox .codeBoxTitle + .highlighttable {
120 margin-top: 0;
121}
bcc4cb57
MS
122
123.codeBoxTitleGitHubLink {
124 position: absolute;
125 top: 0.5em;
126 right: 1em;
127}