Minor cosmetic changes

This commit is contained in:
Gabriel 2022-03-15 10:48:04 -04:00
parent af23a98215
commit 020cf32019
3 changed files with 84 additions and 53 deletions

View file

@ -13,9 +13,16 @@
<div class="interverse" x-data x-if="Alpine.store('data')"> <div class="interverse" x-data x-if="Alpine.store('data')">
<div id="interverse-details"> <div id="interverse-details">
<img x-bind:src="Alpine.store('data')['image']"> <img x-bind:src="Alpine.store('data')['image']">
<div id="interverse-contact">
<h1 x-text="Alpine.store('data')['name']"></h1> <h1 x-text="Alpine.store('data')['name']"></h1>
<template x-for="key in Object.keys(Alpine.store('data')['contact'])">
<p>
<strong x-text="key"></strong>
<span x-text="Alpine.store('data')['contact'][key]"></span>
</p>
</template>
</div>
</div> </div>
<h2>Content:</h2>
<div id="interverse-resources"> <div id="interverse-resources">
<template x-for="resource in Alpine.store('data')['resources']"> <template x-for="resource in Alpine.store('data')['resources']">
<a x-bind:href="resource['location']"> <a x-bind:href="resource['location']">

View file

@ -1,6 +1,7 @@
body { body {
--theme-primary-color: white; --theme-primary-color: white;
--theme-secondary-color: black; --theme-secondary-color: black;
--theme-accent-color: rgb(9, 120, 194);
background-color: var(--theme-primary-color); background-color: var(--theme-primary-color);
color: var(--theme-secondary-color); color: var(--theme-secondary-color);
overflow-x: hidden; overflow-x: hidden;
@ -8,67 +9,89 @@ body{
display: flex; display: flex;
flex-direction: column; flex-direction: column;
font-size: 100%; font-size: 100%;
}
@media screen and (min-width:1000px) {
body{
font-size:100%;
} }
}
img { img {
max-width: 15rem; max-width: 15rem;
} }
.inververse{
display:flex;
flex-direction: row;
flex-wrap: wrap;
.interverse {
display: flex;
flex-direction: column;
align-items: center;
width: 100vw;
font-size: 1.5rem;
} }
#interverse-details { #interverse-details {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
}
#interverse-details * {
margin: 0.25rem;
}
#interverse-contact {
word-wrap: break-word;
}
#interverse-details img {
max-width: 15rem;
max-height: 15rem;
} }
#interverse-resources { #interverse-resources {
flex-wrap: wrap; flex-wrap: wrap;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: flex-end;
} }
.interverse-resource { .interverse-resource {
padding: 2rem; padding: 2rem;
max-width: 15rem;
} }
.interverse-resource-icon { .interverse-resource-icon {
height: 3rem; height: 3rem;
width: 3rem; width: 3rem;
} }
#interverse-groups { #interverse-groups {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: row; flex-direction: row;
} }
.interverse-group { .interverse-group {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
} }
#interverse-connections { #interverse-connections {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: row; flex-direction: row;
align-items: flex-start; align-items: flex-start;
justify-content: space-evenly;
} }
#interverse-groups,
#interverse-connections {
margin-left: 10vw;
margin-right: 10vw;
}
.interverse-connection { .interverse-connection {
width: fit-content; width: fit-content;
border: 1px solid var(--theme-secondary-color); border: 0.15rem solid var(--theme-accent-color);
padding: 1rem; padding: 1rem;
margin: 0.25rem; margin: 0.25rem;
} }
.interverse-connection-preview { .interverse-connection-preview {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

1
Client/widget.html Normal file
View file

@ -0,0 +1 @@
<! not sure how to slim it down yet>