Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
italy-theme
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
italy-theme
Commits
4406a8c7
Commit
4406a8c7
authored
Apr 23, 2018
by
Pietro Albini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
page: improve grid
parent
972abd11
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
90 additions
and
0 deletions
+90
-0
demo.html
demo.html
+78
-0
scss/_page.scss
scss/_page.scss
+12
-0
No files found.
demo.html
View file @
4406a8c7
...
@@ -172,6 +172,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
...
@@ -172,6 +172,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<
/div
>
<
/div
>
<
/div
>
<
/div
>
</pre>
</pre>
<p>
Sono anche disponibili le classi
<code>
.col-half
</code>
,
<code>
.col-third
</code>
e
<code>
.col-quarter
</code>
per specificare le
dimensioni di una colonna. Se le classi non sono
specificate le colonne avranno dimensione
automatica.
</p>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -238,6 +246,76 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
...
@@ -238,6 +246,76 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</p>
</p>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col"
>
<p>
Sunt vitae recusandae laborum. Qui consequatur
laudantium illo corporis. Quia quidem occaecati
corporis libero a saepe.
</p>
</div>
<div
class=
"col"
>
<p>
Sunt vitae recusandae laborum. Qui consequatur
laudantium illo corporis. Quia quidem occaecati
corporis libero a saepe.
</p>
</div>
<div
class=
"col col-half"
>
<p>
Sunt vitae recusandae laborum. Qui consequatur
laudantium illo corporis. Quia quidem occaecati
corporis libero a saepe. Recusandae quis deleniti
debitis non. Nihil molestiae autem ratione doloremque
sit quaerat consequuntur. Velit minus aut et
voluptatem.
</p>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col"
>
<p>
Sunt vitae recusandae laborum. Qui consequatur
laudantium illo corporis. Quia quidem occaecati
corporis libero a saepe. Recusandae quis deleniti
debitis non. Nihil molestiae autem ratione doloremque
sit quaerat consequuntur. Velit minus aut et
voluptatem. Dolorem explicabo commodi ullam in iusto
at reiciendis. Eaque quibusdam ad et dolores. Qui
numquam nemo est fuga quia animi impedit enim.
</p>
</div>
<div
class=
"col col-third"
>
<p>
Sunt vitae recusandae laborum. Qui consequatur
laudantium illo corporis. Quia quidem occaecati
corporis libero a saepe. Recusandae quis deleniti
debitis non. Nihil molestiae autem ratione doloremque
sit quaerat consequuntur.
</p>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col"
>
<p>
Sunt vitae recusandae laborum. Qui consequatur
laudantium illo corporis. Quia quidem occaecati
corporis libero a saepe. Recusandae quis deleniti
debitis non. Nihil molestiae autem ratione doloremque
sit quaerat consequuntur. Velit minus aut et
voluptatem. Dolorem explicabo commodi ullam in iusto
at reiciendis. Eaque quibusdam ad et dolores. Qui
numquam nemo est fuga quia animi impedit enim.
</p>
</div>
<div
class=
"col col-quarter"
>
<p>
Sunt vitae recusandae laborum. Qui consequatur
laudantium illo corporis. Quia quidem occaecati
corporis libero a saepe.
</p>
</div>
</div>
</div>
</div>
<div
class=
"page"
>
<div
class=
"page"
>
...
...
scss/_page.scss
View file @
4406a8c7
...
@@ -40,6 +40,18 @@ div.page {
...
@@ -40,6 +40,18 @@ div.page {
&
>
*
:last-child
{
&
>
*
:last-child
{
margin-bottom
:
0
!
important
;
margin-bottom
:
0
!
important
;
}
}
&
.col-half
{
flex
:
0
0
50%
;
}
&
.col-third
{
flex
:
0
0
33
.333333%
;
}
&
.col-quarter
{
flex
:
0
0
25%
;
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment