django_blog/blog/static/css/new.css

240 lines
4.7 KiB
CSS
Raw Normal View History

2017-11-13 21:12:12 +03:00
a {
2017-11-05 00:12:08 +03:00
color: #4a809a;
}
body{
background: #ededed;
font-family: 'Open Sans', sans-serif;
}
2017-11-05 01:54:32 +03:00
.block {
background: #FFFFFF;
box-shadow: 0 0.005em 0.01em 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
//display: block;
margin: 0 0 10px 0;
padding: 15px;
}
2017-11-09 17:46:06 +03:00
.close {
color: #FFFFFF;
position: absolute;
right: -25px;
text-decoration: none;
top: -25px;
font-size: 30px;
}
2017-11-05 00:12:08 +03:00
#content {
margin: 10px 0 0 0;
}
2017-11-05 01:54:32 +03:00
.date, .tag {
2017-11-05 00:12:08 +03:00
color: #999999;
2017-11-05 01:54:32 +03:00
display: inline-block;
2017-11-05 00:12:08 +03:00
font-size: 12px;
letter-spacing: 1px;
2017-11-05 01:54:32 +03:00
margin-right: 10px;
2017-11-05 00:12:08 +03:00
}
2017-11-09 17:34:42 +03:00
.delete, .edit {
float: right;
font-size: 25px;
margin-right: 10px;
2017-11-08 12:43:13 +03:00
}
2017-11-09 17:46:06 +03:00
.dialog {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0,0,0,0.8);
z-index: 99999;
-webkit-transition: opacity 400ms ease-in;
-moz-transition: opacity 400ms ease-in;
transition: opacity 400ms ease-in;
display: none;
pointer-events: none;
}
.dialog:target {
display: block;
pointer-events: auto;
}
.dialog1 {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0,0,0,0.8);
z-index: 99999;
-webkit-transition: opacity 400ms ease-in;
-moz-transition: opacity 400ms ease-in;
transition: opacity 400ms ease-in;
display: none;
pointer-events: none;
}
.dialog1:target {
display: block;
pointer-events: auto;
}
.dialog > div {
width: 17em;
position: relative;
margin: 15% auto;
padding: 10px;
text-align: center;
//border-radius: 10px;
background: #fff;
}
.dialog span {line-height: 50px}
.dialog input {width: 100px; margin: 5px}
2017-11-05 00:12:08 +03:00
input#button-search {
background: url('https://touchit.com.ua/static/images/icons/search-25.png') no-repeat center center;
border: none;
cursor: pointer;
//margin-top: 10px;
width: 32px;
height: 32px;
}
h2 {
font-size: 26.25px;
line-height: 31.5px;
margin: 10px 0;
}
#header {
background: #6da3bd;
box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
display: block;
font-family: 'Open Sans', sans-serif;
height: 50px;
}
2017-11-09 17:46:06 +03:00
input[name="search"] {
border: 1px solid #CCCCCC;
border-radius: 4px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
color: #333333;
font-size: 14px;
padding: 6px 12px;
width: 200px;
vertical-align: top;
}
2017-11-05 00:12:08 +03:00
#logo {
color: #FFFFFF;
float: left;
font-family: 'Lato', sans-serif;
font-size: 25px;
height: 50px;
letter-spacing: 1px;
line-height: 50px;
padding: 0 0 0 15px;
text-align: center;
text-decoration: none;
vertical-align: top;
}
2017-11-09 17:46:06 +03:00
.menu_top li {
display: inline;
margin-right: 10px;
}
.paginator {
font-size: 20px;
list-style: none;
text-align: center;
}
.paginator a {
display: inline-block;
padding: 2 1; text-decoration:none;
text-align: center;
}
2017-11-05 00:12:08 +03:00
.post {
box-shadow: 0 0.005em 0.01em 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
box-sizing: border-box;
background: #FFFFFF;
color: #1a1a1a;
display: block;
font-family: 'Open Sans'
font-size: 14px;
font-weight: 300;
line-height: 26px;
margin: 0 0 10px 0;
padding: 15px;
width: 100%;
}
.post-header {
font-family: 'Open Sans', sans-serif;
margin: 5px 0 10px 0;
}
.post-header a {
text-decoration: none;
color: #000;
}
.post-header a:hover {
color: #4a809a;
}
2017-11-09 17:46:06 +03:00
.right {
float: right;
}
2017-11-05 00:12:08 +03:00
#posts {
box-sizing: border-box;
display: block;
float: left;
padding-right: 250px;
width: 100%;
}
#search {
float: right;
font-size: 100%;
display: block;
height: 50px;
}
#search-form {
margin: 10px 10px 0 10px;
//vertical-align: top;
}
.sidemenu {
box-sizing: border-box;
float: left;
margin-left: -240px;
width: 240px;
}
.sidemenu h2 {
font-size: 16px;
color: #666666;
margin: 0 0 10px 0;
}
.sidemenu ul {
padding: 0;
}
.sidemenu li {
list-style: none;
margin: 5px 0 10px;
}
2017-11-09 17:46:06 +03:00
textarea{
width: 90%;
margin:5px 10px;
}
//button[name="action"] {display: block; float: right; margin: 1px;}
//table {
//border: none;
//border-collapse: collapse;}
//td {padding: 2 10;}
tr:hover td {
background-color: rgba(41, 128, 185, 0.1);
}
2017-11-13 21:12:12 +03:00
#plus {display: none;}
2017-11-09 17:46:06 +03:00
@media screen and (max-width: 900px) {
#posts {padding: 0}
2017-11-13 21:12:12 +03:00
#header {width: 100%;}
2017-11-09 17:46:06 +03:00
//.sidemenu {background: #F7F7F8;}
#search, .sidemenu {display: none}
2017-11-13 21:12:12 +03:00
#plus {color: #FFF; float: right;
font-size: 25px;
display: block;
//height: 30px;
margin: 12px;
}
}