diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-21 19:26:26 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-21 19:26:26 +0100 |
| commit | 4ba9b3906b27e3571767689d2764b67dfe007e30 (patch) | |
| tree | 494f4e6a65d34a4338c14de4144595a2df8c65b5 /css | |
| download | stock-4ba9b3906b27e3571767689d2764b67dfe007e30.tar.gz stock-4ba9b3906b27e3571767689d2764b67dfe007e30.tar.bz2 stock-4ba9b3906b27e3571767689d2764b67dfe007e30.zip | |
Initial stock package — forked from fisheye
StockAssembly (was FisheyeGallery), StockComponent (was FisheyeImage),
StockBase (was FisheyeBase). All fisheye_ table prefixes and FISHEYE_
constants renamed to stock_/STOCK_. DB schema will need rework before
install; this gives a non-clashing base to diverge from fisheye.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'css')
| -rwxr-xr-x | css/div_layout.css | 11 | ||||
| -rwxr-xr-x | css/stock.css | 10 |
2 files changed, 21 insertions, 0 deletions
diff --git a/css/div_layout.css b/css/div_layout.css new file mode 100755 index 0000000..96f9b3f --- /dev/null +++ b/css/div_layout.css @@ -0,0 +1,11 @@ +/* generic div based fisheye settings */ +/* you can override these in your own css file */ +.thumbnailblock .avatar-thmb, +.thumbnailblock .small-thmb, +.thumbnailblock .medium-thmb, +.thumbnailblock .large-thmb {float:left; overflow:auto;} + +.thumbnailblock .avatar-thmb {width:120px; height:170px;} +.thumbnailblock .small-thmb {width:180px; height:230px;} +.thumbnailblock .medium-thmb {width:420px; height:470px;} +.thumbnailblock .large-thmb {width:820px; height:870px;} diff --git a/css/stock.css b/css/stock.css new file mode 100755 index 0000000..68eb675 --- /dev/null +++ b/css/stock.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 |
