Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 48 additions & 12 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,36 +1,40 @@
@import url('https://fonts.googleapis.com/css?family=Architects+Daughter');
body,
html {
.flex-container {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
flex: 2;
}
body {
background-image: url("../img/new_year_background.png");
background-repeat: repeat;
width: 100%;
font-family: 'Raleway', sans-serif;
color: #303030;
margin-right: 0px;
margin-left: 0px;
}

.container {
min-width: 400px;
min-height: 200px;
.listBox {
min-width: 40%;
min-height: 20%;
background: linear-gradient(45deg, #AB8D8D 10%,#F7B2B2 50%,#F1D8D8 75%);
border-radius: 2px;
box-shadow: 0px 2px 4px rgba(34,62,66,.25);
border-radius: .125em;
box-shadow: 0px 2px 40px rgba(34,62,66,.25);
-webkit-transition: box-shadow 1s ease;
transition: box-shadow 1s ease;
padding: 10px;
margin: 10px;
padding: 2%;
margin: 5%;
opacity: .75;
box-sizing: border-box;
float: left;
}

li {
list-style: none;
font-family: 'Architects Daughter', cursive;
font-size: 30px;
font-size: 2em;
color: #303030;
}
.done {
Expand All @@ -40,13 +44,45 @@ li {
}

h1 {
font-size: 35px;
font-size: 5em;
letter-spacing: 1px;
color: #303030;
}

h2 {
text-align: center;
font-weight: lighter;
font-size: 30px;
font-size: 2em;
}
.container {
width: 100%;
}
@media (max-width:600px) {
.listBox {
float:none;
}

}

.p5Container {
position: absolute;
top: 1%;
left: 20%;

}

.p5Container iframe {
position: absolute;
border: 0 none;
left: 0;
width: 100px;
height: 900px;
z-index: -1;

}
canvas {
position: absolute;
z-index: -1;
top: 0px;
left:0px;
}
45 changes: 45 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">

<title>MyFirstApp</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<link href='https://fonts.googleapis.com/css?family=Playfair+Display:900|Raleway:300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="js/p5.js"></script>
</head>

<body>
<div class="flex-container">
<h1> Today's To Do List</h1>
<br>
<form>
<input id="newTask" autocomplete='off' type="text" name="task">
</form>
<br>
<button>Add a New Task!</button>
<br>
</div>
<div class="container">
<div class="listBox" id="toDo">
<h2>To Do</h2>
<ul id="toDolist"></ul>

</div>

<div class="listBox" id="finished">
<h2>Completed</h2>
<ul id="finishedList">
</ul>
</div>
</div>
<div class="p5Container">
<canvas src="js/sketch.html"></canvas>
<!-- <iframe class="p5Container" src="js/sketch.html" scrolling="no" ></iframe> -->
</div>
</body>
<script type="text/javascript" src="js/script.js"></script>

</html>
Loading