mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-03 14:46:37 -04:00
clean up partials and styles
This commit is contained in:
@ -33,6 +33,11 @@ div.highlight span {
|
||||
// line numbers
|
||||
&.lnt {
|
||||
color: #999999;
|
||||
user-select: none; // maybe add prefixes? https://caniuse.com/#feat=user-select-none
|
||||
|
||||
// disable text selection: https://caniuse.com/#feat=user-select-none
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,15 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/*! Fancy Waving Hand Emoji (TM) - https://go.jarv.is/wave */
|
||||
|
||||
span.wave {
|
||||
display: inline-block;
|
||||
animation-name: wave;
|
||||
animation-duration: 2.5s;
|
||||
animation-iteration-count: infinite;
|
||||
transform-origin: 70% 70%;
|
||||
}
|
||||
|
||||
@keyframes wave {
|
||||
0% { transform: rotate( 0.0deg); }
|
||||
10% { transform: rotate(-10.0deg); }
|
||||
|
@ -12,14 +12,6 @@ main#home {
|
||||
font-size: 1.6em;
|
||||
font-weight: 500;
|
||||
line-height: 1.2;
|
||||
|
||||
span#wave {
|
||||
display: inline-block;
|
||||
animation-name: wave;
|
||||
animation-duration: 2.5s;
|
||||
animation-iteration-count: infinite;
|
||||
transform-origin: 70% 70%;
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
|
@ -29,12 +29,6 @@ main#list {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
display: block;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
+ li {
|
||||
margin-top: 1.3em;
|
||||
}
|
||||
|
@ -74,6 +74,7 @@ main#single {
|
||||
height: auto;
|
||||
border: 0;
|
||||
|
||||
// Subtitle caption styling
|
||||
// stylelint-disable-next-line selector-pseudo-element-no-unknown
|
||||
&::cue {
|
||||
font-family: inherit;
|
||||
|
@ -28,8 +28,8 @@ main#video {
|
||||
video {
|
||||
width: $responsive-width;
|
||||
height: auto;
|
||||
font-family: inherit; // for subtitles
|
||||
|
||||
// Subtitle caption styling
|
||||
// stylelint-disable-next-line selector-pseudo-element-no-unknown
|
||||
&::cue {
|
||||
font-family: inherit;
|
||||
|
Reference in New Issue
Block a user