Skip to content

Instantly share code, notes, and snippets.

@pankajpatel
Created October 24, 2015 10:05
Show Gist options
  • Save pankajpatel/f2d8e19124cda40524cd to your computer and use it in GitHub Desktop.
Save pankajpatel/f2d8e19124cda40524cd to your computer and use it in GitHub Desktop.
CSS for Parse ToDo
body {
background: #eee;
text-align: center;
padding: 0 25px;
}
#main {
width: 500px;
margin: auto;
text-align: left;
background: white;
padding: 50px 60px;
border: solid #ddd;
border-width: 0 1px 1px 1px;
}
#main h1 {
margin-top: 0;
font-size: 35px;
}
#main ul {
padding-left: 20px;
}
#main .error {
border: 1px solid red;
background: #FDEFF0;
padding: 20px;
}
#main .success {
margin-top: 25px;
}
#main .success code {
font-size: 12px;
color: green;
line-height: 13px;
}
.input-container{
}
#task{
width: 100%;
padding: 15px;
font-size: 1.4em;
border-radius: 3px;
border: 1px solid #aaa;
box-sizing: border-box;
}
.button-container{
margin: 30px;
}
#saveTask{
width: 100%;
padding: 10px;
background: transparent;
border: 1px solid #ccc;
border-radius: 3px;
}
#saveTask:hover,
#saveTask:focus{
background-color: #eee;
outline: none;
}
#saveTask:active{
background-color: #555;
color:#fff;
border: 1px solid #555;
outline: none;
}
ul{
list-style: none;
margin: 0;
padding: 0;
}
li{
padding-left: 15px;
position: relative;
}
li.strikethrough{
text-decoration: line-through;
}
li .change-task-status{
position: absolute;
left: 0;
margin-top: 4px;
margin-left: -10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment