Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/darshanbaral/mero.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorDarshan Baral <darshanbaral@gmail.com>2019-06-02 02:51:25 +0300
committerDarshan Baral <darshanbaral@gmail.com>2019-06-19 07:26:53 +0300
commit62ffdf049d81237d9031696f6940da2417a9e217 (patch)
treea2c53cff4d6e1280f690749c812e2de06f29813c /static
parent364e92fe6752dd7132678145a6da7d964153a8d7 (diff)
updated theme to allow for more sections
separate by section instead of category Added section previews in home page Added pagination to sections Added pagination to single pages Added dropdown menu Style Changes Consolidated Files Reorganized social icons Section Previews in Home Page Menu is now auto generated Updated archetype Added _index.md for sections Updated contents Metadata for pages Reorganized homepage Style updates Removal/Reorganization Reorganization Updated theme.toml
Diffstat (limited to 'static')
-rw-r--r--static/css/mero.css113
-rw-r--r--static/images/post1/post1_skyline_tn.jpegbin0 -> 72931 bytes
-rw-r--r--static/js/mero.js8
3 files changed, 121 insertions, 0 deletions
diff --git a/static/css/mero.css b/static/css/mero.css
new file mode 100644
index 0000000..f5ecef6
--- /dev/null
+++ b/static/css/mero.css
@@ -0,0 +1,113 @@
+html,
+body {
+ height: 100%;
+}
+.wrapper {
+ min-height: 100%;
+ margin-bottom: -100px;
+ padding-bottom: 100px;
+}
+footer {
+ height: 100px;
+}
+a {
+ color: #ffc107 !important;
+}
+a:hover {
+ color: #a57e09 !important;
+}
+code {
+ font-family: "Roboto Mono", monospace;
+ color: #04dac6 !important;
+}
+a:hover {
+ text-decoration: none;
+}
+* {
+ font-family: "Overlock", cursive;
+}
+.bg-dark,
+.btn-dark {
+ background-color: rgb(37, 36, 36) !important;
+}
+.bg-dark2 {
+ background-color: #37393a !important;
+}
+.social-icon {
+ font-size: 1.7em;
+}
+.social-icon:hover {
+ font-size: 1.6em;
+}
+.menu-item {
+ font-size: 1em;
+}
+.shadow {
+ box-shadow: 0px 8px 9px 0px rgba(0, 0, 0, 0.75) !important;
+}
+.dropbtn:hover {
+ cursor: pointer;
+ color: #a57e09 !important;
+}
+.dropdown-content {
+ display: none;
+ position: absolute;
+ white-space: nowrap;
+ box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
+ z-index: 1;
+}
+.dropdown {
+ cursor: pointer;
+ position: relative !important;
+ display: inline-block !important;
+}
+.dropdown:hover {
+ box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
+}
+.dropdown:hover .dropdown-content {
+ display: block;
+}
+.page-link {
+ background-color: #262b30 !important;
+}
+.page-item.active .page-link {
+ border-color: #ffc107 !important;
+ background-color: #ffc107 !important;
+ color: black !important;
+}
+.page-item.disabled .page-link {
+ color: #4d4d4d !important;
+}
+.more {
+ color: #ffc107 !important;
+}
+.more:hover {
+ cursor: pointer;
+}
+.metadata {
+ transition: all 0.25s;
+}
+.metadata-value {
+ font-size: 0.8em;
+}
+.pagination {
+ display: flex;
+ justify-content: center;
+}
+@media only screen and (max-width: 750px) {
+ .home-flex-item {
+ width: 100% !important;
+ }
+}
+h1 {
+ font-size: 2.1rem;
+}
+h2 {
+ font-size: 1.8rem;
+}
+h3 {
+ font-size: 1.5rem;
+}
+h4 {
+ font-size: 1.2rem;
+}
diff --git a/static/images/post1/post1_skyline_tn.jpeg b/static/images/post1/post1_skyline_tn.jpeg
new file mode 100644
index 0000000..767b6fe
--- /dev/null
+++ b/static/images/post1/post1_skyline_tn.jpeg
Binary files differ
diff --git a/static/js/mero.js b/static/js/mero.js
new file mode 100644
index 0000000..0746922
--- /dev/null
+++ b/static/js/mero.js
@@ -0,0 +1,8 @@
+setColors = function() {
+ let images = Array.from(document.querySelectorAll("img"));
+ images.forEach(elem => elem.classList.add("img-fluid", "rounded"));
+
+ let imagecaption = Array.from(document.querySelectorAll("figcaption"));
+ imagecaption.forEach(elem => elem.classList.add("initialism"));
+};
+window.onload = setColors;