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
Expand all
Hide 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
This diff is collapsed.
Click to expand it.
scss/_page.scss
View file @
3e27961c
...
@@ -22,18 +22,24 @@ div.page {
...
@@ -22,18 +22,24 @@ 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
;
}
}
&
>
*
:first-child
{
div
.col
{
margin-top
:
0
!
important
;
flex
:
1
;
}
margin
:
0
1em
;
&
>
*
:first-child
{
margin-top
:
0
!
important
;
}
&
>
*
:last-child
{
&
>
*
:last-child
{
margin-bottom
:
0
!
important
;
margin-bottom
:
0
!
important
;
}
}
}
}
}
...
@@ -41,7 +47,15 @@ div.page {
...
@@ -41,7 +47,15 @@ div.page {
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