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
7220dddb
Commit
7220dddb
authored
Sep 04, 2018
by
Pietro Albini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
page: fix columns alignment
parent
3942fb25
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
3 deletions
+26
-3
demo.html
demo.html
+20
-3
scss/_page.scss
scss/_page.scss
+6
-0
No files found.
demo.html
View file @
7220dddb
...
...
@@ -220,9 +220,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<code>
.col-quarter
</code>
per specificare le
dimensioni di una colonna. Se le classi non sono
specificate le colonne avranno dimensione
automatica. Inoltre,
<code>
.col-center
</code>
allinea il contenuto della colonna al centro,
verticalmente ed orizzontalmente.
automatica. Altrimenti, se le classi sono
specificate ma non riempiono tutta la riga le
colonne saranno centrate. Inoltre,
<code>
.col-center
</code>
allinea il contenuto della
colonna al centro, verticalmente ed
orizzontalmente.
</p>
</div>
</div>
...
...
@@ -379,6 +382,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</p>
</div>
</div>
<div
class=
"row"
>
<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. 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>
<div
class=
"page"
>
...
...
scss/_page.scss
View file @
7220dddb
...
...
@@ -25,6 +25,8 @@ div.page {
padding
:
2em
1em
;
display
:
flex
;
justify-content
:
center
;
&
:first-child
{
border-top
:
0
;
border-top-left-radius
:
0
.2em
;
...
...
@@ -63,6 +65,10 @@ div.page {
&
.col-center
{
text-align
:
center
;
align-self
:
center
;
p
{
text-align
:
center
;
}
}
}
}
...
...
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