1
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:
2020-01-03 13:58:48 -05:00
parent 5b0c24dbf0
commit ec713f5efe
19 changed files with 35 additions and 34 deletions

View File

@ -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;
}
}

View File

@ -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); }

View File

@ -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 {

View File

@ -29,12 +29,6 @@ main#list {
flex-shrink: 0;
}
&::after {
content: '';
display: block;
clear: both;
}
+ li {
margin-top: 1.3em;
}

View File

@ -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;

View File

@ -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;