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

github.com/gundamew/hugo-bingo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/style.css')
-rw-r--r--assets/css/style.css224
1 files changed, 224 insertions, 0 deletions
diff --git a/assets/css/style.css b/assets/css/style.css
new file mode 100644
index 0000000..7043b4e
--- /dev/null
+++ b/assets/css/style.css
@@ -0,0 +1,224 @@
+:root {
+ --primary-color: #1976d2;
+ --primary-color-dark: #004ba0;
+ --primary-color-light: #63a4ff;
+ --grey: #bdbdbd;
+ --grey-dark: #8d8d8d;
+ --grey-light: #efefef;
+ --break-point-large: 992px;
+ --break-point-medium: 768px;
+ --break-point-small: 576px;
+}
+
+blockquote {
+ background: var(--grey-light);
+ border-left: .5rem solid var(--grey-dark);
+ padding: .5rem 1rem;
+}
+
+@media (max-width: 576px) {
+ blockquote {
+ margin: 16px;
+ }
+}
+
+header,
+footer,
+.container {
+ margin-left: auto;
+ margin-right: auto;
+ max-width: 80%;
+}
+
+header {
+ margin-bottom: 16px;
+ margin-top: 8px;
+}
+
+footer {
+ text-align: center;
+ margin-top: 64px;
+ margin-bottom: 16px;
+}
+
+.breadcrumb {
+ background-color: var(--primary-color-dark);
+ line-height: 2;
+ padding-left: 16px;
+ padding-right: 16px;
+}
+
+.breadcrumb a {
+ background-color: var(--primary-color-dark);
+ color: #fff;
+ margin-right: 16px;
+}
+
+a {
+ color: var(--primary-color-dark);
+ text-decoration: none;
+ opacity: 1;
+}
+
+a:focus,
+a:hover {
+ transition: opacity .15s ease-in;
+}
+
+a:focus,
+a:hover {
+ opacity: .5;
+}
+
+a:active {
+ opacity: .8;
+ transition:opacity .15s ease-out;
+}
+
+ul {
+ list-style-type: none;
+}
+
+#home {
+ line-height: 1.5;
+}
+
+@media (max-width: 576px) {
+ #home h2 {
+ text-align: center;
+ }
+}
+
+.avatar {
+ margin: 32px auto 0;
+ width: 160px;
+}
+
+.avatar > img {
+ border-radius: 50%;
+ width: 100%;
+}
+
+@media (max-width: 576px) {
+ .avatar {
+ width: 50%;
+ }
+}
+
+#content > h2,
+#content > p {
+ text-align: center;
+}
+
+.social-media-links {
+ margin-top: 24px;
+ text-align: center;
+}
+
+.social-media {
+ margin-right: 16px;
+}
+
+.social-media img {
+ width: 32px;
+}
+
+#content,
+#recent-posts {
+ margin: 32px auto;
+ width: 72%;
+}
+
+@media (max-width: 576px) {
+ #content,
+ #recent-posts {
+ width: 88%;
+ }
+}
+
+#recent-posts > h2 {
+ font-size: 1.25rem;
+}
+
+#recent-posts > ul,
+#list > ul {
+ padding: 0;
+}
+
+#recent-posts > ul > li {
+ margin-bottom: 4px;
+}
+
+@media (max-width: 576px) {
+ #recent-posts > ul > li {
+ margin-bottom: 8px;
+ }
+}
+
+#recent-posts > ul > li > span,
+#list > ul > li > p {
+ color: var(--grey);
+ font-family: Consolas, monaco, monospace;
+ margin-right: 8px;
+ font-weight: normal;
+}
+
+.footer-text {
+ font-size: .8rem;
+}
+
+#list {
+ margin-left: auto;
+ margin-right: auto;
+ max-width: 64%;
+}
+
+@media (max-width: 576px) {
+ #list {
+ max-width: 88%;
+ }
+}
+
+#list > h1 {
+ font-size: 2.5rem;
+}
+
+#list > ul > li {
+ margin-bottom: 32px;
+ font-weight: bold;
+}
+
+#single > h1,
+#single > h2 {
+ line-height: 1.5;
+ text-align: center;
+ padding: 8px 24px;
+}
+
+.post-content {
+ line-height: 2;
+ margin: 8px 48px;
+}
+
+@media (max-width: 576px) {
+ .post-content {
+ margin: 8px;
+ }
+}
+
+.post-content > p code {
+ background-color: var(--grey-light);
+ padding: 2px 4px;
+ border-radius: 2px;
+}
+
+.post-content ul {
+ list-style-type: disc;
+}
+
+/* Override syntax highlighting styles */
+
+.hljs {
+ border-radius: .25rem;
+ padding: 1rem;
+}