Add train details on public LDB
This commit is contained in:
32
src/lib/islands/overlay-island.svelte
Normal file
32
src/lib/islands/overlay-island.svelte
Normal file
@@ -0,0 +1,32 @@
|
||||
<script>
|
||||
export let variables = {title:""}
|
||||
</script>
|
||||
|
||||
<div>
|
||||
<span>{variables.title}</span>
|
||||
<slot />
|
||||
</div>
|
||||
|
||||
<style>
|
||||
span {
|
||||
font-family: urwgothic, 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
}
|
||||
div {
|
||||
position: fixed;
|
||||
top: 60px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 75%;
|
||||
height: auto;
|
||||
max-height: 75vh;
|
||||
overflow-y: scroll;
|
||||
max-width: 400px;
|
||||
margin: auto;
|
||||
margin-top: 25px;
|
||||
padding: 10px;
|
||||
background-color: var(--overlay-color);
|
||||
border-radius: 10px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user