Skip to content

Commit

Permalink
HelloWorld wasm demo
Browse files Browse the repository at this point in the history
  • Loading branch information
nkast committed Apr 20, 2024
1 parent 2293838 commit dba6a67
Show file tree
Hide file tree
Showing 87 changed files with 2,605 additions and 0 deletions.
Binary file added docs/wasm/HelloWorld/Content/CircleSprite.xnb
Binary file not shown.
Binary file added docs/wasm/HelloWorld/Content/Font.xnb
Binary file not shown.
Binary file added docs/wasm/HelloWorld/Content/GroundSprite.xnb
Binary file not shown.
99 changes: 99 additions & 0 deletions docs/wasm/HelloWorld/HelloWorld.styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
/* /MainLayout.razor.rz.scp.css */
.page[b-d5zt5ck1u8]
{
position: relative;
display: flex;
flex-direction: column;
}

main[b-d5zt5ck1u8]
{
flex: 1;
}

.sidebar[b-d5zt5ck1u8]
{
background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-d5zt5ck1u8]
{
background-color: #f7f7f7;
border-bottom: 1px solid #d6d5d5;
justify-content: flex-end;
height: 3.5rem;
display: flex;
align-items: center;
}

.top-row[b-d5zt5ck1u8] a, .top-row[b-d5zt5ck1u8] .btn-link
{
white-space: nowrap;
margin-left: 1.5rem;
text-decoration: none;
}

.top-row[b-d5zt5ck1u8] a:hover, .top-row[b-d5zt5ck1u8] .btn-link:hover
{
text-decoration: underline;
}

.top-row[b-d5zt5ck1u8] a:first-child
{
overflow: hidden;
text-overflow: ellipsis;
}

@media (max-width: 640.98px)
{
.top-row:not(.auth)[b-d5zt5ck1u8]
{
display: none;
}

.top-row.auth[b-d5zt5ck1u8]
{
justify-content: space-between;
}

.top-row[b-d5zt5ck1u8] a, .top-row[b-d5zt5ck1u8] .btn-link
{
margin-left: 0;
}
}

@media (min-width: 641px)
{
.page[b-d5zt5ck1u8]
{
flex-direction: row;
}

.sidebar[b-d5zt5ck1u8]
{
width: 250px;
height: 100vh;
position: sticky;
top: 0;
}

.top-row[b-d5zt5ck1u8]
{
position: sticky;
top: 0;
z-index: 1;
}

.top-row.auth[b-d5zt5ck1u8] a:first-child
{
flex: 1;
text-align: right;
width: 0;
}

.top-row[b-d5zt5ck1u8], article[b-d5zt5ck1u8]
{
padding-left: 2rem !important;
padding-right: 1.5rem !important;
}
}
Loading

0 comments on commit dba6a67

Please sign in to comment.