mirror of
https://github.com/wassname/rl_2d_walker.js.git
synced 2026-08-22 12:20:24 +08:00
112 lines
1.4 KiB
CSS
112 lines
1.4 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
box-sizing: border-box;
|
|
font-family: sans-serif;
|
|
font-size: 11px;
|
|
}
|
|
|
|
body {
|
|
width: 100%;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
margin: 10px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
h2 {
|
|
text-align: center;
|
|
margin: 5px 0;
|
|
}
|
|
|
|
h3 {
|
|
text-align: center;
|
|
font-style: italic;
|
|
font-size: 10px;
|
|
margin-bottom: 10px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 14px;
|
|
margin-top: 10px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
h4:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
select {
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
#main_holder {
|
|
width: 800px;
|
|
height: auto;
|
|
margin: 0 auto;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
#main_screen {
|
|
border: 1px solid #888;
|
|
}
|
|
|
|
#info {
|
|
width: 100%;
|
|
}
|
|
|
|
#info>div {
|
|
vertical-align: top;
|
|
margin-right: 15px;
|
|
display: inline-block;
|
|
width: 180px;
|
|
}
|
|
|
|
.name_list_table {
|
|
border-collapse: collapse;
|
|
min-width: 180px;
|
|
}
|
|
|
|
.name_list_table td, .name_list_table th {
|
|
border: 1px solid #888;
|
|
padding: 1px 3px;
|
|
}
|
|
|
|
.name_list_table .name {
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.name_list_table .elite_name {
|
|
color: #b40;
|
|
}
|
|
|
|
.name_list_table .score {
|
|
text-align: right;
|
|
}
|
|
|
|
.name_list_table .generation {
|
|
text-align: right;
|
|
}
|
|
|
|
#hidden_ss {
|
|
height: 0;
|
|
width: 0;
|
|
display: none;
|
|
}
|
|
|
|
#generation_timer {
|
|
width: 100%;
|
|
height: 10px;
|
|
}
|
|
|
|
#generation_timer_bar {
|
|
background-color: #bbf;
|
|
height: 100%;
|
|
width: 0;
|
|
font-size: 0;
|
|
max-width: 100%;
|
|
} |