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']">
<h1 x-text="Alpine.store('data')['name']"></h1> <div id="interverse-contact">
<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,80 +1,103 @@
body{ body {
--theme-primary-color:white; --theme-primary-color: white;
--theme-secondary-color:black; --theme-secondary-color: black;
background-color:var(--theme-primary-color); --theme-accent-color: rgb(9, 120, 194);
color:var(--theme-secondary-color); background-color: var(--theme-primary-color);
overflow-x:hidden; color: var(--theme-secondary-color);
margin:0; overflow-x: hidden;
display:flex; margin: 0;
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-details{ .interverse {
display:flex; display: flex;
flex-direction: column;
align-items: center;
width: 100vw;
font-size: 1.5rem;
}
#interverse-details {
display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
} }
#interverse-resources{ #interverse-details * {
margin: 0.25rem;
}
#interverse-contact {
word-wrap: break-word;
}
#interverse-details img {
max-width: 15rem;
max-height: 15rem;
}
#interverse-resources {
flex-wrap: wrap; flex-wrap: wrap;
display:flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: flex-end;
}
.interverse-resource{
padding:2rem;
} }
.interverse-resource-icon{ .interverse-resource {
height:3rem; padding: 2rem;
width:3rem; max-width: 15rem;
} }
#interverse-groups{
display:flex; .interverse-resource-icon {
height: 3rem;
width: 3rem;
}
#interverse-groups {
display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: row; flex-direction: row;
} }
.interverse-group{
display:flex; .interverse-group {
display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
} }
#interverse-connections{
display:flex; #interverse-connections {
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-connection{
width:fit-content; #interverse-groups,
border: 1px solid var(--theme-secondary-color); #interverse-connections {
padding:1rem; margin-left: 10vw;
margin:0.25rem; margin-right: 10vw;
} }
.interverse-connection-preview{
display:flex; .interverse-connection {
width: fit-content;
border: 0.15rem solid var(--theme-accent-color);
padding: 1rem;
margin: 0.25rem;
}
.interverse-connection-preview {
display: flex;
flex-direction: column; flex-direction: column;
} }
.interverse-widget{ .interverse-widget {
width:50vw; width: 50vw;
height:60vh; height: 60vh;
} }

1
Client/widget.html Normal file
View file

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