From 56d0b04c7308eaa8143b0403260cfb10444c1da0 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Fri, 22 Sep 2017 15:08:04 +0200 Subject: [PATCH 1/3] Fix dl style --- sass/style.sass | 23 +++++------------------ static/css/style.sass.css | 23 ++++++----------------- 2 files changed, 11 insertions(+), 35 deletions(-) diff --git a/sass/style.sass b/sass/style.sass index 5de8646..d468091 100644 --- a/sass/style.sass +++ b/sass/style.sass @@ -106,25 +106,12 @@ h2 font-size: 2em font-weight: 400 -dl - display: flex - flex-wrap: wrap +dd + margin-left: 1em - dt - box-sizing: border-box - display: flex - flex-direction: column - line-height: 50px - text-align: center - padding: 1em - width: 300px - - dd - box-sizing: border-box - margin-left: -300px - padding: 3em 0 0 - text-align: center - width: 300px + p:before + content: '→ ' + display: inline #planet main, #emplois main, #index-news box-sizing: border-box diff --git a/static/css/style.sass.css b/static/css/style.sass.css index 9bd94c7..5621d7a 100644 --- a/static/css/style.sass.css +++ b/static/css/style.sass.css @@ -1,3 +1,4 @@ +@charset "UTF-8"; @import url("https://fonts.googleapis.com/css?family=Hind:300,400,600,700"); a { color: #ffcd05; @@ -92,23 +93,11 @@ h2 { font-size: 2em; font-weight: 400; } -dl { - display: flex; - flex-wrap: wrap; } - dl dt { - box-sizing: border-box; - display: flex; - flex-direction: column; - line-height: 50px; - text-align: center; - padding: 1em; - width: 300px; } - dl dd { - box-sizing: border-box; - margin-left: -300px; - padding: 3em 0 0; - text-align: center; - width: 300px; } +dd { + margin-left: 1em; } + dd p:before { + content: '→ '; + display: inline; } #planet main, #emplois main, #index-news { box-sizing: border-box; From 14e36fd6fb68a9460d54447d05e2eea1e6527feb Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Fri, 22 Sep 2017 15:24:37 +0200 Subject: [PATCH 2/3] Add Bruxelles meetups --- afpy.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/afpy.py b/afpy.py index 84c75b5..68f7d68 100644 --- a/afpy.py +++ b/afpy.py @@ -12,6 +12,9 @@ FEEDS = { } MEETUPS = { + 'bruxelles': ( + 'https://www.meetup.com/fr-FR/' + 'Belgium-Python-Meetup-aka-AperoPythonBe/events/rss/'), 'nantes': 'http://nantes.afpy.org/feeds/all.atom.xml', 'lyon': 'https://www.meetup.com/fr-FR/Python-AFPY-Lyon/events/rss/', } From 87b4d957f1d4014bc8b66d709bb14d1b11169dd0 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Fri, 22 Sep 2017 15:30:27 +0200 Subject: [PATCH 3/3] Clean the clavardage page --- sass/style.sass | 5 +++++ static/css/style.sass.css | 5 +++++ templates/clavardage.html | 16 ++++++++-------- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/sass/style.sass b/sass/style.sass index 11a491f..74c26ad 100644 --- a/sass/style.sass +++ b/sass/style.sass @@ -36,6 +36,11 @@ code display: block padding: 2em +iframe + border: 0 + height: 450px + width: 100% + body background: $bkg color: $text diff --git a/static/css/style.sass.css b/static/css/style.sass.css index 3a94adc..2fea60a 100644 --- a/static/css/style.sass.css +++ b/static/css/style.sass.css @@ -29,6 +29,11 @@ code { display: block; padding: 2em; } +iframe { + border: 0; + height: 450px; + width: 100%; } + body { background: #25252D; color: #eaeaea; diff --git a/templates/clavardage.html b/templates/clavardage.html index a2c1dfb..3f6c470 100644 --- a/templates/clavardage.html +++ b/templates/clavardage.html @@ -8,37 +8,37 @@

Depuis cette page web vous pouvez

    -
  • venir discuter avec l'association, sur le canal #afpy
  • +
  • venir discuter avec l'association sur le canal #afpy
  • parler Python en français sur le canal #python-fr

Bon à savoir

- IRC (Internet Relay Chat) permet d'utiliser plusieurs canaux de discussion en simultané. Si vous vous trouvez sur #afpy et souhaitez rejoindre #python-fr, rien de plus simple, tapez :
+ IRC (Internet Relay Chat) permet d'utiliser plusieurs canaux de discussion en simultané. Si vous vous trouvez sur #afpy et souhaitez rejoindre #python-fr, rien de plus simple, tapez : /join #python-fr

- Si vous souhaitez changer de surnom après connexion :
+ Si vous souhaitez changer de surnom après connexion : /nick nouveaunom

Discuter avec l'AFPy (organisation de la communauté)

- +

- Vous pouvez aussi accéder au T'chat via un client irc : irc://irc.freenode.net/afpy.
- Les archives irc du canal #afpy sont disponibles ici. + Vous pouvez aussi accéder au T'chat via un client IRC : irc://irc.freenode.net/afpy. + Nous stockons les archives IRC du canal #afpy.

Clavarder autour de Python

- +

- Vous pouvez aussi accéder au T'chat via un client irc : irc://irc.freenode.net/python-fr. + Vous pouvez aussi accéder au T'chat via un client IRC : irc://irc.freenode.net/python-fr.

{% endblock main %}