nerd-fonts/_includes/css/nerd-font-tweaks.css

275 lines
4.3 KiB
CSS
Raw Normal View History

2017-04-23 02:43:02 +02:00
p {
line-height: 1.75em;
}
2017-04-23 03:54:45 +02:00
#main .nerd-font-button {
padding-top: .5rem;
padding-bottom: .5rem;
2017-04-23 17:31:12 +02:00
margin: 0px;
font-weight: 900;
2017-04-23 03:54:45 +02:00
}
2017-04-23 02:43:02 +02:00
#main .nerd-font-button a {
text-decoration: none;
color: inherit;
}
2017-04-23 03:40:45 +02:00
2017-04-23 17:31:12 +02:00
#main .nerd-font-badges {
line-height: 2.3em;
}
2019-07-16 23:39:29 +02:00
/* adjust touch-size on mobile */
@media screen and (max-width:800px) {
#main .nerd-font-badges img {
height: 2.2em;
margin: 6px 0px;
}
}
#main .nerd-font-buttons {
line-height: 4em;
}
#main .nerd-font-cheat-sheet-search {
margin-right: auto;
margin-left: auto;
font-size: 1.25em;
width: 400px;
}
#main .nerd-font-cheat-sheet {
max-height: 480px;
overflow-x: hidden;
overflow-y: scroll;
padding-top: 20px;
}
#main .nerd-font-cheat-sheet .column {
width: 114px;
height: 120px;
2018-03-31 16:52:51 +02:00
text-align: center;
margin-bottom: 10px;
display: none; /* don't show any by default */
}
#main .nerd-font-cheat-sheet .column .class-name {
color: antiquewhite;
font-family: sans-serif;
font-style: italic;
font-weight: bold;
}
#main .nerd-font-cheat-sheet .column .codepoint {
border: 1px dashed;
padding: 2px 10px;
color: #0fbfcf;
display: inline-block;
}
#main .nerd-font-cheat-sheet .column .class-name, #main .nerd-font-cheat-sheet .column .codepoint {
font-family: 'mono';
font-size: 12px;
max-width: 98px;
display: inline-block;
text-align: center;
}
#main .nerd-font-cheat-sheet .nf {
font-size: 2rem;
}
/* gitter chat tweaks */
.gitter-open-chat-button {
border-color: white;
border-width: 1px 1px 0px 1px;
border-style: solid;
font-weight: bold;
}
/* HACK - replicate FA stack */
.fa-stack {
display: inline-block;
height: 2em;
line-height: 2em;
position: relative;
vertical-align: middle;
width: 2.5em
}
.fa-stack-1x,.fa-stack-2x {
left: 0;
position: absolute;
text-align: center;
width: 100%
}
.fa-stack-1x {
line-height: inherit
}
.fa-stack-2x {
font-size: 2em
}
#forkongithub .nf {
2017-04-25 01:39:24 +02:00
font-size: 1.25rem;
2017-04-23 03:40:45 +02:00
}
2017-04-25 01:39:24 +02:00
/* for any ASCII :) */
2017-04-23 03:40:45 +02:00
#forkongithub span {
font-size: 1.75rem;
}
2017-04-23 17:31:12 +02:00
#forkongithub a {
display: inline-block;
}
2017-04-25 01:39:24 +02:00
2017-04-27 01:33:34 +02:00
/* color scheme */
.nf1 { color: #E2DB74 }
.nf2 { color: #49a7e9 }
.nf3 { color: #66FF99 }
.nf4 { color: #Ff66CC }
.nf5 { color: #00ffff }
.nf6 { color: #f09f17 }
.nf7 { color: #DD1B16 }
2017-04-25 02:04:54 +02:00
/* Example Usage */
2019-07-25 23:23:49 +02:00
2017-04-25 02:04:54 +02:00
.nerd-fonts-example-usage {
font-size: 2rem;
}
2017-04-25 01:39:24 +02:00
/* Release Changelog section */
#release summary {
text-align: center;
font-size: 1.25em;
cursor: pointer;
padding: 0px 0px 20px 0px;
}
#all-contributors .container > div > div {
min-height: 160px;
width: 130px;
}
#all-contributors a {
display: inline-block;
}
/* hack fix for emoji key styling */
#all-contributors a[title] {
text-decoration: none;
}
/* features section */
.feature-sections {
}
.feature-section {
background: #ffffff55;
padding: 10px 20px;
margin-bottom: 20px;
}
.feature-section h2, .feature-section h3, .feature-section h4 {
font-weight: bold;
text-align: left;
}
.feature-section h2, .feature-section h3 {
padding: 10px 0px;
margin: 0px;
color: #1c1c1c;
text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.feature-section h3 {
font-size: 20px;
padding-top: 0px;
}
.sectioninner3 {
line-height: 29px;
word-spacing: 3px;
top: inherit;
left: inherit;
margin-left: 0px;
font-weight: bold;
padding-top: .75em;
}
.sectioninner3 div {
background-color: #2e2e2e;
font-weight: bold;
padding-top: .75em;
}
2019-07-23 23:34:11 +02:00
/* individual pages */
.section-page-wrapper .section {
position:relative;
display:block;
width:100%;
min-height:0px;
padding:180px 0;
background:url(img/bgnoise.png);
}
.section-page-wrapper .section:first-of-type {
padding-top: 90px;
}
.section-page-wrapper .sectiondivider {
width:270px;
height:270px;
padding:15px;
position:relative;
top:0px;
left:50%;
margin-left:-135px;
}
/* tiny size (phones) */
@media only screen and (max-width: 380px) {
#main .nerd-font-cheat-sheet .column {
width: 102px;
height: 98px;
}
#main .nerd-font-cheat-sheet {
max-height: 306px;
padding-top: 0px;
}
}
/* gitter adjust sidecar on mobile */
@media screen and (max-width:800px) {
.gitter-open-chat-button {
bottom: 116px;
padding: 1em 1em;
transform: rotate(-90deg);
right: -28px;
}
}
/* anything not desktop */
@media only screen and (max-width: 767px) {
.sectioninner3 {
line-height: 21px;
font-size: 11px;
}
}
/* util */
.text-left {
text-align: left;
}