From 747d51d3bccd4d3df6d6b56479ad19d3aa7fb64e Mon Sep 17 00:00:00 2001 From: maccardoso Date: Thu, 21 Nov 2019 15:52:08 +0000 Subject: [PATCH] Readme updated; css syntax highlighting added to 'style.css'. --- ReadMe.md | 2 +- assets/themes/twitter/css/style.css | 330 ++++++++++++++++++++++++++-- 2 files changed, 312 insertions(+), 20 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index d3ad875..29d16ee 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -15,7 +15,7 @@ The following co-authors contributed to the development of the training material This is the link to the [course webpage](http://gtpb.igc.gulbenkian.pt/bicourses/2019/CPANG19/), for further information about the course. #### Code of Conduct -Please read [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md) for details on our code of conduct, and the process for submitting pull requests to us or reuse the training material. +Please read the [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md) for details on contributing and reusing the training material. #### License This project is licensed under CC-BY 4.0 - see the [License.md](License.md) for details. diff --git a/assets/themes/twitter/css/style.css b/assets/themes/twitter/css/style.css index f61e4b5..0a5887c 100644 --- a/assets/themes/twitter/css/style.css +++ b/assets/themes/twitter/css/style.css @@ -1,47 +1,58 @@ /* Custom container */ .container-narrow { margin: 0 auto; - max-width: 700px; } + max-width: 700px; +} -.container-narrow > hr { - margin: 30px 0; } +.container-narrow>hr { + margin: 30px 0; +} .navbar .nav { - float: right; } + float: right; +} /* posts index */ -.post > h3.title { +.post>h3.title { position: relative; - padding-top: 10px; } + padding-top: 10px; +} -.post > h3.title span.date { +.post>h3.title span.date { position: absolute; right: 0; - font-size: 0.9em; } + font-size: 0.9em; +} -.post > .more { +.post>.more { margin: 10px 0; - text-align: left; } + text-align: left; +} /* post-full*/ .post-full .date { margin-bottom: 20px; - font-weight: bold; } + font-weight: bold; +} /* tag_box */ .tag_box { list-style: none; margin: 0; - overflow: hidden; } + overflow: hidden; +} .tag_box li { - line-height: 28px; } + line-height: 28px; +} .tag_box li i { - opacity: 0.9; } + opacity: 0.9; +} .tag_box.inline li { - float: left; } + float: left; +} .tag_box a { padding: 3px 6px; @@ -50,16 +61,297 @@ color: #555; border-radius: 3px; text-decoration: none; - border: 1px dashed #cccccc; } + border: 1px dashed #cccccc; +} .tag_box a span { vertical-align: super; - font-size: 0.8em; } + font-size: 0.8em; +} .tag_box a:hover { - background-color: #e5e5e5; } + background-color: #e5e5e5; +} .tag_box a.active { background: #57A957; border: 1px solid #4c964d; - color: #FFF; } \ No newline at end of file + color: #FFF; +} + +/* syntax highlighting */ +.highlight table td { + padding: 5px; +} + +.highlight table pre { + margin: 0; +} + +.highlight .cm { + color: #999988; + font-style: italic; +} + +.highlight .cp { + color: #999999; + font-weight: bold; +} + +.highlight .c1 { + color: #999988; + font-style: italic; +} + +.highlight .cs { + color: #999999; + font-weight: bold; + font-style: italic; +} + +.highlight .c, .highlight .ch, .highlight .cd, .highlight .cpf { + color: #999988; + font-style: italic; +} + +.highlight .err { + color: #a61717; + background-color: #e3d2d2; +} + +.highlight .gd { + color: #000000; + background-color: #ffdddd; +} + +.highlight .ge { + color: #000000; + font-style: italic; +} + +.highlight .gr { + color: #aa0000; +} + +.highlight .gh { + color: #999999; +} + +.highlight .gi { + color: #000000; + background-color: #ddffdd; +} + +.highlight .go { + color: #888888; +} + +.highlight .gp { + color: #555555; +} + +.highlight .gs { + font-weight: bold; +} + +.highlight .gu { + color: #aaaaaa; +} + +.highlight .gt { + color: #aa0000; +} + +.highlight .kc { + color: #000000; + font-weight: bold; +} + +.highlight .kd { + color: #000000; + font-weight: bold; +} + +.highlight .kn { + color: #000000; + font-weight: bold; +} + +.highlight .kp { + color: #000000; + font-weight: bold; +} + +.highlight .kr { + color: #000000; + font-weight: bold; +} + +.highlight .kt { + color: #445588; + font-weight: bold; +} + +.highlight .k, .highlight .kv { + color: #000000; + font-weight: bold; +} + +.highlight .mf { + color: #009999; +} + +.highlight .mh { + color: #009999; +} + +.highlight .il { + color: #009999; +} + +.highlight .mi { + color: #009999; +} + +.highlight .mo { + color: #009999; +} + +.highlight .m, .highlight .mb, .highlight .mx { + color: #009999; +} + +.highlight .sb { + color: #d14; +} + +.highlight .sc { + color: #d14; +} + +.highlight .sd { + color: #d14; +} + +.highlight .s2 { + color: #d14; +} + +.highlight .se { + color: #d14; +} + +.highlight .sh { + color: #d14; +} + +.highlight .si { + color: #d14; +} + +.highlight .sx { + color: #d14; +} + +.highlight .sr { + color: #009926; +} + +.highlight .s1 { + color: #d14; +} + +.highlight .ss { + color: #990073; +} + +.highlight .s, .highlight .sa, .highlight .dl { + color: #d14; +} + +.highlight .na { + color: #008080; +} + +.highlight .bp { + color: #999999; +} + +.highlight .nb { + color: #0086B3; +} + +.highlight .nc { + color: #445588; + font-weight: bold; +} + +.highlight .no { + color: #008080; +} + +.highlight .nd { + color: #3c5d5d; + font-weight: bold; +} + +.highlight .ni { + color: #800080; +} + +.highlight .ne { + color: #990000; + font-weight: bold; +} + +.highlight .nf, .highlight .fm { + color: #990000; + font-weight: bold; +} + +.highlight .nl { + color: #990000; + font-weight: bold; +} + +.highlight .nn { + color: #555555; +} + +.highlight .nt { + color: #000080; +} + +.highlight .vc { + color: #008080; +} + +.highlight .vg { + color: #008080; +} + +.highlight .vi { + color: #008080; +} + +.highlight .nv, .highlight .vm { + color: #008080; +} + +.highlight .ow { + color: #000000; + font-weight: bold; +} + +.highlight .o { + color: #000000; + font-weight: bold; +} + +.highlight .w { + color: #bbbbbb; +} + +.highlight { + background-color: #f8f8f8; +}