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
3e27961c
Commit
3e27961c
authored
Apr 22, 2018
by
Pietro Albini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
page: add a basic grid
parent
36d3d97a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
176 additions
and
74 deletions
+176
-74
demo.html
demo.html
+155
-67
scss/_page.scss
scss/_page.scss
+21
-7
No files found.
demo.html
View file @
3e27961c
...
@@ -79,13 +79,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
...
@@ -79,13 +79,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"page"
>
<div
class=
"page"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col"
>
<h1>
Demo del tema di Ubuntu-it
</h1>
<h1>
Demo del tema di Ubuntu-it
</h1>
<p><a
href=
"#"
onclick=
"ubuntuit_cookiepolicy_clear()"
>
<p><a
href=
"#"
onclick=
"ubuntuit_cookiepolicy_clear()"
>
Mostra banner cookie policy
Mostra banner cookie policy
</a></p>
</a></p>
</div>
</div>
</div>
</div>
<div
class=
"page"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col"
>
<h1>
Tipografia
</h1>
<h1>
Tipografia
</h1>
<p>
<p>
...
@@ -151,6 +156,89 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
...
@@ -151,6 +156,89 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</p>
</p>
</div>
</div>
</div>
</div>
</div>
<div
class=
"page"
>
<div
class=
"row"
>
<div
class=
"col"
>
<h1>
Griglia
</h1>
<pre>
<
div class="row"
>
<
div class="col"
>
<
!-- Prima colonna --
>
<
/div
>
<
div class="col"
>
<
!-- Seconda colonna --
>
<
/div
>
<
/div
>
</pre>
</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"
>
<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>
<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"
>
<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"
>
<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>
</div>
<footer>
<footer>
<p>
<p>
...
...
scss/_page.scss
View file @
3e27961c
...
@@ -22,12 +22,17 @@ div.page {
...
@@ -22,12 +22,17 @@ div.page {
div
.row
{
div
.row
{
border-top
:
1px
dotted
mix
(
#fff
,
$color_warm_gray
,
40%
);
border-top
:
1px
dotted
mix
(
#fff
,
$color_warm_gray
,
40%
);
padding
:
2em
;
padding
:
2em
1em
;
display
:
flex
;
&
:first-child
{
&
:first-child
{
border-top
:
0
;
border-top
:
0
;
}
}
div
.col
{
flex
:
1
;
margin
:
0
1em
;
&
>
*
:first-child
{
&
>
*
:first-child
{
margin-top
:
0
!
important
;
margin-top
:
0
!
important
;
}
}
...
@@ -36,12 +41,21 @@ div.page {
...
@@ -36,12 +41,21 @@ div.page {
margin-bottom
:
0
!
important
;
margin-bottom
:
0
!
important
;
}
}
}
}
}
@media
all
and
(
max-width
:
$page_size
)
{
@media
all
and
(
max-width
:
$page_size
)
{
border-radius
:
0
;
border-radius
:
0
;
div
.row
{
div
.row
{
padding
:
2em
1em
;
display
:
block
;
div
.col
{
margin
:
2em
0
0
0
;
&
:first-child
{
margin-top
:
0
;
}
}
}
}
}
}
}
}
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