From e9e461c4d67f1c67af9694c66029554ade329cc0 Mon Sep 17 00:00:00 2001 From: Catalin Date: Wed, 13 Jun 2018 11:12:56 +0300 Subject: [PATCH] Repaired some responsive issues on about page, contact and features --- customize.dist/pages.js | 16 ++++++++-------- customize.dist/src/less2/include/infopages.less | 3 +++ .../src/less2/pages/page-features.less | 2 +- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/customize.dist/pages.js b/customize.dist/pages.js index 67cd1f0b4..300d8b9cb 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -181,10 +181,10 @@ define([ ]), ]), h('div.row.align-items-center',[ - h('div.col-12.col-sm-12.col-md-12.col-lg-6.order-2.cp-bio-avatar.cp-bio-avatar-right', [ + h('div.col-12.col-sm-12.col-md-12.col-lg-6.order-lg-2.cp-bio-avatar.cp-bio-avatar-right', [ h('img.img-fluid', {'src': '/customize/images/AaronMacSween.jpg'}) ]), - h('div.col-12.col-sm-12.col-md-12.col-lg-6.order-1.cp-profile-det',[ + h('div.col-12.col-sm-12.col-md-12.col-lg-6.order-lg-1.cp-profile-det',[ h('h3', "Aaron MacSween"), h('hr'), setHTML(h('div#bioAaron'), '

Aaron transitioned into distributed systems development from a background in jazz and live stage performance.
He appreciates the elegance of biological systems and functional programming, and focused on both as a student at the University of Toronto, where he studied cognitive and computer sciences.
He moved to Paris in 2015 to work as a research engineer at XWiki SAS, after having dedicated significant time to various cryptography-related software projects.
He spends his spare time experimenting with guitars, photography, science fiction, and spicy food.

'), @@ -232,10 +232,10 @@ define([ ]), ]), h('div.row.align-items-center',[ - h('div.col-12.col-sm-12.col-md-12.col-lg-6.order-2.cp-bio-avatar.cp-bio-avatar-right', [ + h('div.col-12.col-sm-12.col-md-12.col-lg-6.order-lg-2.cp-bio-avatar.cp-bio-avatar-right', [ h('img.img-fluid', {'src': '/customize/images/Catalin.jpg'}) ]), - h('div.col-12.col-sm-12.col-md-12.col-lg-6.order-1.cp-profile-det',[ + h('div.col-12.col-sm-12.col-md-12.col-lg-6.order-lg-1.cp-profile-det',[ h('h3', "Catalin Scripcariu"), h('hr'), setHTML(h('div#bioCatalin'), '

Catalin is a Maths majour and has worked in B2B sales for 12 years. Design was always his passion and 3 years ago he started to dedicate himself to web design and front-end.
At the beginning of 2017 he joined the XWiki, where he worked both on the business and the community side of XWiki, including the research team and CryptPad.

'), @@ -470,28 +470,28 @@ define([ h('div.col-12', setHTML(h('h4.text-center'), Msg.main_about_p26) ), - h('div.col-6.col-sm-3.col-md-3.col-lg-3', + h('div.col-12.col-sm-6.col-md-3.col-lg-3', h('a.card', {href : "https://twitter.com/cryptpad"}, h('div.card-body', setHTML(h('p'), Msg.main_about_p22) ) ) ), - h('div.col-6.col-sm-3.col-md-3.col-lg-3', + h('div.col-12.col-sm-6.col-md-3.col-lg-3', h('a.card', {href : "https://github.com/xwiki-labs/cryptpad/issues/"}, h('div.card-body', setHTML(h('p'), Msg.main_about_p23) ) ) ), - h('div.col-6.col-sm-3.col-md-3.col-lg-3', + h('div.col-12.col-sm-6.col-md-3.col-lg-3', h('a.card', {href : "https://riot.im/app/#/room/#cryptpad:matrix.org"}, h('div.card-body', setHTML(h('p'), Msg.main_about_p24) ) ) ), - h('div.col-6.col-sm-3.col-md-3.col-lg-3', + h('div.col-12.col-sm-6.col-md-3.col-lg-3', h('a.card', {href : "mailto:research@xwiki.com"}, h('div.card-body', setHTML(h('p'), Msg.main_about_p25) diff --git a/customize.dist/src/less2/include/infopages.less b/customize.dist/src/less2/include/infopages.less index 131877a65..4f3f6d0ad 100644 --- a/customize.dist/src/less2/include/infopages.less +++ b/customize.dist/src/less2/include/infopages.less @@ -161,6 +161,9 @@ background-size: contain; height: 50px; width: 250px; + @media (max-width: 326px) { + width: 180px; + } margin-right: 0; } a { diff --git a/customize.dist/src/less2/pages/page-features.less b/customize.dist/src/less2/pages/page-features.less index 1c365ca30..a65eed039 100644 --- a/customize.dist/src/less2/pages/page-features.less +++ b/customize.dist/src/less2/pages/page-features.less @@ -73,7 +73,7 @@ } } .cp-regis-user { - @media (max-width:767px) { + @media (max-width:575px) { margin-top: 3em; } .card-body {