diff options
author | prashantsinalkar | 2017-09-07 12:26:06 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-09-07 12:26:06 +0530 |
commit | 9f89e398c88fa0982363d5f42e10f04dc4b58911 (patch) | |
tree | f0b8bb2d7988c21ba56d00f025d4405e2a975fb0 /website/static/sass/components/_image.scss | |
parent | a545b3f01d16d6dcaebe3067a2e847df7c271a59 (diff) | |
download | SciPy2017-9f89e398c88fa0982363d5f42e10f04dc4b58911.tar.gz SciPy2017-9f89e398c88fa0982363d5f42e10f04dc4b58911.tar.bz2 SciPy2017-9f89e398c88fa0982363d5f42e10f04dc4b58911.zip |
initial commit for development
Diffstat (limited to 'website/static/sass/components/_image.scss')
-rwxr-xr-x | 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 100755 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 |