100 lines
1.4 KiB
CSS
100 lines
1.4 KiB
CSS
body {
|
|
font-family:sans-serif;
|
|
width:50%;
|
|
margin-left:auto;
|
|
margin-right:auto;
|
|
background-color: #ddd;
|
|
}
|
|
|
|
p {
|
|
font-size:medium;
|
|
font-family:sans-serif;
|
|
font-weight:normal;
|
|
}
|
|
|
|
/* navigation */
|
|
ul {
|
|
list-style-type:none;
|
|
overflow: hidden;
|
|
background-color:none;
|
|
image-orientation: left;
|
|
}
|
|
|
|
li {
|
|
float: right;
|
|
}
|
|
|
|
li a {
|
|
display: block;
|
|
color: grey;
|
|
text-align: center;
|
|
padding: 18px 16px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
li a:hover {
|
|
background-color: #111;
|
|
}
|
|
|
|
li {
|
|
border-right: 1px solid #bbb;
|
|
border-left: 1px solid #bbb;
|
|
}
|
|
/* navigaton end */
|
|
|
|
/* comment section */
|
|
.post-box{
|
|
width: 815px;
|
|
padding: 20px;
|
|
margin-bottom: 4px;
|
|
background-color: #fff;
|
|
border-radius: 4px;
|
|
position: relative;
|
|
}
|
|
.comment-box p{
|
|
font-family: arial;
|
|
font-size: 14px;
|
|
line-height: 16px;
|
|
color: #282828;
|
|
font-weight: 100;
|
|
}
|
|
/* edit button form */
|
|
.edit-form button{
|
|
width:40px;
|
|
height: 20px;
|
|
color: #282828;
|
|
background-color: #fff;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.edit-form{
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 70px;
|
|
}
|
|
|
|
.edit-form button:hover{
|
|
opacity: 1;
|
|
}
|
|
/* delete button form */
|
|
.delete-form button{
|
|
width:65px;
|
|
height: 20px;
|
|
color: #282828;
|
|
background-color: #fff;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.delete-form{
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 0px;
|
|
}
|
|
|
|
.delete-form button:hover{
|
|
opacity: 1;
|
|
}
|
|
*.warning {
|
|
color:red;
|
|
}
|