forked from karpathy/ulogme
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathheaderlink.css
30 lines (29 loc) · 934 Bytes
/
headerlink.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* headerlink.css for https://github.com/Naereen/uLogMe/
* MIT Licensed, https://lbesson.mit-license.org/
*/
/* The ¶ symbol is visible when the mouse is over the title or the paragraph */
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, h4:hover > a.headerlink, h5:hover > a.headerlink, h6:hover > a.headerlink, dt:hover > a.headerlink , p:hover > a.headerlink {
visibility: visible;
}
/* The ¶ symbol is underlined, like a "regular" link */
a:hover {
text-decoration: underline;
}
/* The ¶ symbol is red, small, and hidden by default */
a.headerlink {
color: #c60f0f;
font-size: 0.7em;
padding: 0 6px 0 6px;
text-decoration: none;
visibility: hidden;
}
/* Inverse the color when the mouse is over the ¶ symbol */
a.headerlink:hover {
background-color: #c60f0f;
color: white;
}
h3 button, p button {
float: right;
margin-right: 2%;
}