web_AI-3/css/stylesheet.css

100 lines
1.4 KiB
CSS
Raw Permalink Normal View History

2017-01-11 20:21:10 +01:00
body {
2017-01-09 21:59:39 +01:00
font-family:sans-serif;
width:50%;
margin-left:auto;
margin-right:auto;
2017-02-16 22:46:17 +01:00
background-color: #ddd;
2017-01-09 21:59:39 +01:00
}
2017-01-11 20:21:10 +01:00
p {
2017-01-09 21:59:39 +01:00
font-size:medium;
font-family:sans-serif;
font-weight:normal;
}
2016-12-28 14:48:58 +01:00
/* navigation */
ul {
list-style-type:none;
overflow: hidden;
background-color:none;
2017-01-09 21:59:39 +01:00
image-orientation: left;
}
2016-12-28 14:48:58 +01:00
li {
float: right;
}
2016-12-28 14:48:58 +01:00
li a {
display: block;
color: grey;
text-align: center;
padding: 18px 16px;
text-decoration: none;
}
2016-12-28 14:48:58 +01:00
li a:hover {
background-color: #111;
}
2016-12-28 14:48:58 +01:00
li {
border-right: 1px solid #bbb;
border-left: 1px solid #bbb;
}
2016-12-28 14:48:58 +01:00
/* navigaton end */
2017-02-16 19:37:33 +01:00
/* comment section */
.post-box{
width: 815px;
padding: 20px;
margin-bottom: 4px;
background-color: #fff;
border-radius: 4px;
position: relative;
2017-02-16 22:46:17 +01:00
}
.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;
}
2017-02-16 19:37:33 +01:00
2017-02-16 22:46:17 +01:00
.delete-form button:hover{
opacity: 1;
2017-02-16 19:37:33 +01:00
}
*.warning {
color:red;
}