sass code for attachments shortcode
+65 −1 · 4 files changed
-
assets/sass/_attachments.sass+62 −0 -
assets/sass/_custom.sass+1 −0 -
assets/sass/main.sass+1 −0 -
i18n/ro.toml+1 −1
@@ -0,0 +1,62 @@ +@charset "UTF-8" + +// attachments shortcode + +section.attachments + margin: 2rem 0 + position: relative + border-radius: 10px + + label + font-weight: 400 + display: block + padding-left: 0.5em + padding-top: 0.2em + padding-bottom: 0.2em + margin: 0px + color: #666 + border-top-left-radius: 10px + border-top-right-radius: 10px + + .attachments-files + padding: 15px + display: block + font-size: 1rem + margin-top: 0rem + margin-bottom: 0rem + color: #666 + border-bottom-left-radius: 10px + border-bottom-right-radius: 10px + + &.orange + label + color: #fff + background: #F0B37E + + .attachments-files + background: #FFF2DB + + &.green + label + color: #fff + background: rgba(92, 184, 92, 0.8) + + .attachments-files + background: #E6F9E6 + + &.blue + label + color: #fff + background: #6AB0DE + + .attachments-files + background: #E7F2FA + + &.grey + label + color: #fff + background: #505d65 + + .attachments-files + background: #f4f4f4 + @@ -2,3 +2,4 @@ // due to the cascading nature of css, if you try to override theme css variables in this file, those changes will not apply. Instead, override css variables in the `override.sass` file // we recommend not editing this file directly. Instead, create an `assets/sass/_custom.sass` file at the root level of your site. // if you edit this file directly, you will have to resolve git conflicts when and if you decide to pull changes we make on the theme + @@ -14,3 +14,4 @@ $iconsPath: '{{ printf "../%s" (default "icons/" .Site.Params.iconsDir) }}' @import 'mobile' @import 'syntax' @import 'custom' +@import 'attachments' @@ -29,7 +29,7 @@ other = "Înapoi" other = "Traduceri" [categories] -other = "Categorii" +other = "Domenii" [tags] other = "Etichete"