effect fix
This commit is contained in:
		@@ -3,27 +3,25 @@
 | 
			
		||||
	{% include head.html %}
 | 
			
		||||
	<body>
 | 
			
		||||
		<div class="screen-image">	
 | 
			
		||||
			<div class="crt crt-flicker">
 | 
			
		||||
				<div class="screen-content crt-shadow">
 | 
			
		||||
					<style>
 | 
			
		||||
						.meta {
 | 
			
		||||
							font-size: .7rem;
 | 
			
		||||
							font-weight: normal;
 | 
			
		||||
						}
 | 
			
		||||
					</style>
 | 
			
		||||
					<!-- header -->
 | 
			
		||||
					{% include header.html %}
 | 
			
		||||
					<!-- nav -->
 | 
			
		||||
					{% include nav.html %}
 | 
			
		||||
					<!-- page content -->
 | 
			
		||||
					<main class="post-list">
 | 
			
		||||
						<p class="title">{{page.title}}</p>
 | 
			
		||||
						{{content}}
 | 
			
		||||
					</main>
 | 
			
		||||
			<div class="screen-content crt">
 | 
			
		||||
				<style>
 | 
			
		||||
					.meta {
 | 
			
		||||
						font-size: .7rem;
 | 
			
		||||
						font-weight: normal;
 | 
			
		||||
					}
 | 
			
		||||
				</style>
 | 
			
		||||
				<!-- header -->
 | 
			
		||||
				{% include header.html %}
 | 
			
		||||
				<!-- nav -->
 | 
			
		||||
				{% include nav.html %}
 | 
			
		||||
				<!-- page content -->
 | 
			
		||||
				<main class="post-list">
 | 
			
		||||
					<p class="title">{{page.title}}</p>
 | 
			
		||||
					{{content}}
 | 
			
		||||
				</main>
 | 
			
		||||
 | 
			
		||||
					<!-- footer -->
 | 
			
		||||
					{% include footer.html %}
 | 
			
		||||
				</div>
 | 
			
		||||
				<!-- footer -->
 | 
			
		||||
				{% include footer.html %}
 | 
			
		||||
			</div>
 | 
			
		||||
		</div>
 | 
			
		||||
	</body>
 | 
			
		||||
 
 | 
			
		||||
@@ -140,17 +140,42 @@ http://aleclownes.com/2017/02/01/crt-display.html
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.crt-flicker {
 | 
			
		||||
.crt::after {
 | 
			
		||||
  content: " ";
 | 
			
		||||
  pointer-events: none;
 | 
			
		||||
  animation: flicker 3s infinite;
 | 
			
		||||
  display: block;
 | 
			
		||||
  position: absolute;
 | 
			
		||||
  top: 0;
 | 
			
		||||
  left: 0;
 | 
			
		||||
  bottom: auto;
 | 
			
		||||
  right: auto;
 | 
			
		||||
  background: rgba(18, 16, 16, 0.1);
 | 
			
		||||
  opacity: 0;
 | 
			
		||||
  z-index: 2;
 | 
			
		||||
 | 
			
		||||
  pointer-events: none;
 | 
			
		||||
  animation: flicker 3s infinite;
 | 
			
		||||
  width: 100%;
 | 
			
		||||
  height: 100%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
.crt-flicker {
 | 
			
		||||
  content: " ";
 | 
			
		||||
  display: block;
 | 
			
		||||
  position: absolute;
 | 
			
		||||
  top: 0;
 | 
			
		||||
  left: 0;
 | 
			
		||||
  bottom: auto;
 | 
			
		||||
  right: auto;
 | 
			
		||||
  background: rgba(18, 16, 16, 0.1);
 | 
			
		||||
  opacity: 0;
 | 
			
		||||
  z-index: 2;
 | 
			
		||||
  pointer-events: none;
 | 
			
		||||
  animation: flicker 3s infinite;
 | 
			
		||||
  width: 100%;
 | 
			
		||||
  height: 100%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
.crt::before {
 | 
			
		||||
  content: " ";
 | 
			
		||||
  display: block;
 | 
			
		||||
@@ -159,20 +184,19 @@ http://aleclownes.com/2017/02/01/crt-display.html
 | 
			
		||||
  left: auto;
 | 
			
		||||
  bottom: auto;
 | 
			
		||||
  right: auto;
 | 
			
		||||
  z-index: 2;
 | 
			
		||||
  pointer-events: none;
 | 
			
		||||
 | 
			
		||||
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
 | 
			
		||||
  background-size: 100% 2px, 3px 100%;
 | 
			
		||||
  width: 640px;
 | 
			
		||||
  height: 480px;
 | 
			
		||||
  width: 100%;
 | 
			
		||||
  height: 100%;
 | 
			
		||||
}
 | 
			
		||||
*/
 | 
			
		||||
.crt{
 | 
			
		||||
 | 
			
		||||
.crt {
 | 
			
		||||
  position: relative;
 | 
			
		||||
  overflow: hidden;
 | 
			
		||||
  animation: textShadow 5s infinite;
 | 
			
		||||
  height: 100%;
 | 
			
		||||
  width: 100%;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.crt-shadow {
 | 
			
		||||
  animation: textShadow 5s infinite;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user