diff options
| author | Roger Braun <roger@rogerbraun.net> | 2017-01-15 15:44:56 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2017-01-15 15:44:56 +0100 |
| commit | fc7e13e7bbbdbd0503094a5cb7318d6a02f1c157 (patch) | |
| tree | a8351b79d90ff3e59373cc6554cd4740c9e1f433 /src/components/attachment | |
| parent | 590782701df0e903e3193c827d5dd74244bdccf8 (diff) | |
Add styling with base16.
Solarized-dark for now.
Diffstat (limited to 'src/components/attachment')
| -rw-r--r-- | src/components/attachment/attachment.vue | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index e16cc7cd..fe57924e 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -9,7 +9,7 @@ <a class="image-attachment" v-if="type === 'image' && !hidden" :href="attachment.url" target="_blank"> - <img referrerpolicy="no-referrer" :src="attachment.url"></img> + <img class="base05-border" referrerpolicy="no-referrer" :src="attachment.url"></img> </a> <video v-if="type === 'video' && !hidden" :src="attachment.url" controls></video> @@ -97,10 +97,6 @@ h1 { font-size: 14px; margin: 0px; - - a { - color: black; - } } } } @@ -111,7 +107,8 @@ img { width: 100%; - border: 1px solid; + border-style: solid; + border-width: 1px; border-radius: 0.5em; width: 100%; height: 100%; /* If this isn't here, chrome will stretch the images */ |
