diff options
author | komalsheth286 | 2016-09-08 10:44:04 +0530 |
---|---|---|
committer | komalsheth286 | 2016-09-08 10:44:04 +0530 |
commit | 95bb4b3c871732f354132fc1571a00b0acbf68ac (patch) | |
tree | 3c21f0883cbecaffc1eee011bfdb352423b7af6d /website/static/sass/components/_image.scss | |
download | SciPy2016-95bb4b3c871732f354132fc1571a00b0acbf68ac.tar.gz SciPy2016-95bb4b3c871732f354132fc1571a00b0acbf68ac.tar.bz2 SciPy2016-95bb4b3c871732f354132fc1571a00b0acbf68ac.zip |
First Commit
Diffstat (limited to 'website/static/sass/components/_image.scss')
-rw-r--r-- | website/static/sass/components/_image.scss | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/website/static/sass/components/_image.scss b/website/static/sass/components/_image.scss new file mode 100644 index 0000000..3c4db8c --- /dev/null +++ b/website/static/sass/components/_image.scss @@ -0,0 +1,60 @@ +///
+/// Stellar by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Image */
+
+ .image {
+ border-radius: _size(border-radius);
+ border: 0;
+ display: inline-block;
+ position: relative;
+
+ img {
+ border-radius: _size(border-radius);
+ display: block;
+ }
+
+ &.left,
+ &.right {
+ max-width: 40%;
+
+ img {
+ width: 100%;
+ }
+ }
+
+ &.left {
+ float: left;
+ margin: 0 1.5em 1em 0;
+ top: 0.25em;
+ }
+
+ &.right {
+ float: right;
+ margin: 0 0 1em 1.5em;
+ top: 0.25em;
+ }
+
+ &.fit {
+ display: block;
+ margin: 0 0 _size(element-margin) 0;
+ width: 100%;
+
+ img {
+ width: 100%;
+ }
+ }
+
+ &.main {
+ display: block;
+ margin: 0 0 (_size(element-margin) * 1.5) 0;
+ width: 100%;
+
+ img {
+ width: 100%;
+ }
+ }
+ }
\ No newline at end of file |