summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-04-26 06:28:06 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-04-26 06:34:08 +0200
commitb3ff7ac842c385bb7c1a99d794a0c57830f58ea7 (patch)
tree6935df43d907bb05de06e6ab85a1d0fda216503f /src/main
parent1c2a8a70eed63a6b59dde22bdcb1d029e8485089 (diff)
KB54 Make web style sheet more compact.
Change-Id: I673550eb8bf129469573e2744340e216d740c258
Diffstat (limited to 'src/main')
-rw-r--r--src/main/resources/META-INF/resources/cms2/base.css20
-rw-r--r--src/main/resources/META-INF/resources/cms2/fonts/source.css36
-rw-r--r--src/main/resources/META-INF/resources/cms2/fonts/source/M2Jd71oPJhLKp0zdtTvoM0DauxaEVho0aInXGvhmB4k.ttfbin0 -> 60432 bytes
-rw-r--r--src/main/resources/META-INF/resources/cms2/fonts/source/ODelI1aHBYDBqgeIAH2zlNzbP97U9sKh0jjxbPbfOKg.ttfbin0 -> 63496 bytes
-rw-r--r--src/main/resources/META-INF/resources/cms2/fonts/source/fpTVHK8qsXbIeTHTrnQH6Edtd7Dq2ZflsctMEexj2lw.ttfbin0 -> 60276 bytes
-rw-r--r--src/main/resources/META-INF/resources/cms2/fonts/source/leqv3v-yTsJNC7nFznSMqbsbIrGiHa6JIepkyt5c0A0.ttfbin0 -> 42128 bytes
-rw-r--r--src/main/resources/META-INF/resources/cms2/fonts/source/mrl8jkM18OlOQN8JLgasD9zbP97U9sKh0jjxbPbfOKg.ttfbin0 -> 42380 bytes
-rw-r--r--src/main/resources/META-INF/resources/cms2/fonts/source/toadOcfmlt9b38dHJxOBGLsbIrGiHa6JIepkyt5c0A0.ttfbin0 -> 62308 bytes
8 files changed, 55 insertions, 1 deletions
diff --git a/src/main/resources/META-INF/resources/cms2/base.css b/src/main/resources/META-INF/resources/cms2/base.css
index bc95300..11a2e70 100644
--- a/src/main/resources/META-INF/resources/cms2/base.css
+++ b/src/main/resources/META-INF/resources/cms2/base.css
@@ -9,16 +9,34 @@
@import "../web_modules/normalize-opentype.css/normalize-opentype.css";
/* Sanitize.css */
-@import "../web_modules/sanitize.css/sanitize.css";
@import "../web_modules/sanitize.css/forms.css";
@import "../web_modules/sanitize.css/typography.css";
/* */
+@import "fonts/source.css";
+
+@viewport {
+ width: device-width;
+ zoom: 1; }
+
html {
--main-bg-color: #f8f8f8;
--header-bg-color: #ffffff;
--nav-bg-color: #ffffff;
--footer-bg-color: #ffffff;
+
+ /*background-color: #f8f8f8;*/
+ font-family: 'Source Sans Pro', Optima, 'MgOpen Cosmetica', Candara, Palatino, 'Palatino Linotype', 'Book Antiqua', 'URW Palladio L', 'Gentium Alt', 'Gentium', Geneva, Georgia, serif;
+}
+
+nav ol,
+nav ul {
+ list-style: none;
+ padding: 0;
+}
+
+code, kbd, samp, pre {
+ font-family: 'Source Code Pro', monospace;
}
body {
diff --git a/src/main/resources/META-INF/resources/cms2/fonts/source.css b/src/main/resources/META-INF/resources/cms2/fonts/source.css
new file mode 100644
index 0000000..32998c6
--- /dev/null
+++ b/src/main/resources/META-INF/resources/cms2/fonts/source.css
@@ -0,0 +1,36 @@
+@font-face {
+ font-family: 'Source Code Pro';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Source Code Pro'), local('SourceCodePro-Regular'), url(source/mrl8jkM18OlOQN8JLgasD9zbP97U9sKh0jjxbPbfOKg.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Source Code Pro';
+ font-style: normal;
+ font-weight: 700;
+ src: local('Source Code Pro Bold'), local('SourceCodePro-Bold'), url(source/leqv3v-yTsJNC7nFznSMqbsbIrGiHa6JIepkyt5c0A0.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url(source/ODelI1aHBYDBqgeIAH2zlNzbP97U9sKh0jjxbPbfOKg.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-style: normal;
+ font-weight: 700;
+ src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(source/toadOcfmlt9b38dHJxOBGLsbIrGiHa6JIepkyt5c0A0.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-style: italic;
+ font-weight: 400;
+ src: local('Source Sans Pro Italic'), local('SourceSansPro-It'), url(source/M2Jd71oPJhLKp0zdtTvoM0DauxaEVho0aInXGvhmB4k.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-style: italic;
+ font-weight: 700;
+ src: local('Source Sans Pro Bold Italic'), local('SourceSansPro-BoldIt'), url(source/fpTVHK8qsXbIeTHTrnQH6Edtd7Dq2ZflsctMEexj2lw.ttf) format('truetype');
+}
diff --git a/src/main/resources/META-INF/resources/cms2/fonts/source/M2Jd71oPJhLKp0zdtTvoM0DauxaEVho0aInXGvhmB4k.ttf b/src/main/resources/META-INF/resources/cms2/fonts/source/M2Jd71oPJhLKp0zdtTvoM0DauxaEVho0aInXGvhmB4k.ttf
new file mode 100644
index 0000000..993831e
--- /dev/null
+++ b/src/main/resources/META-INF/resources/cms2/fonts/source/M2Jd71oPJhLKp0zdtTvoM0DauxaEVho0aInXGvhmB4k.ttf
Binary files differ
diff --git a/src/main/resources/META-INF/resources/cms2/fonts/source/ODelI1aHBYDBqgeIAH2zlNzbP97U9sKh0jjxbPbfOKg.ttf b/src/main/resources/META-INF/resources/cms2/fonts/source/ODelI1aHBYDBqgeIAH2zlNzbP97U9sKh0jjxbPbfOKg.ttf
new file mode 100644
index 0000000..4d1e095
--- /dev/null
+++ b/src/main/resources/META-INF/resources/cms2/fonts/source/ODelI1aHBYDBqgeIAH2zlNzbP97U9sKh0jjxbPbfOKg.ttf
Binary files differ
diff --git a/src/main/resources/META-INF/resources/cms2/fonts/source/fpTVHK8qsXbIeTHTrnQH6Edtd7Dq2ZflsctMEexj2lw.ttf b/src/main/resources/META-INF/resources/cms2/fonts/source/fpTVHK8qsXbIeTHTrnQH6Edtd7Dq2ZflsctMEexj2lw.ttf
new file mode 100644
index 0000000..d8e6189
--- /dev/null
+++ b/src/main/resources/META-INF/resources/cms2/fonts/source/fpTVHK8qsXbIeTHTrnQH6Edtd7Dq2ZflsctMEexj2lw.ttf
Binary files differ
diff --git a/src/main/resources/META-INF/resources/cms2/fonts/source/leqv3v-yTsJNC7nFznSMqbsbIrGiHa6JIepkyt5c0A0.ttf b/src/main/resources/META-INF/resources/cms2/fonts/source/leqv3v-yTsJNC7nFznSMqbsbIrGiHa6JIepkyt5c0A0.ttf
new file mode 100644
index 0000000..765573e
--- /dev/null
+++ b/src/main/resources/META-INF/resources/cms2/fonts/source/leqv3v-yTsJNC7nFznSMqbsbIrGiHa6JIepkyt5c0A0.ttf
Binary files differ
diff --git a/src/main/resources/META-INF/resources/cms2/fonts/source/mrl8jkM18OlOQN8JLgasD9zbP97U9sKh0jjxbPbfOKg.ttf b/src/main/resources/META-INF/resources/cms2/fonts/source/mrl8jkM18OlOQN8JLgasD9zbP97U9sKh0jjxbPbfOKg.ttf
new file mode 100644
index 0000000..e67f49c
--- /dev/null
+++ b/src/main/resources/META-INF/resources/cms2/fonts/source/mrl8jkM18OlOQN8JLgasD9zbP97U9sKh0jjxbPbfOKg.ttf
Binary files differ
diff --git a/src/main/resources/META-INF/resources/cms2/fonts/source/toadOcfmlt9b38dHJxOBGLsbIrGiHa6JIepkyt5c0A0.ttf b/src/main/resources/META-INF/resources/cms2/fonts/source/toadOcfmlt9b38dHJxOBGLsbIrGiHa6JIepkyt5c0A0.ttf
new file mode 100644
index 0000000..9f57838
--- /dev/null
+++ b/src/main/resources/META-INF/resources/cms2/fonts/source/toadOcfmlt9b38dHJxOBGLsbIrGiHa6JIepkyt5c0A0.ttf
Binary files differ