Commit 852c91fc authored by Pietro Albini's avatar Pietro Albini

page: add .row-borderless

parent 7220dddb
...@@ -227,6 +227,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. ...@@ -227,6 +227,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
colonna al centro, verticalmente ed colonna al centro, verticalmente ed
orizzontalmente. orizzontalmente.
</p> </p>
<p>
Se si vogliono rimuovere i bordi fra le righe,
aggiungere la classe <code>.row-borderless</code>
nella riga inferiore.
</p>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
...@@ -363,7 +369,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. ...@@ -363,7 +369,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</p> </p>
</div> </div>
</div> </div>
<div class="row"> <div class="row row-borderless">
<div class="col"> <div class="col">
<p> <p>
Sunt vitae recusandae laborum. Qui consequatur Sunt vitae recusandae laborum. Qui consequatur
......
...@@ -21,6 +21,7 @@ div.page { ...@@ -21,6 +21,7 @@ div.page {
margin: 1.5em 0; margin: 1.5em 0;
div.row { div.row {
background: #fff;
border-top: 1px dotted mix(#fff, $color_warm_gray, 40%); border-top: 1px dotted mix(#fff, $color_warm_gray, 40%);
padding: 2em 1em; padding: 2em 1em;
display: flex; display: flex;
...@@ -38,6 +39,12 @@ div.page { ...@@ -38,6 +39,12 @@ div.page {
border-bottom-right-radius: 0.2em; border-bottom-right-radius: 0.2em;
} }
&.row-borderless {
border-top: 0;
padding-top: 1em;
margin-top: -1em;
}
div.col { div.col {
flex: 1; flex: 1;
margin: 0 1em; margin: 0 1em;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment