123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- body {
- font-family: 'Helvetica Neue', Verdana, Helvetica, Arial, sans-serif;
- max-width: 600px;
- margin: 0 auto;
- padding-top: 72px;
- -webkit-font-smoothing: antialiased;
- font-size: 1.125em;
- color: #333;
- line-height: 1.5em;
- }
- h1, h2, h3 {
- color: #000;
- }
- h1 {
- font-size: 2.5em
- }
- h2 {
- font-size: 2em
- }
- h3 {
- font-size: 1.5em
- }
- a {
- text-decoration: none;
- color: #09f;
- }
- a:hover {
- text-decoration: underline;
- }
- table {
- border-collapse: collapse;
- }
- td, th {
- border: 1px solid black;
- padding: 0;
- }
- th {
- text-align: center;
- min-width: 40px;
- }
- td {
- text-align: right;
- position: relative;
- }
- td input {
- border: none;
- padding: 5px;
- width: 80px;
- }
- td input:hover {
- background-color: #ccc;
- }
- td input:focus {
- background-color: #ccf;
- }
- td input:not(:focus) {
- text-align: right;
- }
- .smartborder {
- width: calc(100% + 2px);
- height: calc(100% + 2px);
- border: 3px solid blue;
- position: absolute;
- left: -4px;
- top: -4px;
- background: none;
- z-index: 999;
-
- }
- td input:not(:focus) + .smartborder {
- visibility: hidden;
- }
- .smartborder .button {
- --button-size: 20px;
- --half-button-size: 10px;
-
|