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
ca6935d5
Commit
ca6935d5
authored
Apr 30, 2018
by
Pietro Albini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tables: add
parent
c847646e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
87 additions
and
0 deletions
+87
-0
demo.html
demo.html
+47
-0
scss/_tables.scss
scss/_tables.scss
+39
-0
scss/theme.scss
scss/theme.scss
+1
-0
No files found.
demo.html
View file @
ca6935d5
...
...
@@ -419,6 +419,53 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<span
class=
"close"
>
×
</span>
</div>
<div
class=
"page"
>
<div
class=
"row"
>
<div
class=
"col"
>
<h1>
Tabelle
</h1>
<p>
Le tabelle devono essere contenute dentro ad un
<code>
<
div
>
</code>
con classe
<code>
.table
</code>
per ottenere lo stile.
</p>
<div
class=
"table"
>
<table>
<tr>
<th>
Colonna 1
</th>
<th>
Colonna 2
</th>
<th>
Colonna 3
</th>
<th>
Colonna 4
</th>
<th>
Colonna 5
</th>
</tr>
<tr>
<td>
Cella 1
</td>
<td>
Cella 2
</td>
<td>
Cella 3
</td>
<td>
Cella 4
</td>
<td>
Cella 5
</td>
</tr>
<tr>
<td>
Cella 1
</td>
<td>
Cella 2
</td>
<td>
Cella 3
</td>
<td>
Cella 4
</td>
<td>
Cella 5
</td>
</tr>
<tr>
<td>
Cella 1
</td>
<td>
Cella 2
</td>
<td>
Cella 3
</td>
<td>
Cella 4
</td>
<td>
Cella 5
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
<footer>
<p>
Ubuntu e Canonical sono marchi registrati da Canonical
...
...
scss/_tables.scss
0 → 100644
View file @
ca6935d5
/* Copyright (C) 2018 Pietro Albini <pietroalbini@ubuntu.com>
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
* for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
div
.table
{
overflow-x
:
auto
;
table
{
width
:
100%
;
border-collapse
:
collapse
;
tr
td
,
tr
th
{
padding
:
0
.7em
1em
;
border-bottom
:
1px
solid
mix
(
#fff
,
$color_warm_gray
,
50%
);
}
tr
th
{
font-weight
:
400
;
text-align
:
left
;
}
tr
:last-child
td
{
border-bottom
:
0
;
}
}
}
scss/theme.scss
View file @
ca6935d5
...
...
@@ -20,6 +20,7 @@
@import
"buttons"
;
@import
"box"
;
@import
"alerts"
;
@import
"tables"
;
@import
"cookiepolicy"
;
@import
"navbar"
;
...
...
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