diff --git a/static/src/main.css b/static/src/main.css index 1171fe3..d7ec674 100644 --- a/static/src/main.css +++ b/static/src/main.css @@ -73,4 +73,59 @@ src: local(''), url('/static/font/rubik-v12-latin-500italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/static/font/rubik-v12-latin-500italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ -} \ No newline at end of file +} + +div pre[class*="language-"] { + display: inline-block; + padding-right: 10em; + padding-top: 3rem; + border-radius: 6px; + background-image: url('data:image/svg+xml;utf8, '); + background-repeat: no-repeat; + background-position: 16px 16px; + box-shadow: 5px 5px 15px 0px rgba(50, 50, 50, 0.75); +} + +/** + * okaidia theme for JavaScript, CSS and HTML + * Loosely based on Monokai textmate theme by http://www.monokai.nl/ + * @author ocodia + */ + +code[class*="language-"], +pre[class*="language-"] { + max-width: 90%; + border: black; + color: #f8f8f2; + background: none; + text-shadow: 0 1px rgba(0, 0, 0, 0.3); + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; + border-radius: 0.3em; +} + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #272822; +} diff --git a/templates/base.html b/templates/base.html index 8d6712c..b259fdc 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,7 +5,6 @@ MAT2 - {% assets 'css' %} @@ -36,8 +35,11 @@ \ No newline at end of file diff --git a/templates/info.html b/templates/info.html index 889a08f..3be85b8 100644 --- a/templates/info.html +++ b/templates/info.html @@ -1,60 +1,75 @@ {% extends "base.html" %} {% block content %} -
-

- What are metadata? -

-

- Metadata consists of information that characterizes your file. They answer background questions about who, how, when, and what. This gives your file multi-faceted documentation. - - https://0xacab.org/jvoisin/mat2/blob/master/README.md (09.2019) - -

- -

- The metadata of your file leak a lot of information about you. For example, cameras store file information about the time of a shot and which camera was used for it. Documents, such as PDF or Words, automatically add author or company information to the document. You don't want to publish all this information at all? -

- -

- This is precisely the job of MAT2: getting rid, as much as possible, of metadata. -

- -

- MAT2 locally -

-

- Please note that while we do not keep a copy of your file, there is no way that you could be certain about this: Act accordingly. Due to this warning, please consider running MAT2 locally on your device. -

- -

- MAT2 is available in pip -

-

-

pip3 install mat2
-

-

- MAT2 on Debian -

-

- MAT2 is available on Debian. -

-

-

sudo apt install mat2
-

-

- More info: https://packages.debian.org/sid/mat2 -

- -

- Supported file formats -

-

- {% for extension in extensions %} - - {{ extension }} - - {% endfor %} -

+
+
+

+
+ What are metadata +
+

+

+ Metadata consists of information that characterizes your file. They answer background questions about who, how, when, and what. This gives your file multi-faceted documentation. + + https://0xacab.org/jvoisin/mat2/blob/master/README.md (09.2019) + +

+ +

+ The metadata of your file leak a lot of information about you. For example, cameras store file information about the time of a shot and which camera was used for it. Documents, such as PDF or Words, automatically add author or company information to the document. You don't want to publish all this information at all? +

+ +

+ This is precisely the job of MAT2: getting rid, as much as possible, of metadata. +

+ +

+
+ MAT2 locally +
+

+

+ Please note that while we do not keep a copy of your file, there is no way that you could be certain about this: Act accordingly. Due to this warning, please consider running MAT2 locally on your device. +

+ +

+
+ MAT2 is available in pip +
+

+

+

pip3 install mat2
+

+ +

+
+ MAT2 on Debian +
+

+

+ MAT2 is available on Debian. +

+ +

+

sudo apt install mat2
+

+

+ More info: https://packages.debian.org/sid/mat2 +

+
+
+

+
+ Supported file formats +
+

+
+ {% for extension in extensions %} + + {{ extension }} + + {% endfor %} +
+