diff --git a/src/assets/scss/components/periodic-table.scss b/src/assets/scss/components/periodic-table.scss index 3517d41..b5e4990 100644 --- a/src/assets/scss/components/periodic-table.scss +++ b/src/assets/scss/components/periodic-table.scss @@ -14,10 +14,18 @@ $grid-gutter: 0.25vw; } } +.element-general-properties { + background: + linear-gradient($gray-light, $gray-light), + radial-gradient(farthest-side at 50% 100%, rgba(255, 255, 255 , .3), transparent) 0 100%; + background-repeat: no-repeat; + background-size: 100% 98%, 100% 4%; +} + .c-information { margin: $grid-gutter; overflow: auto; - max-height: 14.1vw; + max-height: 13.5vw; @media (max-width: map-get($grid-breakpoints, lg)) { margin: $spacer / 2; diff --git a/src/components/GameMode.vue b/src/components/GameMode.vue index 5c0d773..85fd4ad 100644 --- a/src/components/GameMode.vue +++ b/src/components/GameMode.vue @@ -12,9 +12,9 @@ :data-element-group='element.elementGroup' :data-group='element.group' :data-period='element.period' class='element' :class="element.symbol && element.symbol.toLowerCase()" :style="{ opacity: filteredElements.includes(element.atomicNumber) ? 1 : 0.25 }"> - + - +
diff --git a/src/components/PeriodicTable.vue b/src/components/PeriodicTable.vue index 2570d80..e01bb94 100644 --- a/src/components/PeriodicTable.vue +++ b/src/components/PeriodicTable.vue @@ -1,23 +1,50 @@