diff options
| author | Tim UX <tim@presto> | 2018-06-05 09:21:08 -0400 |
|---|---|---|
| committer | Tim UX <tim@presto> | 2018-06-05 09:21:08 -0400 |
| commit | 00da400746ecbc43cf4311ef64076b22be01bd6d (patch) | |
| tree | 3aa2d854e3b69e8c2ca8cbfab6551d9e893bfc83 /css | |
| parent | 1a491ddd1d4f99a01c80f1feb5d928cff97cd9a0 (diff) | |
| download | fisheye-00da400746ecbc43cf4311ef64076b22be01bd6d.tar.gz fisheye-00da400746ecbc43cf4311ef64076b22be01bd6d.tar.bz2 fisheye-00da400746ecbc43cf4311ef64076b22be01bd6d.zip | |
add fisheye css
Diffstat (limited to 'css')
| -rw-r--r-- | css/fisheye.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/css/fisheye.css b/css/fisheye.css new file mode 100644 index 0000000..68eb675 --- /dev/null +++ b/css/fisheye.css @@ -0,0 +1,10 @@ +.square {position: relative;width: 95%;padding-bottom: 95%;margin:2.5%;background-position:center center;background-repeat:no-repeat;background-size:cover;border-radius: 5px;} +.square img {height:100%;width:100%;position:absolute; opacity: 0;filter: alpha(opacity=0);} +.gallery-description {line-height: 1.25em; min-height: 2.5em;} +h3.gallery-title {line-height: 1em;margin: 0;font-size: 1.15em; padding: 10px;background-color: rgba(0, 0, 0, .5);position: absolute;bottom:0;width:100%;border-radius: 0 0 5px 5px;} +h3.gallery-title a {color:#fff;text-shadow: 0px 0px 4px #000} +@media only screen and (max-width: 768px) { +.galleries>div:nth-child(even) {padding-left: 5px;} +.galleries>div:nth-child(odd) {padding-right: 5px;} +h3.gallery-title {font-size: 1.1em;padding: 10px;} +}
\ No newline at end of file |
