pidgin/nest

Imporves styling and images

2019-01-13, Jason Allan
2f7d8af102f2
Parents 909fcb7d426c
Children 381c936fe913
Imporves styling and images

* Moves and adds pidgin logos into static/images
* Style Images in tables not to have margins
* Add custom.css
* Add favicons
--- a/layouts/partials/logo.html Sat Jan 12 18:48:01 2019 +0000
+++ b/layouts/partials/logo.html Sun Jan 13 22:37:50 2019 +0000
@@ -1,1 +1,1 @@
-<img src="/pidgin-circle-256.png" alt="pidgin circle logo">
+<img src="/images/pidgin-circle-256.png" alt="pidgin circle logo" >
Binary file static/images/pidgin-circle-16.png has changed
Binary file static/images/pidgin-circle-256.png has changed
Binary file static/images/pidgin-circle-32.png has changed
Binary file static/images/pidgin-circle-96.png has changed
Binary file static/pidgin-circle-256.png has changed
--- a/themes/learn/layouts/partials/custom-header.html Sat Jan 12 18:48:01 2019 +0000
+++ b/themes/learn/layouts/partials/custom-header.html Sun Jan 13 22:37:50 2019 +0000
@@ -1,5 +1,1 @@
-<!-- Partial intended to be overwritten to add custom headers, like CSS or any other info
-<style type="text/css">
- /* Custom css */
-</style>
--->
\ No newline at end of file
+<link rel="stylesheet" href="/css/custom.css">
\ No newline at end of file
--- a/themes/learn/layouts/partials/favicon.html Sat Jan 12 18:48:01 2019 +0000
+++ b/themes/learn/layouts/partials/favicon.html Sun Jan 13 22:37:50 2019 +0000
@@ -1,2 +1,3 @@
-<link rel="shortcut icon" href="{{"images/favicon.png" | relURL}}" type="image/x-icon" />
-<link rel="icon" href="{{"images/favicon.png" | relURL}}" type="image/x-icon" />
\ No newline at end of file
+<link rel="icon" type="image/png" href="/images/pidgin-circle-16.png" sizes="16x16">
+<link rel="icon" type="image/png" href="/images/pidgin-circle-32.png" sizes="32x32">
+<link rel="icon" type="image/png" href="/images/pidgin-circle-96.png" sizes="96x96">
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/learn/static/css/custom.css Sun Jan 13 22:37:50 2019 +0000
@@ -0,0 +1,4 @@
+td img {
+ margin: 0 !important;
+ width: 30px;
+}
--- a/themes/learn/static/css/theme.css Sat Jan 12 18:48:01 2019 +0000
+++ b/themes/learn/static/css/theme.css Sun Jan 13 22:37:50 2019 +0000
@@ -343,17 +343,13 @@
border: 1px solid #ccc;
}
#body .padding {
- padding: 3rem 6rem;
+ padding: 1rem 1rem;
+ max-width: 900px;
+ margin: auto;
}
@media only all and (max-width: 59.938em) {
#body .padding {
position: static;
- padding: 15px 3rem;
- }
-}
-@media only all and (max-width: 47.938em) {
- #body .padding {
- padding: 5px 1rem;
}
}
#body h1 + hr {