nikoli/views/application.scss

128 lines
1.9 KiB
SCSS
Raw Normal View History

2014-12-05 12:38:43 +01:00
body {
font-family: Verdana,Arial,sans-serif;
2014-12-05 17:58:52 +01:00
background-color: #aaa;
margin: 0;
padding: 0;
}
2014-12-08 12:32:01 +01:00
ul {
list-style-type: none;
padding: 0;
margin: 0;
li {
margin: 5px 0;
a {
background-color: #eee;
color: #000;
font-size: 1.2em;
border-radius: 3px;
padding: 15px 0;
text-decoration: none;
display: block;
width: 100%;
height: 100%;
&:hover {
background-color: #ccc;
}
}
}
}
2014-12-05 17:58:52 +01:00
#main {
width: 500px;
margin: 0 auto;
padding: 20px;
text-align: center;
2014-12-05 12:38:43 +01:00
}
2014-12-08 12:32:01 +01:00
2014-12-05 12:38:43 +01:00
.game-container {
cursor: default;
font-weight: bold;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.grid-cell {
background-color: #ddd;
width: 30px;
height: 30px;
display: inline-block;
margin: 1px;
padding: 5px;
border-radius: 3px;
text-align: center;
line-height: 30px;
font-size: 1.2em;
}
2014-12-11 22:29:46 +01:00
.congratulations {
background-color: #4a4;
color: #060;
font-weight: bold;
padding: 20px 0;
margin: 10px 0;
border-radius: 3px;
display: none;
}
.show {
display: block;
}
2014-12-05 12:38:43 +01:00
.white {
background-color: #fff;
}
.black {
2014-12-11 17:26:08 +01:00
background-color: transparent;
}
.error {
box-shadow: 0 0 10px 0 #c00 inset;
2014-12-05 12:38:43 +01:00
}
2014-12-08 12:45:33 +01:00
2014-12-08 17:48:22 +01:00
.hitori {
.black {
opacity: 0.1;
}
}
2014-12-11 17:26:08 +01:00
.akari {
2014-12-11 22:29:46 +01:00
.white {
2014-12-11 17:26:08 +01:00
background-color: #222;
2014-12-11 22:29:46 +01:00
color: #fff;
}
.black {
background-color: #fff;
2014-12-11 17:26:08 +01:00
}
.light {
box-shadow: 0 0 10px 5px #ffb inset;
}
}
2014-12-08 12:45:33 +01:00
.sudoku {
$sudoku-separation: 5px;
.grid-row:nth-child(3n) {
margin-bottom: $sudoku-separation;
}
.grid-cell:nth-child(3n) {
margin-right: $sudoku-separation;
}
input {
text-align: center;
width: 80%;
height: 80%;
border: none;
background: transparent;
font-family: Verdana,Arial,sans-serif;
font-size: 1.2em;
}
}