diff options
author | Justin Berthault <justin.berthault@zaclys.net> | 2018-09-21 17:48:24 +0300 |
---|---|---|
committer | Justin Berthault <justin.berthault@zaclys.net> | 2018-09-21 17:48:24 +0300 |
commit | 930090a32b4886631288b12b3eb03b64dcf9f545 (patch) | |
tree | 6c5c7fb1c0604adfae93623d81ef71c1cfe54c00 /assets | |
parent | 6cf7c41b9eb97ce322e28e1e82ed1163832f664f (diff) |
Update figure css
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/style.css | 1 | ||||
-rw-r--r-- | assets/css/style.css~ | 293 |
2 files changed, 0 insertions, 294 deletions
diff --git a/assets/css/style.css b/assets/css/style.css index ad55738..f6955c3 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -172,7 +172,6 @@ th { padding: .375rem } figure { - max-width: 30%; margin: auto } figcaption { diff --git a/assets/css/style.css~ b/assets/css/style.css~ deleted file mode 100644 index c49c41c..0000000 --- a/assets/css/style.css~ +++ /dev/null @@ -1,293 +0,0 @@ -@font-face { - font-family: "Open Sans"; - src: url("../fonts/opensansregular.woff2") format("woff2"); -} -html { - background: #f1f3f7 -} -body { - position: relative; - max-width: 900px; - margin: 0 auto; - padding-top: 1rem; - font: 1rem/1.7rem "Open Sans"; - color: #505d70 -} -aside { - background: #dde3ec -} -#avatar { - margin: 0 auto; - display: block; - width: 140px; - border-radius: 50%; - border-width: 4px; - border-style: inset -} -#sitetitle { - font-size: 1.8rem; - letter-spacing: -.5px; - padding-top: 1rem -} -#sitesubtitle { - margin: 12px 0 -} -#social { - background: #eff1f6; - font-size: 1.2rem; - padding: .8rem -} -#social i { - margin: 1rem -} -main { - background: #dfe3ec; - text-align: justify; - padding: 10px -} -article { - padding: 1rem 1rem 3rem 1rem; - background-color: #dee2ed; - margin-bottom: .4rem -} -header { - border: .2rem solid #748296; - margin-bottom: 1rem; - padding: 0 .75rem .75rem .75rem; - background-color: #dfe3ec -} -header h1 a { - margin-bottom: .4rem; - text-align: center; - width: 85% -} -time { - font-size: .8rem -} -.meta { - clear: both; - font-size: .86rem; - margin-bottom: .8rem -} -.meta .categories { - text-transform: uppercase; - color: #e5bc5a -} -.meta .tags { - color: #008989; - margin-left: .6rem -} -.tags::before { - content: "#" -} -footer { - margin: 4rem 0 1rem 0; - background: #eff1f6; - text-align: center; - clear: both -} -a:hover { - text-decoration: underline -} -blockquote { - padding: 1px 15px; - border-left: 4px solid #ad54a2; - border-top: 1px solid #505d70; - border-right: 1px solid #505d70; - border-bottom: 1px solid #505d70; - background-color: #dfe3ec -} -p code { - font-size: .8rem; - font-family: monospace; - padding: .5rem; - color: #2d3847; - background-color: #dfe3ec; - border: 1px #505d70 dashed; - border-radius: 2px -} -pre { - padding: 1rem 2rem; - border: 1px #505d70 solid; - border-radius: 2px; - background: #262e3a; - display: block; - overflow-x: auto -} -pre code { - border: none; -} -a { - font-weight: 700; - text-decoration: none; - outline: 0; - color: #007acd -} -h1 { - font-size: 1.8em -} -h2 { - font-size: 1.4em -} -h3 { - font-size: 1.2em -} -h1 i { - padding-right: 1rem -} -em { - color: #408636 -} -strong { - color: #c24a44 -} -#index { - text-align: center -} -table, -td, -th { - border: 1px solid #bdbdbd -} -table { - width: 95%; - margin: 0 0 1.5rem; - border-collapse: separate; - border-spacing: 0; - border-width: 1px 0 0 1px -} -thead { - background-color: #22272e -} -th { - font-weight: 700 -} -td, -th { - border-width: 0 1px 1px 0 -} -td, -th { - padding: .375rem -} -figure { - max-width: 30%; - margin: auto -} -figcaption { - text-align: center -} -img { - display: block; - margin: auto; - max-width: 90% -} -.icon-gitlab { - color: #42b983 -} -.icon-rss { - color: #f60 -} -.thumbnail { - padding: 1rem -} -.left { - float: left -} -.right { - float: right -} -.gallery { - display: inline-block; - padding-bottom: 1rem -} -.gallery-item { - float: left; - position: relative -} -.gallery-item .thumbnail { - max-width: 90% -} -.label { - display: inline; - padding: .2rem 1rem .2rem; - font-size: 80%; - color: #fff; - text-align: center; - white-space: nowrap; - vertical-align: baseline; - border-radius: .25rem; - background-color: #007acd -} -label { - display: block; - margin-bottom: .5rem; - font-weight: 600 -} -@media only screen and (min-width:900px) { - aside { - float: left; - width: 160px; - position: fixed; - border-radius: 2%; - border-width: 1px; - padding: 2rem .5rem; - text-align: center - } - main { - float: right; - width: 640px - } - header h1 a { - float: left - } - time { - float: right - } - #TableOfContents { - max-width: 50% - } - .gallery-item { - width: 33% - } -} -@media only screen and (max-width:900px) { - body { - padding-top: 0 - } - aside { - position: relative; - padding: .2rem 0 .2rem .2rem; - vertical-align: middle; - text-align: center - } - #avatar { - float: left; - position: absolute; - margin-top: .5rem; - margin-left: .8rem; - width: 100px; - } - #sitetitle, #sitesubtitle, #navlinks { - text-align: center; - } - #sitesubtitle { - font-size: .7rem - } - #navlinks { - font-size: .8rem - } - main { - clear: both; - padding-top: 1rem - } - header { - text-align: center - } - time { - display: block - } - .gallery-item { - width: 33.3% - } -} |