summaryrefslogtreecommitdiff
path: root/_extensions/dragonstyle/unsplash/style.css
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-01-19 13:43:55 +0100
committerJonas Smedegaard <dr@jones.dk>2024-01-19 13:43:55 +0100
commit6ffdf8759dbce8b7ade464a7f171fe1efcd73555 (patch)
treec5970ff4a9fef725c46f29ed791b9acc3823f949 /_extensions/dragonstyle/unsplash/style.css
initial draft
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