diff --git a/CHANGELOG.md b/CHANGELOG.md index 03272944..5c6ae45c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,10 @@ # Use `rem` and `em` # Move variables to their own file # Remove small tag +# Add :focus state # Fix Font Awesome icons in buttons +# Fix table +# Remove table .is-icon and .is-link ## 0.2.2 diff --git a/docs/css/bulma-docs.css b/docs/css/bulma-docs.css index 357e610d..42af8a3d 100644 --- a/docs/css/bulma-docs.css +++ b/docs/css/bulma-docs.css @@ -2052,6 +2052,52 @@ a.box:active { top: 0.75em; } +.icon { + background: pink; + display: inline-block; + font-size: 21px; + height: 1.5rem; + line-height: 1.5rem; + text-align: center; + vertical-align: top; + width: 1.5rem; +} + +.icon .fa { + font-size: inherit; + line-height: inherit; +} + +.icon.is-small { + display: inline-block; + font-size: 14px; + height: 1rem; + line-height: 1rem; + text-align: center; + vertical-align: top; + width: 1rem; +} + +.icon.is-medium { + display: inline-block; + font-size: 28px; + height: 2rem; + line-height: 2rem; + text-align: center; + vertical-align: top; + width: 2rem; +} + +.icon.is-large { + display: inline-block; + font-size: 42px; + height: 3rem; + line-height: 3rem; + text-align: center; + vertical-align: top; + width: 3rem; +} + .image { display: block; position: relative; @@ -2318,7 +2364,7 @@ a.box:active { .table { background-color: white; color: #363636; - margin-bottom: 20px; + margin-bottom: 1.5rem; width: 100%; } @@ -2326,56 +2372,10 @@ a.box:active { .table th { border: 1px solid #dbdbdb; border-width: 0 0 1px; - padding: 8px 10px; + padding: 0.5em 0.75em; vertical-align: top; } -.table td.is-icon, -.table th.is-icon { - padding: 5px; - text-align: center; - white-space: nowrap; - width: 1%; -} - -.table td.is-icon .fa, -.table th.is-icon .fa { - display: inline-block; - font-size: 21px; - height: 24px; - line-height: 24px; - text-align: center; - vertical-align: top; - width: 24px; -} - -.table td.is-icon.is-link, -.table th.is-icon.is-link { - padding: 0; -} - -.table td.is-icon.is-link > a, -.table th.is-icon.is-link > a { - padding: 5px; -} - -.table td.is-link, -.table th.is-link { - padding: 0; -} - -.table td.is-link > a, -.table th.is-link > a { - display: block; - padding: 8px 10px; -} - -.table td.is-link > a:hover, -.table th.is-link > a:hover { - background-color: #00d1b2; - color: #fff; -} - .table td.is-narrow, .table th.is-narrow { white-space: nowrap; @@ -2388,7 +2388,7 @@ a.box:active { } .table tr:hover { - background-color: whitesmoke; + background-color: #fafafa; } .table thead td, @@ -2420,32 +2420,7 @@ a.box:active { .table.is-narrow td, .table.is-narrow th { - padding: 5px 10px; -} - -.table.is-narrow td.is-icon, -.table.is-narrow th.is-icon { - padding: 2px; -} - -.table.is-narrow td.is-icon.is-link, -.table.is-narrow th.is-icon.is-link { - padding: 0; -} - -.table.is-narrow td.is-icon.is-link > a, -.table.is-narrow th.is-icon.is-link > a { - padding: 2px; -} - -.table.is-narrow td.is-link, -.table.is-narrow th.is-link { - padding: 0; -} - -.table.is-narrow td.is-link > a, -.table.is-narrow th.is-link > a { - padding: 5px 10px; + padding: 0.25em 0.5em; } .table.is-striped tbody tr:nth-child(even) { @@ -2658,14 +2633,14 @@ a.box:active { max-width: 960px; } .container.is-fluid { - margin: 0 20px; + margin: 0 1.5rem; max-width: none; } } @media screen and (min-width: 1180px) { .container { - max-width: 1080px; + max-width: 1200px; } } @@ -2734,51 +2709,6 @@ a.box:active { vertical-align: top; } -.icon { - display: inline-block; - font-size: 21px; - height: 1.5rem; - line-height: 1.5rem; - text-align: center; - vertical-align: top; - width: 1.5rem; -} - -.icon .fa { - font-size: inherit; - line-height: inherit; -} - -.icon.is-small { - display: inline-block; - font-size: 14px; - height: 1rem; - line-height: 1rem; - text-align: center; - vertical-align: top; - width: 1rem; -} - -.icon.is-medium { - display: inline-block; - font-size: 28px; - height: 2rem; - line-height: 2rem; - text-align: center; - vertical-align: top; - width: 2rem; -} - -.icon.is-large { - display: inline-block; - font-size: 42px; - height: 3rem; - line-height: 3rem; - text-align: center; - vertical-align: top; - width: 3rem; -} - .heading { display: block; font-size: 11px; diff --git a/docs/documentation/elements/content.html b/docs/documentation/elements/content.html index aefa873b..73be639e 100644 --- a/docs/documentation/elements/content.html +++ b/docs/documentation/elements/content.html @@ -19,13 +19,13 @@ doc-subtab: content
When you can't use the CSS classes you want, or when you just want to directly use HTML tags, use content
as container. It can handle almost any HTML tag:
<p>
paragraphs<ul> <ol> <dl>
lists<ul>
<ol>
<dl>
lists<h1>
to <h6>
headings<blockquotes>
quotes<em>
and <strong>
<table> <tr> <th> <td>
tables<table>
<tr>
<th>
<td>
tablesThis content
class can be used in any, whenever you just want to write some text. For example, it's used for the paragraph you're currently reading.
This content
class can be used in any context where you just want to (or can only) write some text. For example, it's used for the paragraph you're currently reading.
- | Open source projects | -Year started | -Links | -||
---|---|---|---|---|---|
- | Open source projects | -Year started | -Links | -||
- - | -- Android - | -- 2003 - | -- - - - | -- - - - | -- - - - | -
- - | -- Firefox - | -- 2003 - | -- - - - | -- - - - | -- - - - | -
- - | -- Linux - | -- 2003 - | -- - - - | -- - - - | -- - - - | -
- - | -- WordPress - | -- 2003 - | -- - - - | -- - - - | -- - - - | -
Name | -Instrument | -- | + | Pos | +Team | +Pld | +W | +D | +L | +GF | +GA | +GD | +Pts | +Qualification or relegation |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | -Instrument | -- | + | Pos | +Team | +Pld | +W | +D | +L | +GF | +GA | +GD | +Pts | +Qualification or relegation |
Misty Abbott | -Bass Guitar | -- - - - | -- - - + | 1 | +Leicester City (C) | +38 | +23 | +12 | +3 | +68 | +36 | ++32 | +81 | +Qualification for the Champions League group stage |
John Smith | -Rhythm Guitar | -- - - - | -- - - - | +2 | +Arsenal | +38 | +20 | +11 | +7 | +65 | +36 | ++29 | +71 | +Qualification for the Champions League group stage |
Robert Mikels | -Lead Guitar | -- - - - | -- - - - | +3 | +Tottenham Hotspur | +38 | +19 | +13 | +6 | +69 | +35 | ++34 | +70 | +Qualification for the Champions League group stage |
Karyn Holmberg | -Drums | -- - - + | 4 | +Manchester City | +38 | +19 | +9 | +10 | +71 | +41 | ++30 | +66 | +Qualification for the Champions League play-off round | +|
5 | +Manchester United | +38 | +19 | +9 | +10 | +49 | +35 | ++14 | +66 | +Qualification for the Europa League group stage | +||||
6 | +Southampton | +38 | +18 | +9 | +11 | +59 | +41 | ++18 | +63 | +Qualification for the Europa League group stage | +||||
7 | +West Ham United | +38 | +16 | +14 | +8 | +65 | +51 | ++14 | +62 | +Qualification for the Europa League third qualifying round | +||||
8 | +Liverpool | +38 | +16 | +12 | +10 | +63 | +50 | ++13 | +60 | ++ | ||||
9 | +Stoke City | +38 | +14 | +9 | +15 | +41 | +55 | +−14 | +51 | ++ | ||||
10 | +Chelsea | +38 | +12 | +14 | +12 | +59 | +53 | ++6 | +50 | ++ | ||||
11 | +Everton | +38 | +11 | +14 | +13 | +59 | +55 | ++4 | +47 | ++ | ||||
12 | +Swansea City | +38 | +12 | +11 | +15 | +42 | +52 | +−10 | +47 | ++ | ||||
13 | +Watford | +38 | +12 | +9 | +17 | +40 | +50 | +−10 | +45 | ++ | ||||
14 | +West Bromwich Albion | +38 | +10 | +13 | +15 | +34 | +48 | +−14 | +43 | ++ | ||||
15 | +Crystal Palace | +38 | +11 | +9 | +18 | +39 | +51 | +−12 | +42 | ++ | ||||
16 | +AFC Bournemouth | +38 | +11 | +9 | +18 | +45 | +67 | +−22 | +42 | ++ | ||||
17 | +Sunderland | +38 | +9 | +12 | +17 | +48 | +62 | +−14 | +39 | ++ | ||||
18 | +Newcastle United (R) | -- - - + | 38 | +9 | +10 | +19 | +44 | +65 | +−21 | +37 | +Relegation to the Football League Championship | +|||
19 | +Norwich City (R) | +38 | +9 | +7 | +22 | +39 | +67 | +−28 | +34 | +Relegation to the Football League Championship | ||||
20 | +Aston Villa (R) + | +38 | +3 | +8 | +27 | +27 | +76 | +−49 | +17 | +Relegation to the Football League Championship |