From: vincent@cubedesigners.com Date: Tue, 19 Jul 2016 16:30:34 +0000 (+0000) Subject: wip #566 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=ea3dbb75ba1ce424d7fe24e34ca52261c787ea4b;p=fluidbook-v3.git wip #566 @0.5 --- diff --git a/framework/application/views/scripts/templates/texte.phtml b/framework/application/views/scripts/templates/texte.phtml index 75c6de1..444dccd 100644 --- a/framework/application/views/scripts/templates/texte.phtml +++ b/framework/application/views/scripts/templates/texte.phtml @@ -1,7 +1,7 @@ headScript()->addScriptAndStyle('240-text'); $res = $this->htmlElement('', 'div', array('class' => 'no-intro')); -$c = $this->htmlElement($this->title($this->title), 'div', array('class' => 'col-2')); +$c = $this->htmlElement($this->title($this->title), 'div', array('class' => 'col-6')); $c .= $this->htmlElement($this->markupDotclear($this->content), 'div', array('class' => 'col-6')); $res .= $this->htmlElement($c, 'div', array('class' => array('content-wrapper', 'grid', 'wrap'))); echo $res; \ No newline at end of file diff --git a/less/240-text.less b/less/240-text.less index 4fc837f..8dc9ba6 100644 --- a/less/240-text.less +++ b/less/240-text.less @@ -11,4 +11,9 @@ h2 { @media @m900 { font-size: 20px; } +} + +.content-wrapper{ + max-width: 800px; + margin:0 auto; } \ No newline at end of file