summaryrefslogtreecommitdiff
path: root/_extensions/dragonstyle/unsplash/style.css
diff options
context:
space:
mode:
Diffstat (limited to '_extensions/dragonstyle/unsplash/style.css')
-rw-r--r--_extensions/dragonstyle/unsplash/style.css25
1 files changed, 25 insertions, 0 deletions
diff --git a/_extensions/dragonstyle/unsplash/style.css b/_extensions/dragonstyle/unsplash/style.css
new file mode 100644
index 0000000..42f9620
--- /dev/null
+++ b/_extensions/dragonstyle/unsplash/style.css
@@ -0,0 +1,25 @@
+.unsplash-container {
+ overflow: hidden;
+ margin-bottom: 1em;
+}
+
+.unsplash-container img {
+ object-fit: cover;
+ width: 100%;
+}
+
+.unsplash-container.float-right {
+ float: right;
+ padding-left: 0.75em;
+}
+
+.unsplash-container.float-left {
+ float: left;
+ padding-right: 0.75em;
+}
+
+.unsplash-container.float-center {
+ float: center;
+ padding-left: 0.75em;
+ padding-right: 0.75em;
+} \ No newline at end of file