about summary refs log tree commit diff
path: root/wpisy/kronika.css
diff options
context:
space:
mode:
Diffstat (limited to 'wpisy/kronika.css')
-rw-r--r--wpisy/kronika.css55
1 files changed, 55 insertions, 0 deletions
diff --git a/wpisy/kronika.css b/wpisy/kronika.css
new file mode 100644
index 0000000..32f7860
--- /dev/null
+++ b/wpisy/kronika.css
@@ -0,0 +1,55 @@
+.post-link {
+  margin: 20px;
+  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
+  background: #ffffff;
+  text-align: left;
+  transition: all 300ms ease-in-out;
+}
+
+.post-link > a > div {
+  display: grid;
+  grid-template-columns: 1fr 2fr;
+}
+
+.post-link:hover {
+  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
+  transform: scale(1.02);
+}
+
+.post-link > a {
+  text-decoration: none;
+}
+
+.post-link .post-container {
+  padding: 20px;
+  padding-top: 0;
+}
+
+.post-link .post-title {
+  color: #181818;
+  font-size: 1.3em;
+}
+
+.post-link .post-description {
+  color: #484848;
+  font-size: 0.9em;
+}
+
+.post-link .image {
+  background-repeat: no-repeat;
+  background-size: cover;
+  background-position: center;
+  box-shadow: inset 0px 0px 100px rgba(0, 0, 0, 0.25);
+}
+
+.post-list {
+  width: 100%;
+  margin: 15px auto;
+}
+
+@media (max-width: 550px) {
+  .post-link > a > div {
+    grid-template-columns: 1fr;
+    grid-template-rows: 1fr 1fr;
+  }
+}