Add bg video
This commit is contained in:
		
							parent
							
								
									08a5daf603
								
							
						
					
					
						commit
						cf17068d2d
					
				
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										15
									
								
								index.css
								
								
								
								
							
							
						
						
									
										15
									
								
								index.css
								
								
								
								
							| 
						 | 
				
			
			@ -15,6 +15,17 @@ body {
 | 
			
		|||
    font-family: sans-serif;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* === BG === */
 | 
			
		||||
#bg-loop {
 | 
			
		||||
    position: fixed;
 | 
			
		||||
    left: 0;
 | 
			
		||||
    right: 0;
 | 
			
		||||
    top: 0;
 | 
			
		||||
    bottom: 0;
 | 
			
		||||
    
 | 
			
		||||
    opacity: 0.2;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* === FAHRPLAN === */
 | 
			
		||||
#schedule {
 | 
			
		||||
    position: fixed;
 | 
			
		||||
| 
						 | 
				
			
			@ -24,7 +35,7 @@ body {
 | 
			
		|||
    bottom: 10%;
 | 
			
		||||
    
 | 
			
		||||
    font-family: orbitron-bold;
 | 
			
		||||
    font-size: 30px;
 | 
			
		||||
    font-size: 34px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#schedule .header {
 | 
			
		||||
| 
						 | 
				
			
			@ -43,7 +54,7 @@ body {
 | 
			
		|||
 | 
			
		||||
#schedule .list .item .sub {
 | 
			
		||||
    color: #7b7b7b;
 | 
			
		||||
    font-size: 24px;
 | 
			
		||||
    font-size: 26px;
 | 
			
		||||
    
 | 
			
		||||
    white-space: nowrap;
 | 
			
		||||
    overflow: hidden;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,6 +9,13 @@
 | 
			
		|||
        <title>rC3 Stream Overlay</title>
 | 
			
		||||
    </head>
 | 
			
		||||
    <body style="background:#000">
 | 
			
		||||
        <div id="bg-loop">
 | 
			
		||||
            <video loop autoplay width="100%">
 | 
			
		||||
                <source src="content/tunnel.webm" type="video/webm">
 | 
			
		||||
                Sorry, your browser doesn't support embedded videos.
 | 
			
		||||
            </video>
 | 
			
		||||
        </div>
 | 
			
		||||
        
 | 
			
		||||
        <main>
 | 
			
		||||
            <div id="schedule">
 | 
			
		||||
                <div id="schedule-here-container">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								index.js
								
								
								
								
							
							
						
						
									
										4
									
								
								index.js
								
								
								
								
							| 
						 | 
				
			
			@ -35,7 +35,7 @@ function update_fahrplan() {
 | 
			
		|||
/* === FAHRPLAN === */
 | 
			
		||||
var n_here = 3;
 | 
			
		||||
var n_main = 3;
 | 
			
		||||
var n_other = 7;
 | 
			
		||||
var n_other = 8;
 | 
			
		||||
 | 
			
		||||
function parse_schedule() {
 | 
			
		||||
    var fahrplan_parsed = {
 | 
			
		||||
| 
						 | 
				
			
			@ -130,7 +130,7 @@ function update_tweet_ticker() {
 | 
			
		|||
        var user_el = document.createElement("span");
 | 
			
		||||
        user_el.className = "user";
 | 
			
		||||
        var uname = user.username;
 | 
			
		||||
        user_el.innerText = "@" + uname;
 | 
			
		||||
        user_el.innerText = "@" + uname + ":";
 | 
			
		||||
        item.appendChild(user_el);
 | 
			
		||||
        
 | 
			
		||||
        var content = document.createElement("span");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue