mirror of
				https://github.com/jakejarvis/jarv.is.git
				synced 2025-11-04 00:20:11 -05:00 
			
		
		
		
	some magic numbers to improve twemoji sizing/alignment
This commit is contained in:
		@@ -46,7 +46,7 @@ footer {
 | 
				
			|||||||
    &#panda {
 | 
					    &#panda {
 | 
				
			||||||
      width: 20%;
 | 
					      width: 20%;
 | 
				
			||||||
      text-align: center;
 | 
					      text-align: center;
 | 
				
			||||||
      font-size: 1.7em;
 | 
					      font-size: 1.6em;
 | 
				
			||||||
      line-height: 1;
 | 
					      line-height: 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      a {
 | 
					      a {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -90,10 +90,10 @@ div.highlight {
 | 
				
			|||||||
// make SVG twemojis relative to surrounding text
 | 
					// make SVG twemojis relative to surrounding text
 | 
				
			||||||
// https://github.com/twitter/twemoji#inline-styles
 | 
					// https://github.com/twitter/twemoji#inline-styles
 | 
				
			||||||
img.emoji {
 | 
					img.emoji {
 | 
				
			||||||
  height: 1em !important;
 | 
					  height: 1.1em !important;
 | 
				
			||||||
  width: 1em !important;
 | 
					  width: 1.1em !important;
 | 
				
			||||||
  margin: 0 0.05em 0 0.1em !important;
 | 
					  margin: 0 0.09em !important;
 | 
				
			||||||
  vertical-align: -0.1em !important;
 | 
					  vertical-align: -0.18em !important;
 | 
				
			||||||
  display: inline !important;
 | 
					  display: inline !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -58,7 +58,7 @@ header {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      li {
 | 
					      li {
 | 
				
			||||||
        text-align: right;
 | 
					        text-align: right;
 | 
				
			||||||
        margin-left: 1.45em;
 | 
					        margin-left: 1.6em;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        a {
 | 
					        a {
 | 
				
			||||||
          display: inline-block;
 | 
					          display: inline-block;
 | 
				
			||||||
@@ -70,10 +70,15 @@ header {
 | 
				
			|||||||
            color: $color-links;
 | 
					            color: $color-links;
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          span.icon {
 | 
				
			||||||
 | 
					            font-size: 1.15em;
 | 
				
			||||||
 | 
					            vertical-align: -0.075em;
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          span.text {
 | 
					          span.text {
 | 
				
			||||||
            font-size: 0.8em;
 | 
					            font-size: 0.8em;
 | 
				
			||||||
            font-weight: 500;
 | 
					            font-weight: 500;
 | 
				
			||||||
            margin-left: 0.55em;
 | 
					            margin-left: 0.5em;
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
@@ -106,6 +111,10 @@ header {
 | 
				
			|||||||
        margin-left: 1em;
 | 
					        margin-left: 1em;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        a {
 | 
					        a {
 | 
				
			||||||
 | 
					          span.icon {
 | 
				
			||||||
 | 
					            font-size: 0.9em;
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          // hide text next to emojis on mobile
 | 
					          // hide text next to emojis on mobile
 | 
				
			||||||
          span.text {
 | 
					          span.text {
 | 
				
			||||||
            display: none;
 | 
					            display: none;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -62,7 +62,7 @@ main#home {
 | 
				
			|||||||
      margin-bottom: 0;
 | 
					      margin-bottom: 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      span {
 | 
					      span {
 | 
				
			||||||
        margin-right: 0.2em;
 | 
					        margin-right: 0.1em;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -51,7 +51,7 @@ disableAliases = true
 | 
				
			|||||||
[menu]
 | 
					[menu]
 | 
				
			||||||
  [[menu.main]]
 | 
					  [[menu.main]]
 | 
				
			||||||
    name = "Home"
 | 
					    name = "Home"
 | 
				
			||||||
    pre = "🏠"
 | 
					    pre = "🏡"
 | 
				
			||||||
    url = "/"
 | 
					    url = "/"
 | 
				
			||||||
    weight = -100
 | 
					    weight = -100
 | 
				
			||||||
  [[menu.main]]
 | 
					  [[menu.main]]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user