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

Commit 32efec6

Browse files
committed
Refactoring add normalize.css
1 parent 9a551be commit 32efec6

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

readme.md

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

3-
Simple tooltip, based on CSS UI.
3+
Simple tooltip.

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.tooltip.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.tooltip.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
opacity: 0;
1414
}
1515

16+
[data-tooltip]:hover {
17+
text-decoration: none;
18+
}
19+
1620
[data-tooltip]:before {
1721
background-color: rgba(0, 0, 0, 0.95);
1822
border-radius: 3px;

0 commit comments

Comments
 (0)