css + blank js + html
This commit is contained in:
		
							
								
								
									
										66
									
								
								styles.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										66
									
								
								styles.css
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,66 @@
 | 
			
		||||
body {
 | 
			
		||||
  font-family: "Helvetica Neue", Helvetica, Arial;
 | 
			
		||||
  font-weight: regular;
 | 
			
		||||
}
 | 
			
		||||
h1, h2 {
 | 
			
		||||
  text-transform: uppercase;
 | 
			
		||||
}
 | 
			
		||||
header {
 | 
			
		||||
  min-height: 100px;
 | 
			
		||||
  background: #29AC51;
 | 
			
		||||
  color: #fff;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  h1 {
 | 
			
		||||
    padding: 30px;
 | 
			
		||||
    margin: auto;
 | 
			
		||||
    font-size: 50px;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
#desc {
 | 
			
		||||
  max-width: 550px;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  margin: auto;
 | 
			
		||||
  padding: 50px 0px 25px 0px;
 | 
			
		||||
}
 | 
			
		||||
#counter {
 | 
			
		||||
  max-width: 500px;
 | 
			
		||||
  margin: auto;
 | 
			
		||||
  padding: 25px 0 50px 0;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
}
 | 
			
		||||
  h2 {
 | 
			
		||||
    font-size: 50px;
 | 
			
		||||
    font-family: 'Teko', sans-serif;
 | 
			
		||||
  }
 | 
			
		||||
  #days {
 | 
			
		||||
    font-family: 'Aldrich', sans-serif;
 | 
			
		||||
    font-size: 55px;
 | 
			
		||||
    padding: 50px 0 50px 0;
 | 
			
		||||
    color: red;
 | 
			
		||||
  }
 | 
			
		||||
  #record {
 | 
			
		||||
    font-family: 'Teko', sans-serif;
 | 
			
		||||
    font-size: 30px;
 | 
			
		||||
}
 | 
			
		||||
#incident-btn {
 | 
			
		||||
  padding: 35px 45px 35px 45px;
 | 
			
		||||
  max-width: 150px;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  margin: auto;
 | 
			
		||||
  color: #fff;
 | 
			
		||||
  text-transform: uppercase;
 | 
			
		||||
  font-size: 30px;
 | 
			
		||||
  background: #FF0000;
 | 
			
		||||
  border-bottom: solid #A20000 4px;
 | 
			
		||||
  cursor: pointer;
 | 
			
		||||
  user-select: none;
 | 
			
		||||
}
 | 
			
		||||
  
 | 
			
		||||
.btn-text {
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  padding-top: 15px;
 | 
			
		||||
}
 | 
			
		||||
  
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,16 +1,86 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
	<head>
 | 
			
		||||
	    <meta charset="UTF-8">
 | 
			
		||||
    	<title>Ca42</title>
 | 
			
		||||
	</head>
 | 
			
		||||
	<body>
 | 
			
		||||
	    <h1>Ca42</h1>
 | 
			
		||||
        {% for date in dates %}
 | 
			
		||||
            <h1>{{date}}</h1>
 | 
			
		||||
        {% endfor %}
 | 
			
		||||
		<form action="/api/update" method="post">
 | 
			
		||||
            <button name="foo" value="upvote">Upvote</button>
 | 
			
		||||
        </form>        
 | 
			
		||||
	</body>
 | 
			
		||||
</html>
 | 
			
		||||
<link rel="stylesheet" href="../styles.css">
 | 
			
		||||
<style>
 | 
			
		||||
	body {
 | 
			
		||||
  font-family: "Helvetica Neue", Helvetica, Arial;
 | 
			
		||||
  font-weight: regular;
 | 
			
		||||
}
 | 
			
		||||
h1, h2 {
 | 
			
		||||
  text-transform: uppercase;
 | 
			
		||||
}
 | 
			
		||||
header {
 | 
			
		||||
  min-height: 100px;
 | 
			
		||||
  background: #29AC51;
 | 
			
		||||
  color: #fff;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  h1 {
 | 
			
		||||
    padding: 30px;
 | 
			
		||||
    margin: auto;
 | 
			
		||||
    font-size: 50px;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
#desc {
 | 
			
		||||
  max-width: 550px;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  margin: auto;
 | 
			
		||||
  padding: 50px 0px 25px 0px;
 | 
			
		||||
}
 | 
			
		||||
#counter {
 | 
			
		||||
  max-width: 500px;
 | 
			
		||||
  margin: auto;
 | 
			
		||||
  padding: 25px 0 50px 0;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
}
 | 
			
		||||
  h2 {
 | 
			
		||||
    font-size: 50px;
 | 
			
		||||
    font-family: 'Teko', sans-serif;
 | 
			
		||||
  }
 | 
			
		||||
  #days {
 | 
			
		||||
    font-family: 'Aldrich', sans-serif;
 | 
			
		||||
    font-size: 55px;
 | 
			
		||||
    padding: 50px 0 50px 0;
 | 
			
		||||
    color: red;
 | 
			
		||||
  }
 | 
			
		||||
  #record {
 | 
			
		||||
    font-family: 'Teko', sans-serif;
 | 
			
		||||
    font-size: 30px;
 | 
			
		||||
}
 | 
			
		||||
#incident-btn {
 | 
			
		||||
  padding: 35px 45px 35px 45px;
 | 
			
		||||
  max-width: 150px;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  margin: auto;
 | 
			
		||||
  color: #fff;
 | 
			
		||||
  text-transform: uppercase;
 | 
			
		||||
  font-size: 30px;
 | 
			
		||||
  background: #FF0000;
 | 
			
		||||
  border-bottom: solid #A20000 4px;
 | 
			
		||||
  cursor: pointer;
 | 
			
		||||
  user-select: none;
 | 
			
		||||
}
 | 
			
		||||
  
 | 
			
		||||
.btn-text {
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  padding-top: 15px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
</style>
 | 
			
		||||
<header>
 | 
			
		||||
	<h1>ca42</h1>
 | 
			
		||||
  </header>
 | 
			
		||||
  <div id="desc">
 | 
			
		||||
	<p>Nombres de jours sans problèmes sanitaires a 42 Angoulême.</p>
 | 
			
		||||
  </div>
 | 
			
		||||
  <div id="counter">
 | 
			
		||||
	<h1>Jours depuis le dernier problème:</h1>
 | 
			
		||||
	<div>
 | 
			
		||||
	  <p id="days"></p>
 | 
			
		||||
	</div>
 | 
			
		||||
	<div>
 | 
			
		||||
	  <p id="last-incident"></p>
 | 
			
		||||
	</div>
 | 
			
		||||
	<div>
 | 
			
		||||
	  <p id="record">Nombre total de problèmes :<p>
 | 
			
		||||
	</div>
 | 
			
		||||
  </div>
 | 
			
		||||
  <div id="incident-btn">Incident</div>
 | 
			
		||||
  <p class="btn-text">Note: Button doesn't actually work yet...</p> 	
 | 
			
		||||
		Reference in New Issue
	
	Block a user