From c56c2db3cb266f6e326c037339fed2af60594e29 Mon Sep 17 00:00:00 2001 From: Gaspard Jankowiak Date: Tue, 28 Jan 2014 13:43:46 +0100 Subject: [PATCH] fix table ratio --- _sass/screen.scss | 4 +++ en.markdown | 4 +-- index.markdown | 4 +-- stylesheets/screen.css | 56 +++++++++--------------------------------- 4 files changed, 20 insertions(+), 48 deletions(-) diff --git a/_sass/screen.scss b/_sass/screen.scss index 98f7b20..4606d05 100644 --- a/_sass/screen.scss +++ b/_sass/screen.scss @@ -57,6 +57,10 @@ th, td { padding: 0.3em; } tr { border-bottom: 1px solid $dim; } tbody tr:hover { border-bottom: 1px solid $strong; color: $strong; } +.publi_table td:nth-child(1) { width: 30%; } +.publi_table td:nth-child(2) { width: 60%; } +.publi_table td:nth-child(3) { width: 10%; } + ul { list-style-image: url('../images/bullet_dark.png'); } li { margin-left: 1em; } diff --git a/en.markdown b/en.markdown index 96d501b..15882e7 100644 --- a/en.markdown +++ b/en.markdown @@ -32,14 +32,14 @@ to the Keller-Segel model. | Authors | Title | Links | | - | - | :-: | {% for pub in site.data.accepted %} | {{pub.authors}} | *{{pub.title}}*
{{pub.journal}} {{pub.issue}} | [arXiv](http://arxiv.org/pdf/{{pub.arxiv}}) | -{% endfor %}{: .accepted} +{% endfor %}{: .publi_table} ### Submitted | Authors | Title | Links | | - | - | :-: | {% for pub in site.data.submitted %} | {{pub.authors}} | *{{pub.title}}* | [arXiv](http://arxiv.org/pdf/{{pub.arxiv}}) | -{% endfor %}{: .submitted} +{% endfor %}{: .publi_table} ### Visits & conferences diff --git a/index.markdown b/index.markdown index 1b7695d..14dcdd6 100644 --- a/index.markdown +++ b/index.markdown @@ -30,14 +30,14 @@ ainsi que leurs liens avec certaines inégalités fonctionnelles. | Auteurs | Titre | Liens | | - | - | :-: | {% for pub in site.data.accepted %} | {{pub.authors}} | *{{pub.title}}*
{{pub.journal}} {{pub.issue}} | [arXiv](http://arxiv.org/pdf/{{pub.arxiv}}) | -{% endfor %}{: .accepted} +{% endfor %}{: .publi_table} ### Soumises | Auteurs | Titre | Liens | | - | - | :-: | {% for pub in site.data.submitted %} | {{pub.authors}} | *{{pub.title}}* | [arXiv](http://arxiv.org/pdf/{{pub.arxiv}}) | -{% endfor %}{: .submitted} +{% endfor %}{: .publi_table} ## Déplacements & conférences diff --git a/stylesheets/screen.css b/stylesheets/screen.css index 358efc0..ab5102b 100644 --- a/stylesheets/screen.css +++ b/stylesheets/screen.css @@ -2,7 +2,6 @@ * In this file you should write your main styles. (or centralize your imports) * Import this file using the following HTML or equivalent: * */ -/* line 17, ../../../../../../usr/local/share/gems/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, @@ -24,45 +23,37 @@ time, mark, audio, video { vertical-align: baseline; } -/* line 22, ../../../../../../usr/local/share/gems/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ html { line-height: 1; } -/* line 24, ../../../../../../usr/local/share/gems/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ ol, ul { list-style: none; } -/* line 26, ../../../../../../usr/local/share/gems/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ table { border-collapse: collapse; border-spacing: 0; } -/* line 28, ../../../../../../usr/local/share/gems/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ caption, th, td { text-align: left; font-weight: normal; vertical-align: middle; } -/* line 30, ../../../../../../usr/local/share/gems/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ q, blockquote { quotes: none; } -/* line 103, ../../../../../../usr/local/share/gems/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ q:before, q:after, blockquote:before, blockquote:after { content: ""; content: none; } -/* line 32, ../../../../../../usr/local/share/gems/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ a img { border: none; } -/* line 116, ../../../../../../usr/local/share/gems/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; } @@ -82,7 +73,6 @@ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, src: url('/stylesheets/fonts/OpenSans-Italic.woff') format('woff'); } -/* line 22, ../_sass/screen.scss */ html, body { height: 100%; text-align: justify; @@ -92,18 +82,15 @@ html, body { line-height: 1.4em; } -/* line 27, ../_sass/screen.scss */ a { text-decoration: none; color: #5555ff; } -/* line 28, ../_sass/screen.scss */ a:hover { text-decoration: underline; } -/* line 30, ../_sass/screen.scss */ hr { height: 1px; border: none; @@ -111,7 +98,6 @@ hr { margin-top: 1em; } -/* line 32, ../_sass/screen.scss */ section h1 { font-size: 150%; border-left: 0.25em solid #5555ff; @@ -120,18 +106,15 @@ section h1 { margin-left: -0.8em; } -/* line 35, ../_sass/screen.scss */ section h2 { font-size: 120%; font-weight: bold; } -/* line 37, ../_sass/screen.scss */ h1, h2, h3, h4, h5 { margin: 0.7em 0 0.5em 0; } -/* line 39, ../_sass/screen.scss */ header { text-align: center; font-family: "OpenSansLight", sans; @@ -141,110 +124,102 @@ header { padding-top: 1em; } -/* line 43, ../_sass/screen.scss */ header h1 { font-size: 1.5em; margin: 0 0 0.3em 0; } -/* line 45, ../_sass/screen.scss */ header a { color: #444444; } -/* line 47, ../_sass/screen.scss */ nav { text-align: center; font-size: 120%; margin: 1em 0; } -/* line 48, ../_sass/screen.scss */ nav ul li { display: inline; margin: 0; clear: both; } -/* line 50, ../_sass/screen.scss */ footer { font-size: 75%; padding-bottom: 175px; } -/* line 52, ../_sass/screen.scss */ em { font-family: OpenSansItalic; } -/* line 54, ../_sass/screen.scss */ table { width: 100%; } -/* line 55, ../_sass/screen.scss */ thead { color: #999999; } -/* line 56, ../_sass/screen.scss */ th, td { padding: 0.3em; } -/* line 57, ../_sass/screen.scss */ tr { border-bottom: 1px solid #999999; } -/* line 58, ../_sass/screen.scss */ tbody tr:hover { border-bottom: 1px solid #111111; color: #111111; } -/* line 60, ../_sass/screen.scss */ +.publi_table td:nth-child(1) { + width: 30%; +} + +.publi_table td:nth-child(2) { + width: 60%; +} + +.publi_table td:nth-child(3) { + width: 10%; +} + ul { list-style-image: url("../images/bullet_dark.png"); } -/* line 61, ../_sass/screen.scss */ li { margin-left: 1em; } -/* line 63, ../_sass/screen.scss */ .float-left { float: left; } -/* line 64, ../_sass/screen.scss */ .right, .float-right { float: right; } -/* line 65, ../_sass/screen.scss */ .clear { clear: both; } -/* line 67, ../_sass/screen.scss */ .switcher { float: left; } -/* line 69, ../_sass/screen.scss */ .credits { color: #999999; } -/* line 71, ../_sass/screen.scss */ #wrapper { max-width: 800px; margin: auto; } -/* line 72, ../_sass/screen.scss */ #outter-wrapper { width: 100%; height: auto; @@ -252,7 +227,6 @@ li { position: relative; } -/* line 73, ../_sass/screen.scss */ #foot_image { height: 150px; background-image: url("../images/antennes.png"); @@ -262,32 +236,26 @@ li { } @media (max-width: 800px) { - /* line 77, ../_sass/screen.scss */ #outter-wrapper { width: 100%; } - /* line 78, ../_sass/screen.scss */ header h1 { font-size: 1.2em; } - /* line 79, ../_sass/screen.scss */ header { font-size: 1em; } - /* line 80, ../_sass/screen.scss */ body { padding: 0 1em; } - /* line 81, ../_sass/screen.scss */ #foot_image { display: none; } - /* line 82, ../_sass/screen.scss */ footer { display: none; }