wide/static/css/base.css

81 lines
1.4 KiB
CSS
Raw Normal View History

2014-11-12 18:13:14 +03:00
/*
* Copyright (c) 2014, B3log
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
2014-09-02 14:09:01 +04:00
/* start reset & function */
2014-08-29 13:24:08 +04:00
body {
font-size: 13px;
margin: 0;
2014-09-03 13:23:42 +04:00
color: #000;
2014-09-26 11:39:13 +04:00
overflow: hidden;
2014-10-28 03:48:11 +03:00
font-family: Helvetica;
2014-08-29 13:24:08 +04:00
}
2014-08-18 17:45:43 +04:00
ul {
2014-08-19 13:07:35 +04:00
padding: 0;
margin: 0;
2014-09-03 13:23:42 +04:00
list-style: none;
2014-08-18 17:45:43 +04:00
}
2014-08-29 13:24:08 +04:00
* {
box-sizing: border-box;
}
2014-10-10 12:04:59 +04:00
input,
button {
font-family: Helvetica;
2014-10-10 12:04:59 +04:00
}
2014-08-29 13:24:08 +04:00
.fn-left {
float: left;
}
.fn-right {
float: right;
}
2014-08-18 17:45:43 +04:00
.fn-clear:before,
.fn-clear:after {
display: table;
content: "";
}
.fn-clear:after {
clear: both;
}
.fn-none {
2014-08-19 13:07:35 +04:00
display: none;
2014-08-18 17:45:43 +04:00
}
2014-10-12 18:58:08 +04:00
/* end reset & function */
2014-11-14 12:06:13 +03:00
/* start common */
.list li {
cursor: pointer;
line-height: 20px;
padding: 0 3px;
word-wrap: normal;
word-break: normal;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.list li.selected,
.list li:hover{
background-color: #3875d7;
color: #FFF;
}
/* end common */