vtm/source/manifestation/web/game.scss

140 lines
2.5 KiB
SCSS
Raw Normal View History

/*
* Verrückte Turing-Maschinen A turing complete game
2018-03-29 22:00:42 +02:00
* Copyright (C) 2016-2018 kcf <vidofnir@folksprak.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
$phi: 0.6180339887498949;
2025-09-23 12:13:49 +02:00
// $sigma: $phi;
$sigma: 0.25;
2018-03-30 01:06:13 +02:00
$offset: 0.0;
$hue_symbol_0: (((($sigma*0)+$offset)%1)*360);
$hue_symbol_1: (((($sigma*1)+$offset)%1)*360);
$hue_symbol_2: (((($sigma*2)+$offset)%1)*360);
$hue_symbol_3: (((($sigma*3)+$offset)%1)*360);
2025-09-23 12:13:49 +02:00
$saturation_symbol: 75%;
2018-03-30 01:06:13 +02:00
$lightness_symbol: 50%;
2025-09-24 00:28:45 +02:00
@keyframes spin
{
from
{
transform: rotate(0deg);
}
to
{
transform: rotate(360deg);
}
}
2018-03-30 01:06:13 +02:00
.frame
{
stroke: none;
fill: hsl( 0, 0%, 25%);
}
2018-03-30 01:06:13 +02:00
.frame:hover
{
/*
fill: hsl( 0, 0%, 37.5%);
transition: 0.25s ease;
*/
}
2025-09-24 00:28:45 +02:00
.stone
{
2025-09-24 00:28:45 +02:00
/*
stroke-width: 0.05;
stroke: hsl( 0, 0%, 0%);
*/
stroke: none;
fill: hsl( 0, 0%, 0%);
}
2018-03-30 01:06:13 +02:00
.arrow
{
stroke: none;
}
2018-03-29 01:13:39 +02:00
.generator
{
fill: hsl( 0, 0%, 100%);
}
.neutral
{
fill: hsl( 0, 0%, 50%);
}
.symbol_0
{
2018-03-30 01:06:13 +02:00
fill: hsl($hue_symbol_0, $saturation_symbol, $lightness_symbol);
background-color: hsl($hue_symbol_0, $saturation_symbol, $lightness_symbol);
}
.symbol_1
{
2018-03-30 01:06:13 +02:00
fill: hsl($hue_symbol_1, $saturation_symbol, $lightness_symbol);
background-color: hsl($hue_symbol_1, $saturation_symbol, $lightness_symbol);
}
.symbol_2
{
2018-03-30 01:06:13 +02:00
fill: hsl($hue_symbol_2, $saturation_symbol, $lightness_symbol);
background-color: hsl($hue_symbol_2, $saturation_symbol, $lightness_symbol);
}
.symbol_3
{
2018-03-30 01:06:13 +02:00
fill: hsl($hue_symbol_3, $saturation_symbol, $lightness_symbol);
background-color: hsl($hue_symbol_3, $saturation_symbol, $lightness_symbol);
}
2018-03-30 01:06:13 +02:00
.circle
{
stroke: none;
}
2018-03-30 01:06:13 +02:00
.positive
{
fill: hsl( 0, 0%, 100%);
}
2018-03-30 01:06:13 +02:00
.negative
{
/*
fill: hsl( 0, 0%, 0%);
*/
display: none;
}
2018-03-30 01:06:13 +02:00
.entry
{
stroke: black;
stroke-width: 0.01;
2025-09-24 00:28:45 +02:00
/*
stroke: none;
2025-09-24 00:28:45 +02:00
*/
animation-name: spin;
animation-duration: 4s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}