123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- html,
- body {
- padding: 0;
- margin: 0;
- }
- body {
- -webkit-font-smoothing: antialiased;
- text-align: center;
- font: 18px / 1.4 'Helvetica', 'Arial', sans-serif;
- padding-top: 60px;
- }
- ul {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- margin: 0;
- padding: 0;
- height: 60px;
- background: #cccccc;
- font-size: 0;
- line-height: 0;
- letter-spacing: -0.3em;
- }
- li {
- position: relative;
- display: inline-block;
- vertical-align: top;
- width: 25%;
- text-align: center;
- font-size: 18px;
- line-height: 60px;
- letter-spacing: normal;
- }
- li a {
- display: block;
- color: #ffffff;
- text-decoration: none;
- text-transform: uppercase;
- white-space: nowrap;
- }
- li a:hover,
- li a.active {
- background: #333333;
- color: #ffffff;
- }
- li a.active:after {
- content: '';
- position: absolute;
- top: 100%;
- left: 50%;
- margin-left: -10px;
- border: 10px solid;
- border-color: transparent;
- border-top-color: #333333;
- }
- .chart {
- position: relative;
- display: inline-block;
- width: 110px;
- height: 110px;
- margin-top: 50px;
- margin-bottom: 50px;
- text-align: center;
- }
- .chart canvas {
- position: absolute;
- top: 0;
- left: 0;
- }
- .percent {
- display: inline-block;
- line-height: 110px;
- z-index: 2;
- }
- .percent:after {
- content: '%';
- margin-left: 0.1em;
- font-size: .8em;
- }
- .angular {
- margin-top: 100px;
- }
- .angular .chart {
- margin-top: 0;
- }
- input {
- display: block;
- margin: auto;
- margin-bottom: 3em;
- }
- .btn {
- display: block;
- width: 200px;
- margin: 0 auto;
- padding: 10px 20px;
- background: #cccccc;
- color: #ffffff;
- text-transform: uppercase;
- cursor: pointer;
- font-size: 0.8em;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- }
- .btn:hover {
- background: #333333;
- color: #ffffff;
- }
- .span6 {
- float: left;
- width: 50%;
- }
- @media only screen and (max-width: 600px) {
- li {
- font-size: 14.4px;
- }
- }
- @media only screen and (max-width: 430px) {
- .span6 {
- float: none;
- width: 100%;
- }
- body {
- padding-top: 0;
- }
- ul {
- height: auto;
- position: static;
- }
- li {
- display: block;
- width: 100%;
- }
- li a {
- white-space: normal;
- }
- a.active:after {
- display: none;
- }
- }
|