mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2024-11-15 02:45:15 +01:00
96 lines
3.4 KiB
CSS
96 lines
3.4 KiB
CSS
/*
|
|
CSS for semver.org
|
|
@author Mathias Bynens
|
|
@link http://mathiasbynens.be/
|
|
*/
|
|
|
|
h1, h2, ol { margin: 0; padding: 0; }
|
|
|
|
html { font: 14.4px/1.5 Helvetica, Arial, sans-serif; }
|
|
body { margin: 0 auto; padding: 0 10%; max-width: 710px; }
|
|
|
|
@-ms-viewport { width: device-width; }
|
|
html { -webkit-text-size-adjust: 100%; }
|
|
|
|
h1, h2, h3 { text-align: center; font-weight: normal; }
|
|
h1 { font-size: 43px; margin: 1.1em 0 .7em; }
|
|
h2 { margin: 2.1em 0 .7em; font-size: 24px; }
|
|
h3 { text-align: left; font-size: 15.8px; margin-bottom: .6em; }
|
|
|
|
a { color: #009; }
|
|
a:hover, a:focus { color: #000; }
|
|
ol { padding-left: 1.5em; }
|
|
p { margin: 0 0 1em; }
|
|
|
|
@media print {
|
|
body { width: 100%; }
|
|
h1, h2, h3 { font-weight: bold; }
|
|
a:after { content: ' <' attr(href) '>'; font-size: 90%; }
|
|
}
|
|
|
|
/* Nav */
|
|
|
|
ol.nav {
|
|
background-color: #333;
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
ol.nav li {
|
|
display: inline;
|
|
font-weight: bold;
|
|
margin-right: 20px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
ol.nav li a {
|
|
color: white;
|
|
}
|
|
|
|
ol.lang {
|
|
background-color: white;
|
|
}
|
|
|
|
ol.lang li a {
|
|
color: black;
|
|
}
|
|
|
|
/* Anchor Link styling */
|
|
|
|
#spec a.anchor-link {
|
|
opacity: 0;
|
|
/* Got this background image from an AnchorJs example http://bryanbraun.github.io/anchorjs/ */
|
|
background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRG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E5NTMxMjUsNy41IEMzLjc1LDcuNSAyLjUxOTUzMTI1LDYuMjUgMi41MTk1MzEyNSw1IEMyLjUxOTUzMTI1LDMuNzUgMy43ODkwNjI1LDIuNSA1LjAxOTUzMTI1LDIuNSBMOC43Njk1MzEyNSwyLjUgQzEwLDIuNSAxMS4yNjk1MzEyLDMuNzUgMTEuMjY5NTMxMiw1IEMxMS4yNjk1MzEyLDUuNDQ5MjE4NzUgMTEuMTMyODEyNSw1Ljg3ODkwNjI1IDEwLjkxNzk2ODgsNi4yNSBMMTMuNTkzNzUsNi4yNSBDMTMuNjkxNDA2Miw1LjgzOTg0Mzc1IDEzLjc1LDUuNDI5Njg3NSAxMy43NSw1IEMxMy43NSwyLjUgMTEuMjY5NTMxMiwwIDguNzY5NTMxMjUsMCBMNSwwIEMyLjUsMCAwLDIuNSAwLDUgQzAsNy41IDIuNSwxMCA1LDEwIEw3LjY5NTMxMjUsMTAgQzYuNzU3ODEyNSw5LjM3NSA1Ljg3ODkwNjI1LDguMjYxNzE4NzUgNS42MDU0Njg3NSw3LjUgTDUuNjA1NDY4NzUsNy41IFoiIGlkPSJTaGFwZSI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+") no-repeat;
|
|
position: absolute;
|
|
margin-top: 0.5em;
|
|
margin-left: -1em;
|
|
padding-right: 0.5em;
|
|
height: 16px;
|
|
width: 20px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#spec h1 a.anchor-link {
|
|
margin-left: -0.6em;
|
|
}
|
|
|
|
#spec h3 a.anchor-link {
|
|
margin-left: -1.5em;
|
|
margin-top: 0.4em;
|
|
}
|
|
|
|
#spec li a.anchor-link {
|
|
margin-top: 0.4em;
|
|
margin-left: -3em;
|
|
}
|
|
|
|
#spec [id] {
|
|
position: relative;
|
|
}
|
|
|
|
#spec [id]:hover > .anchor-link, .anchor-link:focus {
|
|
opacity: 1;
|
|
}
|