From eb460fbb161e76052b7bdd2c57afc65e2e99bc2e Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Thu, 12 Dec 2024 13:51:59 +0100 Subject: place pieces --- sass/index.scss | 1 + sass/links.scss | 18 ++++++++++++++++++ sass/stones.scss | 2 -- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100755 sass/links.scss (limited to 'sass') diff --git a/sass/index.scss b/sass/index.scss index fdf4f97..456d908 100755 --- a/sass/index.scss +++ b/sass/index.scss @@ -1,5 +1,6 @@ @import "board"; @import "stones"; +@import "links"; @import "head"; body { diff --git a/sass/links.scss b/sass/links.scss new file mode 100755 index 0000000..b62879a --- /dev/null +++ b/sass/links.scss @@ -0,0 +1,18 @@ +.link { + position: absolute; + display: block; + opacity: 0.5; + cursor: pointer; + vertical-align: middle; +} + +.link img { + display: block; + padding: 10%; + width:80%; +} + +.link:not(:hover) { + opacity: 0; + width: 200%; +} diff --git a/sass/stones.scss b/sass/stones.scss index 65ad970..3635c3b 100755 --- a/sass/stones.scss +++ b/sass/stones.scss @@ -1,5 +1,3 @@ -@import "variables"; - .stone { position: absolute; display: block; -- cgit v1.2.3