diff options
author | Thomas Park <thomas@thomaspark.me> | 2014-07-13 12:58:37 -0400 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.me> | 2014-07-13 12:58:37 -0400 |
commit | 1d47ddce2aba78b1b910b9c2396a5359818a1072 (patch) | |
tree | 6c058ebbf2b38e93a99e9fddcb5f2c48578eb401 /assets/less | |
parent | 0f9d5237431db1bb635ce8f64bd39a0f0c2a1f27 (diff) |
on thumbnails, use inset box shadows instead of borders
Diffstat (limited to 'assets/less')
-rw-r--r-- | assets/less/bootswatch.less | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/assets/less/bootswatch.less b/assets/less/bootswatch.less index 123f2be5..e93ee6d5 100644 --- a/assets/less/bootswatch.less +++ b/assets/less/bootswatch.less @@ -113,8 +113,7 @@ footer { .section-tout { padding: 4em 0 3em; - border-top: 1px solid rgba(255, 255, 255, 0.1); - border-bottom: 1px solid rgba(0, 0, 0, 0.1); + border-bottom: 1px solid rgba(0, 0, 0, 0.05); background-color: #eaf1f1; .fa { @@ -133,11 +132,25 @@ footer { margin-bottom: 4em; background-color: #eaf1f1; - border: 1px solid rgba(0, 0, 0, 0.1); + + .image { + position: relative; + } + + .image:before { + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + content: ""; + } .options { padding: 1em 2em 2em; - border-top: 1px solid rgba(0, 0, 0, 0.1); + border: 1px solid rgba(0, 0, 0, 0.05); + border-top: none; text-align: center; p { |