Skip to content
This repository was archived by the owner on Sep 5, 2019. It is now read-only.

Commit dadd26c

Browse files
committed
Refactoring add normalize.css
1 parent 54a0a4a commit dadd26c

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
## Table
22

3-
Simple table styles, based on CSS UI.
3+
Simple table styles.

src/css/style.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
/*
33
import css styles
44
*/
5-
@import url(https://css-ui.github.io/css/css.ui.min.css);
5+
@import url(https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css);
6+
@import url(https://css-ui.github.io/css/cssui.min.css);
67
@import url(style.tables.css);
78

89
/*
910
elements
1011
*/
1112
body {
12-
background-color: #f4f4f4;
13-
font-family: 'Segoe UI', Frutiger, 'Frutiger Linotype', 'Dejavu Sans', 'Helvetica Neue', Arial, sans-serif;
13+
background-color: #f2f2f2;
1414
padding: 10px 10px 0;
1515
}
1616

src/css/style.tables.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,21 +72,21 @@ table tr.success:nth-child(odd) td {
7272
}
7373

7474
/*
75-
danger
75+
warning
7676
*/
77-
table tr.danger th {
77+
table tr.warning th {
7878
border-color: #d46a6a;
7979
}
8080

81-
table tr.danger td {
81+
table tr.warning td {
8282
border-color: #d46a6a;
8383
color: #542121;
8484
}
8585

86-
table tr.danger:nth-child(even) td {
86+
table tr.warning:nth-child(even) td {
8787
background-color: #f19f9f;
8888
}
8989

90-
table tr.danger:nth-child(odd) td {
90+
table tr.warning:nth-child(odd) td {
9191
background-color: #e37b7b;
9292
}

src/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,24 +101,24 @@ <h4>Table success style</h4>
101101
<!-- container -->
102102
<div class="container">
103103
<div class="wrapping box">
104-
<h4>Table danger style</h4>
104+
<h4>Table warning style</h4>
105105
<table class="full width">
106-
<tr class="danger">
106+
<tr class="warning">
107107
<th>#</th>
108108
<th>Username</th>
109109
<th>Email</th>
110110
</tr>
111-
<tr class="danger">
111+
<tr class="warning">
112112
<td>1</td>
113113
<td>Root</td>
114114
<td>root@domain.com</td>
115115
</tr>
116-
<tr class="danger">
116+
<tr class="warning">
117117
<td>2</td>
118118
<td>Admin</td>
119119
<td>admin@domain.com</td>
120120
</tr>
121-
<tr class="danger">
121+
<tr class="warning">
122122
<td>3</td>
123123
<td>User</td>
124124
<td>user@domain.com</td>

0 commit comments

Comments
 (0)