Initial commit
This commit is contained in:
commit
53cb4d3c72
78 changed files with 11268 additions and 0 deletions
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
.vs
|
||||
bin
|
||||
obj
|
||||
*.user
|
26
App.xaml
Normal file
26
App.xaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:Neighbourhood.omg.lol"
|
||||
x:Class="Neighbourhood.omg.lol.App">
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
|
||||
<Color x:Key="PageBackgroundColor">#512bdf</Color>
|
||||
<Color x:Key="PrimaryTextColor">White</Color>
|
||||
|
||||
<Style TargetType="Label">
|
||||
<Setter Property="TextColor" Value="{DynamicResource PrimaryTextColor}" />
|
||||
<Setter Property="FontFamily" Value="OpenSansRegular" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Button">
|
||||
<Setter Property="TextColor" Value="{DynamicResource PrimaryTextColor}" />
|
||||
<Setter Property="FontFamily" Value="OpenSansRegular" />
|
||||
<Setter Property="BackgroundColor" Value="#2b0b98" />
|
||||
<Setter Property="Padding" Value="14,10" />
|
||||
</Style>
|
||||
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
</Application>
|
9
App.xaml.cs
Normal file
9
App.xaml.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
namespace Neighbourhood.omg.lol {
|
||||
public partial class App : Application {
|
||||
public App() {
|
||||
InitializeComponent();
|
||||
|
||||
MainPage = new MainPage();
|
||||
}
|
||||
}
|
||||
}
|
11
Components/Layout/MainLayout.razor
Normal file
11
Components/Layout/MainLayout.razor
Normal file
|
@ -0,0 +1,11 @@
|
|||
@inherits LayoutComponentBase
|
||||
|
||||
<div class="page">
|
||||
<div class="sidebar">
|
||||
<NavMenu />
|
||||
</div>
|
||||
|
||||
<main>
|
||||
@Body
|
||||
</main>
|
||||
</div>
|
77
Components/Layout/MainLayout.razor.css
Normal file
77
Components/Layout/MainLayout.razor.css
Normal file
|
@ -0,0 +1,77 @@
|
|||
.page {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
main {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
|
||||
}
|
||||
|
||||
.top-row {
|
||||
background-color: #f7f7f7;
|
||||
border-bottom: 1px solid #d6d5d5;
|
||||
justify-content: flex-end;
|
||||
height: 3.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.top-row ::deep a, .top-row ::deep .btn-link {
|
||||
white-space: nowrap;
|
||||
margin-left: 1.5rem;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.top-row ::deep a:first-child {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
@media (max-width: 640.98px) {
|
||||
.top-row {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.top-row ::deep a, .top-row ::deep .btn-link {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 641px) {
|
||||
.page {
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
width: 250px;
|
||||
height: 100vh;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.top-row {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.top-row.auth ::deep a:first-child {
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.top-row, article {
|
||||
padding-left: 2rem !important;
|
||||
padding-right: 1.5rem !important;
|
||||
}
|
||||
}
|
27
Components/Layout/NavMenu.razor
Normal file
27
Components/Layout/NavMenu.razor
Normal file
|
@ -0,0 +1,27 @@
|
|||
<div class="top-row ps-3 navbar navbar-dark">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="">Neighbourhood.omg.lol</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="checkbox" title="Navigation menu" class="navbar-toggler" />
|
||||
|
||||
<div class="nav-scrollable" onclick="document.querySelector('.navbar-toggler').click()">
|
||||
<nav class="flex-column">
|
||||
<div class="nav-item px-3">
|
||||
<NavLink class="nav-link" href="" Match="NavLinkMatch.All">
|
||||
<span class="bi bi-house-door-fill-nav-menu" aria-hidden="true"></span> Home
|
||||
</NavLink>
|
||||
</div>
|
||||
<div class="nav-item px-3">
|
||||
<NavLink class="nav-link" href="counter">
|
||||
<span class="bi bi-plus-square-fill-nav-menu" aria-hidden="true"></span> Counter
|
||||
</NavLink>
|
||||
</div>
|
||||
<div class="nav-item px-3">
|
||||
<NavLink class="nav-link" href="/statuslog/latest">
|
||||
<span class="bi bi-list-nested-nav-menu" aria-hidden="true"></span> Latest Statuses
|
||||
</NavLink>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
101
Components/Layout/NavMenu.razor.css
Normal file
101
Components/Layout/NavMenu.razor.css
Normal file
|
@ -0,0 +1,101 @@
|
|||
.navbar-toggler {
|
||||
appearance: none;
|
||||
cursor: pointer;
|
||||
width: 3.5rem;
|
||||
height: 2.5rem;
|
||||
color: white;
|
||||
position: absolute;
|
||||
top: 0.5rem;
|
||||
right: 1rem;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.navbar-toggler:checked {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
.top-row {
|
||||
height: 3.5rem;
|
||||
background-color: rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.bi {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 1.25rem;
|
||||
height: 1.25rem;
|
||||
margin-right: 0.75rem;
|
||||
top: -1px;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.bi-house-door-fill-nav-menu {
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
|
||||
}
|
||||
|
||||
.bi-plus-square-fill-nav-menu {
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
|
||||
}
|
||||
|
||||
.bi-list-nested-nav-menu {
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
font-size: 0.9rem;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.nav-item:first-of-type {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
.nav-item:last-of-type {
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.nav-item ::deep a {
|
||||
color: #d7d7d7;
|
||||
border-radius: 4px;
|
||||
height: 3rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
line-height: 3rem;
|
||||
}
|
||||
|
||||
.nav-item ::deep a.active {
|
||||
background-color: rgba(255,255,255,0.37);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.nav-item ::deep a:hover {
|
||||
background-color: rgba(255,255,255,0.1);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.nav-scrollable {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.navbar-toggler:checked ~ .nav-scrollable {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@media (min-width: 641px) {
|
||||
.navbar-toggler {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav-scrollable {
|
||||
/* Never collapse the sidebar for wide screens */
|
||||
display: block;
|
||||
/* Allow sidebar to scroll for tall menus */
|
||||
height: calc(100vh - 3.5rem);
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
16
Components/Pages/Counter.razor
Normal file
16
Components/Pages/Counter.razor
Normal file
|
@ -0,0 +1,16 @@
|
|||
@page "/counter"
|
||||
|
||||
<h1>Counter</h1>
|
||||
|
||||
<p role="status">Current count: @currentCount</p>
|
||||
|
||||
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
|
||||
|
||||
@code {
|
||||
private int currentCount = 0;
|
||||
|
||||
private void IncrementCount()
|
||||
{
|
||||
currentCount++;
|
||||
}
|
||||
}
|
5
Components/Pages/Home.razor
Normal file
5
Components/Pages/Home.razor
Normal file
|
@ -0,0 +1,5 @@
|
|||
@page "/"
|
||||
|
||||
<h1>Hello, lol!</h1>
|
||||
|
||||
Welcome to your new app.
|
49
Components/Pages/Person.razor
Normal file
49
Components/Pages/Person.razor
Normal file
|
@ -0,0 +1,49 @@
|
|||
@page "/person/{Address}"
|
||||
<h3><i class="fa-solid fa-fw fa-at"></i>@Address</h3>
|
||||
|
||||
<img class="pfp" src="https://profiles.cache.lol/@Address/picture" alt="@Address" />
|
||||
|
||||
@if (statuses == null) {
|
||||
<p><em>Loading...</em></p>
|
||||
}
|
||||
else {
|
||||
<div id="bio">
|
||||
@bio
|
||||
</div>
|
||||
<div id="statuses">
|
||||
@foreach (var status in statuses) {
|
||||
<article class="status">
|
||||
<aside class="emoji">
|
||||
@status.Emoji
|
||||
</aside>
|
||||
<p class="author">
|
||||
<a href="/person/@status.Address">
|
||||
<i class="fa-solid fa-fw fa-at"></i>@status.Address
|
||||
</a>
|
||||
</p>
|
||||
@status.HtmlContent
|
||||
<small class="post-info">
|
||||
<i class="fa fa-clock"></i> @status.RelativeTime
|
||||
@if (!string.IsNullOrEmpty(status.ExternalUrl)) {
|
||||
<i class="fa fa-message-dots"></i>
|
||||
<a href="@status.ExternalUrl">Respond</a>
|
||||
}
|
||||
</small>
|
||||
</article>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
||||
@code {
|
||||
[Parameter]
|
||||
public string Address { get; set; }
|
||||
|
||||
private Status[]? statuses;
|
||||
private MarkupString bio;
|
||||
|
||||
protected override async Task OnInitializedAsync() {
|
||||
RestService api = new RestService();
|
||||
statuses = (await api.Statuslog(Address)).ToArray();
|
||||
bio = await api.StatuslogBio(Address);
|
||||
}
|
||||
}
|
46
Components/Pages/StatuslogLatest.razor
Normal file
46
Components/Pages/StatuslogLatest.razor
Normal file
|
@ -0,0 +1,46 @@
|
|||
@page "/statuslog/latest"
|
||||
|
||||
<h3>Statuses</h3>
|
||||
|
||||
<p>This component demonstrates showing data from the omg.lol API.</p>
|
||||
|
||||
@if (statuses == null)
|
||||
{
|
||||
<p><em>Loading...</em></p>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div id="statuses">
|
||||
@foreach (var status in statuses) {
|
||||
<article class="status">
|
||||
<aside class="emoji">
|
||||
@status.Emoji
|
||||
</aside>
|
||||
<p class="author">
|
||||
<a href="/person/@status.Address">
|
||||
<i class="fa-solid fa-fw fa-at"></i>@status.Address
|
||||
</a>
|
||||
</p>
|
||||
@status.HtmlContent
|
||||
<small class="post-info">
|
||||
<i class="fa fa-clock"></i> @status.RelativeTime
|
||||
@if(!string.IsNullOrEmpty(status.ExternalUrl)) {
|
||||
<i class="fa fa-message-dots"></i>
|
||||
<a href="@status.ExternalUrl">Respond</a>
|
||||
}
|
||||
</small>
|
||||
</article>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
||||
@code {
|
||||
|
||||
private Status[]? statuses;
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
RestService api = new RestService();
|
||||
statuses = (await api.StatuslogLatest()).ToArray();
|
||||
}
|
||||
}
|
61
Components/Pages/Weather.razor
Normal file
61
Components/Pages/Weather.razor
Normal file
|
@ -0,0 +1,61 @@
|
|||
@page "/weather"
|
||||
|
||||
<h1>Weather</h1>
|
||||
|
||||
<p>This component demonstrates showing data.</p>
|
||||
|
||||
@if (forecasts == null)
|
||||
{
|
||||
<p><em>Loading...</em></p>
|
||||
}
|
||||
else
|
||||
{
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>Temp. (C)</th>
|
||||
<th>Temp. (F)</th>
|
||||
<th>Summary</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var forecast in forecasts)
|
||||
{
|
||||
<tr>
|
||||
<td>@forecast.Date.ToShortDateString()</td>
|
||||
<td>@forecast.TemperatureC</td>
|
||||
<td>@forecast.TemperatureF</td>
|
||||
<td>@forecast.Summary</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
}
|
||||
|
||||
@code {
|
||||
private WeatherForecast[]? forecasts;
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
// Simulate asynchronous loading to demonstrate a loading indicator
|
||||
await Task.Delay(500);
|
||||
|
||||
var startDate = DateOnly.FromDateTime(DateTime.Now);
|
||||
var summaries = new[] { "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" };
|
||||
forecasts = Enumerable.Range(1, 5).Select(index => new WeatherForecast
|
||||
{
|
||||
Date = startDate.AddDays(index),
|
||||
TemperatureC = Random.Shared.Next(-20, 55),
|
||||
Summary = summaries[Random.Shared.Next(summaries.Length)]
|
||||
}).ToArray();
|
||||
}
|
||||
|
||||
private class WeatherForecast
|
||||
{
|
||||
public DateOnly Date { get; set; }
|
||||
public int TemperatureC { get; set; }
|
||||
public string? Summary { get; set; }
|
||||
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
|
||||
}
|
||||
}
|
6
Components/Routes.razor
Normal file
6
Components/Routes.razor
Normal file
|
@ -0,0 +1,6 @@
|
|||
<Router AppAssembly="@typeof(MauiProgram).Assembly">
|
||||
<Found Context="routeData">
|
||||
<RouteView RouteData="@routeData" DefaultLayout="@typeof(Layout.MainLayout)" />
|
||||
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
|
||||
</Found>
|
||||
</Router>
|
11
Components/_Imports.razor
Normal file
11
Components/_Imports.razor
Normal file
|
@ -0,0 +1,11 @@
|
|||
@using System.Net.Http
|
||||
@using System.Net.Http.Json
|
||||
@using Microsoft.AspNetCore.Components.Forms
|
||||
@using Microsoft.AspNetCore.Components.Routing
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
@using Microsoft.AspNetCore.Components.Web.Virtualization
|
||||
@using Microsoft.JSInterop
|
||||
@using Neighbourhood.omg.lol
|
||||
@using Neighbourhood.omg.lol.Components
|
||||
@using Neighbourhood.omg.lol.Models
|
||||
@using Markdig
|
14
MainPage.xaml
Normal file
14
MainPage.xaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:Neighbourhood.omg.lol"
|
||||
x:Class="Neighbourhood.omg.lol.MainPage"
|
||||
BackgroundColor="{DynamicResource PageBackgroundColor}">
|
||||
|
||||
<BlazorWebView x:Name="blazorWebView" HostPage="wwwroot/index.html">
|
||||
<BlazorWebView.RootComponents>
|
||||
<RootComponent Selector="#app" ComponentType="{x:Type local:Components.Routes}" />
|
||||
</BlazorWebView.RootComponents>
|
||||
</BlazorWebView>
|
||||
|
||||
</ContentPage>
|
7
MainPage.xaml.cs
Normal file
7
MainPage.xaml.cs
Normal file
|
@ -0,0 +1,7 @@
|
|||
namespace Neighbourhood.omg.lol {
|
||||
public partial class MainPage : ContentPage {
|
||||
public MainPage() {
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
23
MauiProgram.cs
Normal file
23
MauiProgram.cs
Normal file
|
@ -0,0 +1,23 @@
|
|||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Neighbourhood.omg.lol {
|
||||
public static class MauiProgram {
|
||||
public static MauiApp CreateMauiApp() {
|
||||
var builder = MauiApp.CreateBuilder();
|
||||
builder
|
||||
.UseMauiApp<App>()
|
||||
.ConfigureFonts(fonts => {
|
||||
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
|
||||
});
|
||||
|
||||
builder.Services.AddMauiBlazorWebView();
|
||||
|
||||
#if DEBUG
|
||||
builder.Services.AddBlazorWebViewDeveloperTools();
|
||||
builder.Logging.AddDebug();
|
||||
#endif
|
||||
|
||||
return builder.Build();
|
||||
}
|
||||
}
|
||||
}
|
5
Models/IOmgLolResponseData.cs
Normal file
5
Models/IOmgLolResponseData.cs
Normal file
|
@ -0,0 +1,5 @@
|
|||
namespace Neighbourhood.omg.lol.Models {
|
||||
public interface IOmgLolResponseData {
|
||||
string Message { get; set; }
|
||||
}
|
||||
}
|
6
Models/OmgLolRequestData.cs
Normal file
6
Models/OmgLolRequestData.cs
Normal file
|
@ -0,0 +1,6 @@
|
|||
namespace Neighbourhood.omg.lol.Models {
|
||||
public class OmgLolRequestData {
|
||||
public int StatusCode { get; set; }
|
||||
public bool Success { get; set; }
|
||||
}
|
||||
}
|
6
Models/OmgLolResponse.cs
Normal file
6
Models/OmgLolResponse.cs
Normal file
|
@ -0,0 +1,6 @@
|
|||
namespace Neighbourhood.omg.lol.Models {
|
||||
public class OmgLolResponse<TResponseData> where TResponseData : IOmgLolResponseData {
|
||||
public OmgLolRequestData Request { get; set; }
|
||||
public TResponseData Response { get; set; }
|
||||
}
|
||||
}
|
35
Models/Status.cs
Normal file
35
Models/Status.cs
Normal file
|
@ -0,0 +1,35 @@
|
|||
using Markdig;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace Neighbourhood.omg.lol.Models {
|
||||
public class Status {
|
||||
public string Id { get; set; }
|
||||
public string Address { get; set; }
|
||||
public string Created { get; set; }
|
||||
public string RelativeTime { get; set; }
|
||||
public string Emoji { get; set; }
|
||||
public string Background { get; set; }
|
||||
public string Content { get; set; }
|
||||
public string RenderedMarkdown { get; set; }
|
||||
public string ExternalUrl { get; set; }
|
||||
|
||||
public MarkupString HtmlContent {
|
||||
get {
|
||||
if(!string.IsNullOrEmpty(RenderedMarkdown)) return (MarkupString)RenderedMarkdown;
|
||||
else return (MarkupString)Markdown.ToHtml(Content);
|
||||
}
|
||||
}
|
||||
|
||||
public string Url {
|
||||
get {
|
||||
return $"https://status.lol/{Address}/{Id}";
|
||||
}
|
||||
}
|
||||
|
||||
public string UserUrl {
|
||||
get {
|
||||
return $"https://status.lol/{Address}";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
14
Models/StatusBioResponseData.cs
Normal file
14
Models/StatusBioResponseData.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Neighbourhood.omg.lol.Models {
|
||||
public class StatusBioResponseData : IOmgLolResponseData {
|
||||
public string Message { get; set; }
|
||||
public string Bio { get; set; }
|
||||
public string Css { get; set; }
|
||||
public string Head { get; set; }
|
||||
}
|
||||
}
|
12
Models/StatusResponseData.cs
Normal file
12
Models/StatusResponseData.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Neighbourhood.omg.lol.Models {
|
||||
public class StatusResponseData : IOmgLolResponseData {
|
||||
public string Message { get; set; }
|
||||
public List<Status> Statuses { get; set; }
|
||||
}
|
||||
}
|
69
Neighbourhood.omg.lol.csproj
Normal file
69
Neighbourhood.omg.lol.csproj
Normal file
|
@ -0,0 +1,69 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
|
||||
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
|
||||
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
|
||||
<!-- <TargetFrameworks>$(TargetFrameworks);net8.0-tizen</TargetFrameworks> -->
|
||||
|
||||
<!-- Note for MacCatalyst:
|
||||
The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
|
||||
When specifying both architectures, use the plural <RuntimeIdentifiers> instead of the singular <RuntimeIdentifier>.
|
||||
The Mac App Store will NOT accept apps with ONLY maccatalyst-arm64 indicated;
|
||||
either BOTH runtimes must be indicated or ONLY macatalyst-x64. -->
|
||||
<!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> -->
|
||||
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>Neighbourhood.omg.lol</RootNamespace>
|
||||
<UseMaui>true</UseMaui>
|
||||
<SingleProject>true</SingleProject>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<EnableDefaultCssItems>false</EnableDefaultCssItems>
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
<!-- Display name -->
|
||||
<ApplicationTitle>Neighbourhood.omg.lol</ApplicationTitle>
|
||||
|
||||
<!-- App Identifier -->
|
||||
<ApplicationId>com.companyname.neighbourhood.omg.lol</ApplicationId>
|
||||
|
||||
<!-- Versions -->
|
||||
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
|
||||
<ApplicationVersion>1</ApplicationVersion>
|
||||
|
||||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion>
|
||||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion>
|
||||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">24.0</SupportedOSPlatformVersion>
|
||||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
|
||||
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
|
||||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- App Icon -->
|
||||
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />
|
||||
|
||||
<!-- Splash Screen -->
|
||||
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />
|
||||
|
||||
<!-- Images -->
|
||||
<MauiImage Include="Resources\Images\*" />
|
||||
<MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" />
|
||||
|
||||
<!-- Custom Fonts -->
|
||||
<MauiFont Include="Resources\Fonts\*" />
|
||||
|
||||
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
|
||||
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Humanizer.Core" Version="2.14.1" />
|
||||
<PackageReference Include="Markdig" Version="0.37.0" />
|
||||
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
|
||||
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="$(MauiVersion)" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
27
Neighbourhood.omg.lol.sln
Normal file
27
Neighbourhood.omg.lol.sln
Normal file
|
@ -0,0 +1,27 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.9.34723.18
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Neighbourhood.omg.lol", "Neighbourhood.omg.lol.csproj", "{2BE26809-B570-41B5-B177-E990FD814E24}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{2BE26809-B570-41B5-B177-E990FD814E24}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2BE26809-B570-41B5-B177-E990FD814E24}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2BE26809-B570-41B5-B177-E990FD814E24}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
|
||||
{2BE26809-B570-41B5-B177-E990FD814E24}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2BE26809-B570-41B5-B177-E990FD814E24}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2BE26809-B570-41B5-B177-E990FD814E24}.Release|Any CPU.Deploy.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {EE360A90-7A78-4AB5-B96D-FDA6CDD3EAFE}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
6
Platforms/Android/AndroidManifest.xml
Normal file
6
Platforms/Android/AndroidManifest.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<application android:allowBackup="true" android:icon="@mipmap/appicon" android:roundIcon="@mipmap/appicon_round" android:supportsRtl="true"></application>
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
</manifest>
|
9
Platforms/Android/MainActivity.cs
Normal file
9
Platforms/Android/MainActivity.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
using Android.App;
|
||||
using Android.Content.PM;
|
||||
using Android.OS;
|
||||
|
||||
namespace Neighbourhood.omg.lol {
|
||||
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
|
||||
public class MainActivity : MauiAppCompatActivity {
|
||||
}
|
||||
}
|
13
Platforms/Android/MainApplication.cs
Normal file
13
Platforms/Android/MainApplication.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using Android.App;
|
||||
using Android.Runtime;
|
||||
|
||||
namespace Neighbourhood.omg.lol {
|
||||
[Application]
|
||||
public class MainApplication : MauiApplication {
|
||||
public MainApplication(IntPtr handle, JniHandleOwnership ownership)
|
||||
: base(handle, ownership) {
|
||||
}
|
||||
|
||||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
|
||||
}
|
||||
}
|
6
Platforms/Android/Resources/values/colors.xml
Normal file
6
Platforms/Android/Resources/values/colors.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#512BD4</color>
|
||||
<color name="colorPrimaryDark">#2B0B98</color>
|
||||
<color name="colorAccent">#2B0B98</color>
|
||||
</resources>
|
8
Platforms/MacCatalyst/AppDelegate.cs
Normal file
8
Platforms/MacCatalyst/AppDelegate.cs
Normal file
|
@ -0,0 +1,8 @@
|
|||
using Foundation;
|
||||
|
||||
namespace Neighbourhood.omg.lol {
|
||||
[Register("AppDelegate")]
|
||||
public class AppDelegate : MauiUIApplicationDelegate {
|
||||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
|
||||
}
|
||||
}
|
14
Platforms/MacCatalyst/Entitlements.plist
Normal file
14
Platforms/MacCatalyst/Entitlements.plist
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<!-- See https://aka.ms/maui-publish-app-store#add-entitlements for more information about adding entitlements.-->
|
||||
<dict>
|
||||
<!-- App Sandbox must be enabled to distribute a MacCatalyst app through the Mac App Store. -->
|
||||
<key>com.apple.security.app-sandbox</key>
|
||||
<true/>
|
||||
<!-- When App Sandbox is enabled, this value is required to open outgoing network connections. -->
|
||||
<key>com.apple.security.network.client</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
38
Platforms/MacCatalyst/Info.plist
Normal file
38
Platforms/MacCatalyst/Info.plist
Normal file
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<!-- The Mac App Store requires you specify if the app uses encryption. -->
|
||||
<!-- Please consult https://developer.apple.com/documentation/bundleresources/information_property_list/itsappusesnonexemptencryption -->
|
||||
<!-- <key>ITSAppUsesNonExemptEncryption</key> -->
|
||||
<!-- Please indicate <true/> or <false/> here. -->
|
||||
|
||||
<!-- Specify the category for your app here. -->
|
||||
<!-- Please consult https://developer.apple.com/documentation/bundleresources/information_property_list/lsapplicationcategorytype -->
|
||||
<!-- <key>LSApplicationCategoryType</key> -->
|
||||
<!-- <string>public.app-category.YOUR-CATEGORY-HERE</string> -->
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>XSAppIconAssets</key>
|
||||
<string>Assets.xcassets/appicon.appiconset</string>
|
||||
</dict>
|
||||
</plist>
|
13
Platforms/MacCatalyst/Program.cs
Normal file
13
Platforms/MacCatalyst/Program.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using ObjCRuntime;
|
||||
using UIKit;
|
||||
|
||||
namespace Neighbourhood.omg.lol {
|
||||
public class Program {
|
||||
// This is the main entry point of the application.
|
||||
static void Main(string[] args) {
|
||||
// if you want to use a different Application Delegate class from "AppDelegate"
|
||||
// you can specify it here.
|
||||
UIApplication.Main(args, null, typeof(AppDelegate));
|
||||
}
|
||||
}
|
||||
}
|
14
Platforms/Tizen/Main.cs
Normal file
14
Platforms/Tizen/Main.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
using Microsoft.Maui;
|
||||
using Microsoft.Maui.Hosting;
|
||||
using System;
|
||||
|
||||
namespace Neighbourhood.omg.lol {
|
||||
internal class Program : MauiApplication {
|
||||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
|
||||
|
||||
static void Main(string[] args) {
|
||||
var app = new Program();
|
||||
app.Run(args);
|
||||
}
|
||||
}
|
||||
}
|
15
Platforms/Tizen/tizen-manifest.xml
Normal file
15
Platforms/Tizen/tizen-manifest.xml
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest package="maui-application-id-placeholder" version="0.0.0" api-version="8" xmlns="http://tizen.org/ns/packages">
|
||||
<profile name="common" />
|
||||
<ui-application appid="maui-application-id-placeholder" exec="Neighbourhood.omg.lol.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single">
|
||||
<label>maui-application-title-placeholder</label>
|
||||
<icon>maui-appicon-placeholder</icon>
|
||||
<metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="true" />
|
||||
</ui-application>
|
||||
<shortcut-list />
|
||||
<privileges>
|
||||
<privilege>http://tizen.org/privilege/internet</privilege>
|
||||
</privileges>
|
||||
<dependencies />
|
||||
<provides-appdefined-privileges />
|
||||
</manifest>
|
8
Platforms/Windows/App.xaml
Normal file
8
Platforms/Windows/App.xaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<maui:MauiWinUIApplication
|
||||
x:Class="Neighbourhood.omg.lol.WinUI.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:maui="using:Microsoft.Maui"
|
||||
xmlns:local="using:Neighbourhood.omg.lol.WinUI">
|
||||
|
||||
</maui:MauiWinUIApplication>
|
22
Platforms/Windows/App.xaml.cs
Normal file
22
Platforms/Windows/App.xaml.cs
Normal file
|
@ -0,0 +1,22 @@
|
|||
using Microsoft.UI.Xaml;
|
||||
|
||||
// To learn more about WinUI, the WinUI project structure,
|
||||
// and more about our project templates, see: http://aka.ms/winui-project-info.
|
||||
|
||||
namespace Neighbourhood.omg.lol.WinUI {
|
||||
/// <summary>
|
||||
/// Provides application-specific behavior to supplement the default Application class.
|
||||
/// </summary>
|
||||
public partial class App : MauiWinUIApplication {
|
||||
/// <summary>
|
||||
/// Initializes the singleton application object. This is the first line of authored code
|
||||
/// executed, and as such is the logical equivalent of main() or WinMain().
|
||||
/// </summary>
|
||||
public App() {
|
||||
this.InitializeComponent();
|
||||
}
|
||||
|
||||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
|
||||
}
|
||||
|
||||
}
|
46
Platforms/Windows/Package.appxmanifest
Normal file
46
Platforms/Windows/Package.appxmanifest
Normal file
|
@ -0,0 +1,46 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Package
|
||||
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
|
||||
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
|
||||
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
|
||||
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
|
||||
IgnorableNamespaces="uap rescap">
|
||||
|
||||
<Identity Name="maui-package-name-placeholder" Publisher="CN=User Name" Version="0.0.0.0" />
|
||||
|
||||
<mp:PhoneIdentity PhoneProductId="E2EA5E43-4A1E-4AC2-9529-A64902CCF624" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||
|
||||
<Properties>
|
||||
<DisplayName>$placeholder$</DisplayName>
|
||||
<PublisherDisplayName>User Name</PublisherDisplayName>
|
||||
<Logo>$placeholder$.png</Logo>
|
||||
</Properties>
|
||||
|
||||
<Dependencies>
|
||||
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
|
||||
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
|
||||
</Dependencies>
|
||||
|
||||
<Resources>
|
||||
<Resource Language="x-generate" />
|
||||
</Resources>
|
||||
|
||||
<Applications>
|
||||
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="$targetentrypoint$">
|
||||
<uap:VisualElements
|
||||
DisplayName="$placeholder$"
|
||||
Description="$placeholder$"
|
||||
Square150x150Logo="$placeholder$.png"
|
||||
Square44x44Logo="$placeholder$.png"
|
||||
BackgroundColor="transparent">
|
||||
<uap:DefaultTile Square71x71Logo="$placeholder$.png" Wide310x150Logo="$placeholder$.png" Square310x310Logo="$placeholder$.png" />
|
||||
<uap:SplashScreen Image="$placeholder$.png" />
|
||||
</uap:VisualElements>
|
||||
</Application>
|
||||
</Applications>
|
||||
|
||||
<Capabilities>
|
||||
<rescap:Capability Name="runFullTrust" />
|
||||
</Capabilities>
|
||||
|
||||
</Package>
|
15
Platforms/Windows/app.manifest
Normal file
15
Platforms/Windows/app.manifest
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<assemblyIdentity version="1.0.0.0" name="Neighbourhood.omg.lol.WinUI.app"/>
|
||||
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<!-- The combination of below two tags have the following effect:
|
||||
1) Per-Monitor for >= Windows 10 Anniversary Update
|
||||
2) System < Windows 10 Anniversary Update
|
||||
-->
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
</assembly>
|
8
Platforms/iOS/AppDelegate.cs
Normal file
8
Platforms/iOS/AppDelegate.cs
Normal file
|
@ -0,0 +1,8 @@
|
|||
using Foundation;
|
||||
|
||||
namespace Neighbourhood.omg.lol {
|
||||
[Register("AppDelegate")]
|
||||
public class AppDelegate : MauiUIApplicationDelegate {
|
||||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
|
||||
}
|
||||
}
|
32
Platforms/iOS/Info.plist
Normal file
32
Platforms/iOS/Info.plist
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>XSAppIconAssets</key>
|
||||
<string>Assets.xcassets/appicon.appiconset</string>
|
||||
</dict>
|
||||
</plist>
|
13
Platforms/iOS/Program.cs
Normal file
13
Platforms/iOS/Program.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using ObjCRuntime;
|
||||
using UIKit;
|
||||
|
||||
namespace Neighbourhood.omg.lol {
|
||||
public class Program {
|
||||
// This is the main entry point of the application.
|
||||
static void Main(string[] args) {
|
||||
// if you want to use a different Application Delegate class from "AppDelegate"
|
||||
// you can specify it here.
|
||||
UIApplication.Main(args, null, typeof(AppDelegate));
|
||||
}
|
||||
}
|
||||
}
|
8
Properties/launchSettings.json
Normal file
8
Properties/launchSettings.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"profiles": {
|
||||
"Windows Machine": {
|
||||
"commandName": "MsixPackage",
|
||||
"nativeDebugging": false
|
||||
}
|
||||
}
|
||||
}
|
4
Resources/AppIcon/appicon.svg
Normal file
4
Resources/AppIcon/appicon.svg
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="456" height="456" viewBox="0 0 456 456" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="0" y="0" width="456" height="456" fill="#512BD4" />
|
||||
</svg>
|
After Width: | Height: | Size: 228 B |
8
Resources/AppIcon/appiconfg.svg
Normal file
8
Resources/AppIcon/appiconfg.svg
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="456" height="456" viewBox="0 0 456 456" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
||||
<path d="m 105.50037,281.60863 c -2.70293,0 -5.00091,-0.90042 -6.893127,-2.70209 -1.892214,-1.84778 -2.837901,-4.04181 -2.837901,-6.58209 0,-2.58722 0.945687,-4.80389 2.837901,-6.65167 1.892217,-1.84778 4.190197,-2.77167 6.893127,-2.77167 2.74819,0 5.06798,0.92389 6.96019,2.77167 1.93749,1.84778 2.90581,4.06445 2.90581,6.65167 0,2.54028 -0.96832,4.73431 -2.90581,6.58209 -1.89221,1.80167 -4.212,2.70209 -6.96019,2.70209 z" style="fill:#ffffff;fill-rule:nonzero;stroke-width:0.838376" />
|
||||
<path d="M 213.56111,280.08446 H 195.99044 L 149.69953,207.0544 c -1.17121,-1.84778 -2.14037,-3.76515 -2.90581,-5.75126 h -0.40578 c 0.36051,2.12528 0.54076,6.67515 0.54076,13.6496 v 65.13172 h -15.54349 v -99.36009 h 18.71925 l 44.7374,71.29798 c 1.89222,2.95695 3.1087,4.98917 3.64945,6.09751 h 0.26996 c -0.45021,-2.6325 -0.67573,-7.09015 -0.67573,-13.37293 v -64.02256 h 15.47557 z" style="fill:#ffffff;fill-rule:nonzero;stroke-width:0.838376" />
|
||||
<path d="m 289.25134,280.08446 h -54.40052 v -99.36009 h 52.23835 v 13.99669 h -36.15411 v 28.13085 h 33.31621 v 13.9271 h -33.31621 v 29.37835 h 38.31628 z" style="fill:#ffffff;fill-rule:nonzero;stroke-width:0.838376" />
|
||||
<path d="M 366.56466,194.72106 H 338.7222 v 85.3634 h -16.08423 v -85.3634 h -27.77455 v -13.99669 h 71.70124 z" style="fill:#ffffff;fill-rule:nonzero;stroke-width:0.838376" />
|
||||
</svg>
|
After Width: | Height: | Size: 1.8 KiB |
BIN
Resources/Fonts/OpenSans-Regular.ttf
Normal file
BIN
Resources/Fonts/OpenSans-Regular.ttf
Normal file
Binary file not shown.
93
Resources/Images/dotnet_bot.svg
Normal file
93
Resources/Images/dotnet_bot.svg
Normal file
|
@ -0,0 +1,93 @@
|
|||
<svg width="419" height="519" viewBox="0 0 419 519" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M284.432 247.568L284.004 221.881C316.359 221.335 340.356 211.735 355.308 193.336C382.408 159.996 372.893 108.183 372.786 107.659L398.013 102.831C398.505 105.432 409.797 167.017 375.237 209.53C355.276 234.093 324.719 246.894 284.432 247.568Z" fill="#8A6FE8"/>
|
||||
<path d="M331.954 109.36L361.826 134.245C367.145 138.676 375.055 137.959 379.497 132.639C383.928 127.32 383.211 119.41 377.891 114.969L348.019 90.0842C342.7 85.6531 334.79 86.3702 330.348 91.6896C325.917 97.0197 326.634 104.929 331.954 109.36Z" fill="#8A6FE8"/>
|
||||
<path d="M407.175 118.062L417.92 94.2263C420.735 87.858 417.856 80.4087 411.488 77.5831C405.12 74.7682 397.67 77.6473 394.845 84.0156L383.831 108.461L407.175 118.062Z" fill="#8A6FE8"/>
|
||||
<path d="M401.363 105.175L401.234 69.117C401.181 62.1493 395.498 56.541 388.53 56.5945C381.562 56.648 375.954 62.3313 376.007 69.2989L376.018 96.11L401.363 105.175Z" fill="#8A6FE8"/>
|
||||
<path d="M386.453 109.071L378.137 73.9548C376.543 67.169 369.757 62.9628 362.971 64.5575C356.185 66.1523 351.979 72.938 353.574 79.7237L362.04 115.482L386.453 109.071Z" fill="#8A6FE8"/>
|
||||
<path d="M381.776 142.261C396.359 142.261 408.181 130.44 408.181 115.857C408.181 101.274 396.359 89.4527 381.776 89.4527C367.194 89.4527 355.372 101.274 355.372 115.857C355.372 130.44 367.194 142.261 381.776 142.261Z" fill="url(#paint0_radial)"/>
|
||||
<path d="M248.267 406.979C248.513 384.727 245.345 339.561 222.376 301.736L199.922 315.372C220.76 349.675 222.323 389.715 221.841 407.182C221.798 408.627 235.263 409.933 248.267 406.979Z" fill="url(#paint1_linear)"/>
|
||||
<path d="M221.841 406.936L242.637 406.84L262.052 518.065L220.311 518.258C217.132 518.269 214.724 515.711 214.938 512.532L221.841 406.936Z" fill="#522CD5"/>
|
||||
<path d="M306.566 488.814C310.173 491.661 310.109 495.782 309.831 500.127L308.964 513.452C308.803 515.839 306.727 517.798 304.34 517.809L260.832 518.012C258.125 518.023 256.08 515.839 256.262 513.142L256.551 499.335C256.883 494.315 255.192 492.474 251.307 487.744C244.649 479.663 224.967 435.62 226.84 406.925L248.256 406.829C249.691 423.858 272.167 461.682 306.566 488.814Z" fill="url(#paint2_linear)"/>
|
||||
<path d="M309.82 500.127C310.023 497.088 310.077 494.176 308.889 491.715L254.635 491.961C256.134 494.166 256.765 496.092 256.562 499.314L256.273 513.121C256.091 515.828 258.146 518.012 260.843 517.99L304.34 517.798C306.727 517.787 308.803 515.828 308.964 513.442L309.82 500.127Z" fill="url(#paint3_radial)"/>
|
||||
<path d="M133.552 407.471C133.103 385.22 135.864 340.021 158.49 301.993L181.073 315.425C160.545 349.921 159.346 389.972 159.989 407.428C160.042 408.884 146.578 410.318 133.552 407.471Z" fill="url(#paint4_linear)"/>
|
||||
<path d="M110.798 497.152C110.765 494.187 111.204 491.575 112.457 487.23C131.882 434.132 133.52 407.364 133.52 407.364L159.999 407.246C159.999 407.246 161.819 433.512 181.716 486.427C183.289 490.195 183.471 493.641 183.674 496.831L183.792 513.816C183.803 516.374 181.716 518.483 179.158 518.494L177.873 518.504L116.781 518.782L115.496 518.793C112.927 518.804 110.83 516.728 110.819 514.159L110.798 497.152Z" fill="url(#paint5_linear)"/>
|
||||
<path d="M110.798 497.152C110.798 496.67 110.808 496.199 110.83 495.739C110.969 494.262 111.643 492.603 114.875 492.582L180.207 492.282C182.561 492.367 183.343 494.176 183.589 495.311C183.621 495.814 183.664 496.328 183.696 496.82L183.813 513.806C183.824 515.411 183.011 516.824 181.769 517.669C181.031 518.172 180.132 518.472 179.179 518.483L177.895 518.494L116.802 518.772L115.528 518.782C114.244 518.793 113.077 518.269 112.232 517.434C111.386 516.599 110.862 515.432 110.851 514.148L110.798 497.152Z" fill="url(#paint6_radial)"/>
|
||||
<path d="M314.979 246.348C324.162 210.407 318.008 181.777 318.008 181.777L326.452 181.734L326.656 181.574C314.262 115.75 256.326 66.0987 186.949 66.4198C108.796 66.773 45.7233 130.424 46.0765 208.577C46.4297 286.731 110.08 349.803 188.234 349.45C249.905 349.172 302.178 309.474 321.304 254.343C321.872 251.999 321.797 247.804 314.979 246.348Z" fill="url(#paint7_radial)"/>
|
||||
<path d="M310.237 279.035L65.877 280.148C71.3998 289.428 77.95 298.012 85.3672 305.761L290.972 304.829C298.336 297.005 304.8 288.368 310.237 279.035Z" fill="#D8CFF7"/>
|
||||
<path d="M235.062 312.794L280.924 312.585L280.74 272.021L234.877 272.23L235.062 312.794Z" fill="#512BD4"/>
|
||||
<path d="M243.001 297.626C242.691 297.626 242.434 297.53 242.22 297.327C242.006 297.123 241.899 296.866 241.899 296.588C241.899 296.299 242.006 296.042 242.22 295.839C242.434 295.625 242.691 295.528 243.001 295.528C243.312 295.528 243.568 295.635 243.782 295.839C243.996 296.042 244.114 296.299 244.114 296.588C244.114 296.877 244.007 297.123 243.793 297.327C243.568 297.519 243.312 297.626 243.001 297.626Z" fill="white"/>
|
||||
<path d="M255.192 297.434H253.212L247.967 289.203C247.839 289 247.721 288.775 247.636 288.55H247.593C247.636 288.786 247.657 289.299 247.657 290.091L247.668 297.444H245.912L245.891 286.228H247.999L253.062 294.265C253.276 294.597 253.415 294.833 253.479 294.95H253.511C253.458 294.651 253.437 294.148 253.437 293.441L253.426 286.217H255.17L255.192 297.434Z" fill="white"/>
|
||||
<path d="M263.733 297.412L257.589 297.423L257.568 286.206L263.465 286.195V287.779L259.387 287.79L259.398 290.969L263.155 290.958V292.532L259.398 292.542L259.409 295.86L263.733 295.85V297.412Z" fill="white"/>
|
||||
<path d="M272.445 287.758L269.298 287.769L269.32 297.401H267.5L267.479 287.769L264.343 287.779V286.195L272.434 286.174L272.445 287.758Z" fill="white"/>
|
||||
<path d="M315.279 246.337C324.355 210.836 318.457 182.483 318.308 181.798L171.484 182.462C171.484 182.462 162.226 181.563 162.268 190.018C162.311 198.463 162.761 222.341 162.878 248.746C162.9 254.172 167.363 256.773 170.863 256.751C170.874 256.751 311.618 252.213 315.279 246.337Z" fill="url(#paint8_radial)"/>
|
||||
<path d="M227.685 246.798C227.685 246.798 250.183 228.827 254.571 225.499C258.959 222.17 262.812 221.977 266.869 225.445C270.925 228.913 293.616 246.498 293.616 246.498L227.685 246.798Z" fill="#A08BE8"/>
|
||||
<path d="M320.748 256.141C320.748 256.141 324.943 248.414 315.279 246.348C315.289 246.305 170.927 246.894 170.927 246.894C167.566 246.905 163.232 244.925 162.846 241.671C162.857 244.004 162.878 246.369 162.889 248.756C162.91 253.68 166.582 256.27 169.878 256.698C170.21 256.73 170.542 256.773 170.874 256.773L180.742 256.73L320.748 256.141Z" fill="#512BD4"/>
|
||||
<path d="M206.4 233.214C212.511 233.095 217.302 224.667 217.102 214.39C216.901 204.112 211.785 195.878 205.674 195.997C199.563 196.116 194.772 204.544 194.973 214.821C195.173 225.099 200.289 233.333 206.4 233.214Z" fill="#512BD4"/>
|
||||
<path d="M306.249 214.267C306.356 203.989 301.488 195.605 295.377 195.541C289.266 195.478 284.225 203.758 284.118 214.037C284.011 224.315 288.878 232.699 294.99 232.763C301.101 232.826 306.142 224.545 306.249 214.267Z" fill="#512BD4"/>
|
||||
<path d="M205.905 205.291C208.152 203.022 211.192 202.016 214.157 202.262C215.912 205.495 217.014 209.733 217.111 214.389C217.164 217.3 216.811 220.04 216.158 222.513C212.669 223.519 208.752 222.662 205.979 219.922C201.912 215.909 201.88 209.348 205.905 205.291Z" fill="#8065E0"/>
|
||||
<path d="M294.996 204.285C297.255 202.016 300.294 200.999 303.259 201.256C305.164 204.628 306.309 209.209 306.256 214.239C306.224 216.808 305.892 219.259 305.303 221.485C301.793 222.523 297.843 221.678 295.061 218.916C291.004 214.892 290.972 208.342 294.996 204.285Z" fill="#8065E0"/>
|
||||
<path d="M11.6342 357.017C10.9171 354.716 -5.72611 300.141 21.3204 258.903C36.9468 235.078 63.3083 221.035 99.6664 217.15L102.449 243.276C74.3431 246.273 54.4676 256.345 43.3579 273.202C23.0971 303.941 36.5722 348.733 36.7113 349.183L11.6342 357.017Z" fill="url(#paint9_linear)"/>
|
||||
<path d="M95.1498 252.802C109.502 252.802 121.137 241.167 121.137 226.815C121.137 212.463 109.502 200.828 95.1498 200.828C80.7976 200.828 69.1628 212.463 69.1628 226.815C69.1628 241.167 80.7976 252.802 95.1498 252.802Z" fill="url(#paint10_radial)"/>
|
||||
<path d="M72.0098 334.434L33.4683 329.307C26.597 328.397 20.2929 333.214 19.3725 340.085C18.4627 346.956 23.279 353.26 30.1504 354.181L68.6919 359.308C75.5632 360.217 81.8673 355.401 82.7878 348.53C83.6975 341.658 78.8705 335.344 72.0098 334.434Z" fill="#8A6FE8"/>
|
||||
<path d="M3.73535 367.185L7.35297 393.076C8.36975 399.968 14.7702 404.731 21.6629 403.725C28.5556 402.708 33.3185 396.308 32.3124 389.415L28.5984 362.861L3.73535 367.185Z" fill="#8A6FE8"/>
|
||||
<path d="M15.5194 374.988L34.849 405.427C38.6058 411.292 46.4082 413.005 52.2735 409.248C58.1387 405.491 59.8512 397.689 56.0945 391.823L41.7953 369.144L15.5194 374.988Z" fill="#8A6FE8"/>
|
||||
<path d="M26.0511 363.739L51.8026 389.019C56.7688 393.911 64.7532 393.846 69.6445 388.88C74.5358 383.914 74.4715 375.929 69.516 371.038L43.2937 345.297L26.0511 363.739Z" fill="#8A6FE8"/>
|
||||
<path d="M26.4043 381.912C40.987 381.912 52.8086 370.091 52.8086 355.508C52.8086 340.925 40.987 329.104 26.4043 329.104C11.8216 329.104 0 340.925 0 355.508C0 370.091 11.8216 381.912 26.4043 381.912Z" fill="url(#paint11_radial)"/>
|
||||
<path d="M184.73 63.6308L157.819 66.5892L158.561 38.5412L177.888 36.4178L184.73 63.6308Z" fill="#8A6FE8"/>
|
||||
<path d="M170.018 41.647C180.455 39.521 187.193 29.3363 185.067 18.8988C182.941 8.46126 172.757 1.72345 162.319 3.84944C151.882 5.97543 145.144 16.1601 147.27 26.5976C149.396 37.0351 159.58 43.773 170.018 41.647Z" fill="#D8CFF7"/>
|
||||
<path d="M196.885 79.385C198.102 79.2464 198.948 78.091 198.684 76.8997C195.851 64.2818 183.923 55.5375 170.773 56.9926C157.622 58.4371 147.886 69.5735 147.865 82.4995C147.863 83.7232 148.949 84.6597 150.168 84.5316L196.885 79.385Z" fill="url(#paint12_radial)"/>
|
||||
<defs>
|
||||
<radialGradient id="paint0_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(382.004 103.457) scale(26.4058)">
|
||||
<stop stop-color="#8065E0"/>
|
||||
<stop offset="1" stop-color="#512BD4"/>
|
||||
</radialGradient>
|
||||
<linearGradient id="paint1_linear" x1="214.439" y1="303.482" x2="236.702" y2="409.505" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#522CD5"/>
|
||||
<stop offset="0.4397" stop-color="#8A6FE8"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear" x1="231.673" y1="404.144" x2="297.805" y2="522.048" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#522CD5"/>
|
||||
<stop offset="0.4397" stop-color="#8A6FE8"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="paint3_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(280.957 469.555) rotate(-0.260742) scale(45.8326)">
|
||||
<stop offset="0.034" stop-color="#522CD5"/>
|
||||
<stop offset="0.9955" stop-color="#8A6FE8"/>
|
||||
</radialGradient>
|
||||
<linearGradient id="paint4_linear" x1="166.061" y1="303.491" x2="144.763" y2="409.709" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#522CD5"/>
|
||||
<stop offset="0.4397" stop-color="#8A6FE8"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint5_linear" x1="146.739" y1="407.302" x2="147.246" y2="518.627" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#522CD5"/>
|
||||
<stop offset="0.4397" stop-color="#8A6FE8"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="paint6_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(148.63 470.023) rotate(179.739) scale(50.2476)">
|
||||
<stop offset="0.034" stop-color="#522CD5"/>
|
||||
<stop offset="0.9955" stop-color="#8A6FE8"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint7_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(219.219 153.929) rotate(179.739) scale(140.935)">
|
||||
<stop offset="0.4744" stop-color="#A08BE8"/>
|
||||
<stop offset="0.8618" stop-color="#8065E0"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint8_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(314.861 158.738) rotate(179.739) scale(146.053)">
|
||||
<stop offset="0.0933" stop-color="#E1DFDD"/>
|
||||
<stop offset="0.6573" stop-color="white"/>
|
||||
</radialGradient>
|
||||
<linearGradient id="paint9_linear" x1="54.1846" y1="217.159" x2="54.1846" y2="357.022" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.3344" stop-color="#9780E6"/>
|
||||
<stop offset="0.8488" stop-color="#8A6FE8"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="paint10_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(90.3494 218.071) rotate(-0.260742) scale(25.9924)">
|
||||
<stop stop-color="#8065E0"/>
|
||||
<stop offset="1" stop-color="#512BD4"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint11_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(25.805 345.043) scale(26.4106)">
|
||||
<stop stop-color="#8065E0"/>
|
||||
<stop offset="1" stop-color="#512BD4"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint12_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(169.113 67.3662) rotate(-32.2025) scale(21.0773)">
|
||||
<stop stop-color="#8065E0"/>
|
||||
<stop offset="1" stop-color="#512BD4"/>
|
||||
</radialGradient>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 12 KiB |
15
Resources/Raw/AboutAssets.txt
Normal file
15
Resources/Raw/AboutAssets.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
Any raw assets you want to be deployed with your application can be placed in
|
||||
this directory (and child directories). Deployment of the asset to your application
|
||||
is automatically handled by the following `MauiAsset` Build Action within your `.csproj`.
|
||||
|
||||
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
|
||||
|
||||
These files will be deployed with you package and will be accessible using Essentials:
|
||||
|
||||
async Task LoadMauiAsset()
|
||||
{
|
||||
using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt");
|
||||
using var reader = new StreamReader(stream);
|
||||
|
||||
var contents = reader.ReadToEnd();
|
||||
}
|
8
Resources/Splash/splash.svg
Normal file
8
Resources/Splash/splash.svg
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="456" height="456" viewBox="0 0 456 456" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
||||
<path d="m 105.50037,281.60863 c -2.70293,0 -5.00091,-0.90042 -6.893127,-2.70209 -1.892214,-1.84778 -2.837901,-4.04181 -2.837901,-6.58209 0,-2.58722 0.945687,-4.80389 2.837901,-6.65167 1.892217,-1.84778 4.190197,-2.77167 6.893127,-2.77167 2.74819,0 5.06798,0.92389 6.96019,2.77167 1.93749,1.84778 2.90581,4.06445 2.90581,6.65167 0,2.54028 -0.96832,4.73431 -2.90581,6.58209 -1.89221,1.80167 -4.212,2.70209 -6.96019,2.70209 z" style="fill:#ffffff;fill-rule:nonzero;stroke-width:0.838376" />
|
||||
<path d="M 213.56111,280.08446 H 195.99044 L 149.69953,207.0544 c -1.17121,-1.84778 -2.14037,-3.76515 -2.90581,-5.75126 h -0.40578 c 0.36051,2.12528 0.54076,6.67515 0.54076,13.6496 v 65.13172 h -15.54349 v -99.36009 h 18.71925 l 44.7374,71.29798 c 1.89222,2.95695 3.1087,4.98917 3.64945,6.09751 h 0.26996 c -0.45021,-2.6325 -0.67573,-7.09015 -0.67573,-13.37293 v -64.02256 h 15.47557 z" style="fill:#ffffff;fill-rule:nonzero;stroke-width:0.838376" />
|
||||
<path d="m 289.25134,280.08446 h -54.40052 v -99.36009 h 52.23835 v 13.99669 h -36.15411 v 28.13085 h 33.31621 v 13.9271 h -33.31621 v 29.37835 h 38.31628 z" style="fill:#ffffff;fill-rule:nonzero;stroke-width:0.838376" />
|
||||
<path d="M 366.56466,194.72106 H 338.7222 v 85.3634 h -16.08423 v -85.3634 h -27.77455 v -13.99669 h 71.70124 z" style="fill:#ffffff;fill-rule:nonzero;stroke-width:0.838376" />
|
||||
</svg>
|
After Width: | Height: | Size: 1.8 KiB |
59
RestService.cs
Normal file
59
RestService.cs
Normal file
|
@ -0,0 +1,59 @@
|
|||
using Markdig;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Neighbourhood.omg.lol.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Net.Http.Json;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Neighbourhood.omg.lol {
|
||||
public class RestService {
|
||||
HttpClient _client;
|
||||
JsonSerializerOptions _serializerOptions;
|
||||
|
||||
public RestService() {
|
||||
_client = new HttpClient();
|
||||
_serializerOptions = new JsonSerializerOptions {
|
||||
PropertyNamingPolicy = JsonNamingPolicy.SnakeCaseLower,
|
||||
WriteIndented = true
|
||||
};
|
||||
}
|
||||
|
||||
private async Task<T?> GetResponse<T>(Uri uri) where T:IOmgLolResponseData {
|
||||
T? responseData = default(T);
|
||||
try {
|
||||
HttpResponseMessage response = await _client.GetAsync(uri);
|
||||
if (response.IsSuccessStatusCode) {
|
||||
OmgLolResponse<T>? responseObj = await response.Content.ReadFromJsonAsync<OmgLolResponse<T>>(_serializerOptions);
|
||||
if (responseObj != null && responseObj.Request.Success) {
|
||||
responseData = responseObj.Response;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex) {
|
||||
Debug.WriteLine(@"\tERROR {0}", ex.Message);
|
||||
}
|
||||
|
||||
return responseData;
|
||||
}
|
||||
|
||||
public async Task<List<Status>> StatuslogLatest() {
|
||||
Uri uri = new Uri("https://api.omg.lol/statuslog/latest");
|
||||
return (await GetResponse<StatusResponseData>(uri))?.Statuses ?? new List<Status>();
|
||||
}
|
||||
|
||||
public async Task<List<Status>> Statuslog(string address) {
|
||||
Uri uri = new Uri($"https://api.omg.lol/address/{address}/statuses");
|
||||
return (await GetResponse<StatusResponseData>(uri))?.Statuses ?? new List<Status>();
|
||||
}
|
||||
|
||||
public async Task<MarkupString> StatuslogBio(string address) {
|
||||
Uri uri = new Uri($"https://api.omg.lol/address/{address}/statuses/bio");
|
||||
return (MarkupString)Markdown.ToHtml((await GetResponse<StatusBioResponseData>(uri))?.Bio ?? "");
|
||||
}
|
||||
}
|
||||
}
|
137
wwwroot/css/app.css
Normal file
137
wwwroot/css/app.css
Normal file
|
@ -0,0 +1,137 @@
|
|||
@import url('/css/lol/type.css');
|
||||
@import url('/css/lol/color.css');
|
||||
@import url('/css/lol/prism.css');
|
||||
|
||||
html, body {
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
a, .btn-link {
|
||||
color: #006bb7;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
color: #fff;
|
||||
background-color: #1b6ec2;
|
||||
border-color: #1861ac;
|
||||
}
|
||||
|
||||
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
|
||||
box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding-top: 1.1rem;
|
||||
}
|
||||
|
||||
h1:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.valid.modified:not([type=checkbox]) {
|
||||
outline: 1px solid #26b050;
|
||||
}
|
||||
|
||||
.invalid {
|
||||
outline: 1px solid #e50000;
|
||||
}
|
||||
|
||||
.validation-message {
|
||||
color: #e50000;
|
||||
}
|
||||
|
||||
#blazor-error-ui {
|
||||
background: lightyellow;
|
||||
bottom: 0;
|
||||
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
|
||||
display: none;
|
||||
left: 0;
|
||||
padding: 0.6rem 1.25rem 0.7rem 1.25rem;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
#blazor-error-ui .dismiss {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
right: 0.75rem;
|
||||
top: 0.5rem;
|
||||
}
|
||||
|
||||
.blazor-error-boundary {
|
||||
background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
|
||||
padding: 1rem 1rem 1rem 3.7rem;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.blazor-error-boundary::after {
|
||||
content: "An error has occurred."
|
||||
}
|
||||
|
||||
.status-bar-safe-area {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@supports (-webkit-touch-callout: none) {
|
||||
.status-bar-safe-area {
|
||||
display: flex;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
height: env(safe-area-inset-top);
|
||||
background-color: #f7f7f7;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.flex-column, .navbar-brand {
|
||||
padding-left: env(safe-area-inset-left);
|
||||
}
|
||||
}
|
||||
|
||||
#statuses {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
position: relative;
|
||||
max-width: 100%;
|
||||
margin: 1rem;
|
||||
}
|
||||
|
||||
.status {
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
display: block;
|
||||
border: 1px solid grey;
|
||||
border-radius: 1rem;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.status .emoji {
|
||||
float:left;
|
||||
font-size: 3em;
|
||||
height: 100%;
|
||||
margin-right: 1rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.status p {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
word-wrap: normal;
|
||||
}
|
||||
|
||||
.author {
|
||||
font-family: 'VC Honey Deck';
|
||||
color: inherit;
|
||||
font-size: 1.2em;
|
||||
margin: 0;
|
||||
}
|
||||
.author a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.author i {
|
||||
font-size: 80%;
|
||||
}
|
7
wwwroot/css/bootstrap/bootstrap.min.css
vendored
Normal file
7
wwwroot/css/bootstrap/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
wwwroot/css/bootstrap/bootstrap.min.css.map
Normal file
1
wwwroot/css/bootstrap/bootstrap.min.css.map
Normal file
File diff suppressed because one or more lines are too long
373
wwwroot/css/lol/color.css
Normal file
373
wwwroot/css/lol/color.css
Normal file
|
@ -0,0 +1,373 @@
|
|||
:root {
|
||||
--white: #ffffff;
|
||||
--black: #000000;
|
||||
--gray-0: #f8f9fa;
|
||||
--gray-1: #f1f3f5;
|
||||
--gray-2: #e9ecef;
|
||||
--gray-3: #dee2e6;
|
||||
--gray-4: #ced4da;
|
||||
--gray-5: #adb5bd;
|
||||
--gray-6: #868e96;
|
||||
--gray-7: #495057;
|
||||
--gray-8: #343a40;
|
||||
--gray-9: #212529;
|
||||
--red-0: #fff5f5;
|
||||
--red-1: #ffe3e3;
|
||||
--red-2: #ffc9c9;
|
||||
--red-3: #ffa8a8;
|
||||
--red-4: #ff8787;
|
||||
--red-5: #ff6b6b;
|
||||
--red-6: #fa5252;
|
||||
--red-7: #f03e3e;
|
||||
--red-8: #e03131;
|
||||
--red-9: #c92a2a;
|
||||
--pink-0: #fff0f6;
|
||||
--pink-1: #ffdeeb;
|
||||
--pink-2: #fcc2d7;
|
||||
--pink-3: #faa2c1;
|
||||
--pink-4: #f783ac;
|
||||
--pink-5: #f06595;
|
||||
--pink-6: #e64980;
|
||||
--pink-7: #d6336c;
|
||||
--pink-8: #c2255c;
|
||||
--pink-9: #a61e4d;
|
||||
--grape-0: #f8f0fc;
|
||||
--grape-1: #f3d9fa;
|
||||
--grape-2: #eebefa;
|
||||
--grape-3: #e599f7;
|
||||
--grape-4: #da77f2;
|
||||
--grape-5: #cc5de8;
|
||||
--grape-6: #be4bdb;
|
||||
--grape-7: #ae3ec9;
|
||||
--grape-8: #9c36b5;
|
||||
--grape-9: #862e9c;
|
||||
--violet-0: #f3f0ff;
|
||||
--violet-1: #e5dbff;
|
||||
--violet-2: #d0bfff;
|
||||
--violet-3: #b197fc;
|
||||
--violet-4: #9775fa;
|
||||
--violet-5: #845ef7;
|
||||
--violet-6: #7950f2;
|
||||
--violet-7: #7048e8;
|
||||
--violet-8: #6741d9;
|
||||
--violet-9: #5f3dc4;
|
||||
--indigo-0: #edf2ff;
|
||||
--indigo-1: #dbe4ff;
|
||||
--indigo-2: #bac8ff;
|
||||
--indigo-3: #91a7ff;
|
||||
--indigo-4: #748ffc;
|
||||
--indigo-5: #5c7cfa;
|
||||
--indigo-6: #4c6ef5;
|
||||
--indigo-7: #4263eb;
|
||||
--indigo-8: #3b5bdb;
|
||||
--indigo-9: #364fc7;
|
||||
--blue-0: #e7f5ff;
|
||||
--blue-1: #d0ebff;
|
||||
--blue-2: #a5d8ff;
|
||||
--blue-3: #74c0fc;
|
||||
--blue-4: #4dabf7;
|
||||
--blue-5: #339af0;
|
||||
--blue-6: #228be6;
|
||||
--blue-7: #1c7ed6;
|
||||
--blue-8: #1971c2;
|
||||
--blue-9: #1864ab;
|
||||
--cyan-0: #e3fafc;
|
||||
--cyan-1: #c5f6fa;
|
||||
--cyan-2: #99e9f2;
|
||||
--cyan-3: #66d9e8;
|
||||
--cyan-4: #3bc9db;
|
||||
--cyan-5: #22b8cf;
|
||||
--cyan-6: #15aabf;
|
||||
--cyan-7: #1098ad;
|
||||
--cyan-8: #0c8599;
|
||||
--cyan-9: #0b7285;
|
||||
--teal-0: #e6fcf5;
|
||||
--teal-1: #c3fae8;
|
||||
--teal-2: #96f2d7;
|
||||
--teal-3: #63e6be;
|
||||
--teal-4: #38d9a9;
|
||||
--teal-5: #20c997;
|
||||
--teal-6: #12b886;
|
||||
--teal-7: #0ca678;
|
||||
--teal-8: #099268;
|
||||
--teal-9: #087f5b;
|
||||
--green-0: #ebfbee;
|
||||
--green-1: #d3f9d8;
|
||||
--green-2: #b2f2bb;
|
||||
--green-3: #8ce99a;
|
||||
--green-4: #69db7c;
|
||||
--green-5: #51cf66;
|
||||
--green-6: #40c057;
|
||||
--green-7: #37b24d;
|
||||
--green-8: #2f9e44;
|
||||
--green-9: #2b8a3e;
|
||||
--lime-0: #f4fce3;
|
||||
--lime-1: #e9fac8;
|
||||
--lime-2: #d8f5a2;
|
||||
--lime-3: #c0eb75;
|
||||
--lime-4: #a9e34b;
|
||||
--lime-5: #94d82d;
|
||||
--lime-6: #82c91e;
|
||||
--lime-7: #74b816;
|
||||
--lime-8: #66a80f;
|
||||
--lime-9: #5c940d;
|
||||
--yellow-0: #fff9db;
|
||||
--yellow-1: #fff3bf;
|
||||
--yellow-2: #ffec99;
|
||||
--yellow-3: #ffe066;
|
||||
--yellow-4: #ffd43b;
|
||||
--yellow-5: #fcc419;
|
||||
--yellow-6: #fab005;
|
||||
--yellow-7: #f59f00;
|
||||
--yellow-8: #f08c00;
|
||||
--yellow-9: #e67700;
|
||||
--orange-0: #fff4e6;
|
||||
--orange-1: #ffe8cc;
|
||||
--orange-2: #ffd8a8;
|
||||
--orange-3: #ffc078;
|
||||
--orange-4: #ffa94d;
|
||||
--orange-5: #ff922b;
|
||||
--orange-6: #fd7e14;
|
||||
--orange-7: #f76707;
|
||||
--orange-8: #e8590c;
|
||||
--orange-9: #d9480f;
|
||||
}
|
||||
|
||||
.white-fg { color: var(--white) !important; }
|
||||
.white-bg { background: var(--white) !important; }
|
||||
.black-fg { color: var(--black) !important; }
|
||||
.black-bg { background: var(--black) !important; }
|
||||
.gray-1-fg { color: var(--gray-1) !important; }
|
||||
.gray-2-fg { color: var(--gray-2) !important; }
|
||||
.gray-3-fg { color: var(--gray-3) !important; }
|
||||
.gray-4-fg { color: var(--gray-4) !important; }
|
||||
.gray-5-fg { color: var(--gray-5) !important; }
|
||||
.gray-6-fg { color: var(--gray-6) !important; }
|
||||
.gray-7-fg { color: var(--gray-7) !important; }
|
||||
.gray-8-fg { color: var(--gray-8) !important; }
|
||||
.gray-9-fg { color: var(--gray-9) !important; }
|
||||
.gray-1-bg { background: var(--gray-1) !important; }
|
||||
.gray-2-bg { background: var(--gray-2) !important; }
|
||||
.gray-3-bg { background: var(--gray-3) !important; }
|
||||
.gray-4-bg { background: var(--gray-4) !important; }
|
||||
.gray-5-bg { background: var(--gray-5) !important; }
|
||||
.gray-6-bg { background: var(--gray-6) !important; }
|
||||
.gray-7-bg { background: var(--gray-7) !important; }
|
||||
.gray-8-bg { background: var(--gray-8) !important; }
|
||||
.gray-9-bg { background: var(--gray-9) !important; }
|
||||
.red-1-fg { color: var(--red-1) !important; }
|
||||
.red-2-fg { color: var(--red-2) !important; }
|
||||
.red-3-fg { color: var(--red-3) !important; }
|
||||
.red-4-fg { color: var(--red-4) !important; }
|
||||
.red-5-fg { color: var(--red-5) !important; }
|
||||
.red-6-fg { color: var(--red-6) !important; }
|
||||
.red-7-fg { color: var(--red-7) !important; }
|
||||
.red-8-fg { color: var(--red-8) !important; }
|
||||
.red-9-fg { color: var(--red-9) !important; }
|
||||
.red-1-bg { background: var(--red-1) !important; }
|
||||
.red-2-bg { background: var(--red-2) !important; }
|
||||
.red-3-bg { background: var(--red-3) !important; }
|
||||
.red-4-bg { background: var(--red-4) !important; }
|
||||
.red-5-bg { background: var(--red-5) !important; }
|
||||
.red-6-bg { background: var(--red-6) !important; }
|
||||
.red-7-bg { background: var(--red-7) !important; }
|
||||
.red-8-bg { background: var(--red-8) !important; }
|
||||
.red-9-bg { background: var(--red-9) !important; }
|
||||
.pink-1-fg { color: var(--pink-1) !important; }
|
||||
.pink-2-fg { color: var(--pink-2) !important; }
|
||||
.pink-3-fg { color: var(--pink-3) !important; }
|
||||
.pink-4-fg { color: var(--pink-4) !important; }
|
||||
.pink-5-fg { color: var(--pink-5) !important; }
|
||||
.pink-6-fg { color: var(--pink-6) !important; }
|
||||
.pink-7-fg { color: var(--pink-7) !important; }
|
||||
.pink-8-fg { color: var(--pink-8) !important; }
|
||||
.pink-9-fg { color: var(--pink-9) !important; }
|
||||
.pink-1-bg { background: var(--pink-1) !important; }
|
||||
.pink-2-bg { background: var(--pink-2) !important; }
|
||||
.pink-3-bg { background: var(--pink-3) !important; }
|
||||
.pink-4-bg { background: var(--pink-4) !important; }
|
||||
.pink-5-bg { background: var(--pink-5) !important; }
|
||||
.pink-6-bg { background: var(--pink-6) !important; }
|
||||
.pink-7-bg { background: var(--pink-7) !important; }
|
||||
.pink-8-bg { background: var(--pink-8) !important; }
|
||||
.pink-9-bg { background: var(--pink-9) !important; }
|
||||
.grape-1-fg { color: var(--grape-1) !important; }
|
||||
.grape-2-fg { color: var(--grape-2) !important; }
|
||||
.grape-3-fg { color: var(--grape-3) !important; }
|
||||
.grape-4-fg { color: var(--grape-4) !important; }
|
||||
.grape-5-fg { color: var(--grape-5) !important; }
|
||||
.grape-6-fg { color: var(--grape-6) !important; }
|
||||
.grape-7-fg { color: var(--grape-7) !important; }
|
||||
.grape-8-fg { color: var(--grape-8) !important; }
|
||||
.grape-9-fg { color: var(--grape-9) !important; }
|
||||
.grape-1-bg { background: var(--grape-1) !important; }
|
||||
.grape-2-bg { background: var(--grape-2) !important; }
|
||||
.grape-3-bg { background: var(--grape-3) !important; }
|
||||
.grape-4-bg { background: var(--grape-4) !important; }
|
||||
.grape-5-bg { background: var(--grape-5) !important; }
|
||||
.grape-6-bg { background: var(--grape-6) !important; }
|
||||
.grape-7-bg { background: var(--grape-7) !important; }
|
||||
.grape-8-bg { background: var(--grape-8) !important; }
|
||||
.grape-9-bg { background: var(--grape-9) !important; }
|
||||
.violet-1-fg { color: var(--violet-1) !important; }
|
||||
.violet-2-fg { color: var(--violet-2) !important; }
|
||||
.violet-3-fg { color: var(--violet-3) !important; }
|
||||
.violet-4-fg { color: var(--violet-4) !important; }
|
||||
.violet-5-fg { color: var(--violet-5) !important; }
|
||||
.violet-6-fg { color: var(--violet-6) !important; }
|
||||
.violet-7-fg { color: var(--violet-7) !important; }
|
||||
.violet-8-fg { color: var(--violet-8) !important; }
|
||||
.violet-9-fg { color: var(--violet-9) !important; }
|
||||
.violet-1-bg { background: var(--violet-1) !important; }
|
||||
.violet-2-bg { background: var(--violet-2) !important; }
|
||||
.violet-3-bg { background: var(--violet-3) !important; }
|
||||
.violet-4-bg { background: var(--violet-4) !important; }
|
||||
.violet-5-bg { background: var(--violet-5) !important; }
|
||||
.violet-6-bg { background: var(--violet-6) !important; }
|
||||
.violet-7-bg { background: var(--violet-7) !important; }
|
||||
.violet-8-bg { background: var(--violet-8) !important; }
|
||||
.violet-9-bg { background: var(--violet-9) !important; }
|
||||
.indigo-1-fg { color: var(--indigo-1) !important; }
|
||||
.indigo-2-fg { color: var(--indigo-2) !important; }
|
||||
.indigo-3-fg { color: var(--indigo-3) !important; }
|
||||
.indigo-4-fg { color: var(--indigo-4) !important; }
|
||||
.indigo-5-fg { color: var(--indigo-5) !important; }
|
||||
.indigo-6-fg { color: var(--indigo-6) !important; }
|
||||
.indigo-7-fg { color: var(--indigo-7) !important; }
|
||||
.indigo-8-fg { color: var(--indigo-8) !important; }
|
||||
.indigo-9-fg { color: var(--indigo-9) !important; }
|
||||
.indigo-1-bg { background: var(--indigo-1) !important; }
|
||||
.indigo-2-bg { background: var(--indigo-2) !important; }
|
||||
.indigo-3-bg { background: var(--indigo-3) !important; }
|
||||
.indigo-4-bg { background: var(--indigo-4) !important; }
|
||||
.indigo-5-bg { background: var(--indigo-5) !important; }
|
||||
.indigo-6-bg { background: var(--indigo-6) !important; }
|
||||
.indigo-7-bg { background: var(--indigo-7) !important; }
|
||||
.indigo-8-bg { background: var(--indigo-8) !important; }
|
||||
.indigo-9-bg { background: var(--indigo-9) !important; }
|
||||
.blue-1-fg { color: var(--blue-1) !important; }
|
||||
.blue-2-fg { color: var(--blue-2) !important; }
|
||||
.blue-3-fg { color: var(--blue-3) !important; }
|
||||
.blue-4-fg { color: var(--blue-4) !important; }
|
||||
.blue-5-fg { color: var(--blue-5) !important; }
|
||||
.blue-6-fg { color: var(--blue-6) !important; }
|
||||
.blue-7-fg { color: var(--blue-7) !important; }
|
||||
.blue-8-fg { color: var(--blue-8) !important; }
|
||||
.blue-9-fg { color: var(--blue-9) !important; }
|
||||
.blue-1-bg { background: var(--blue-1) !important; }
|
||||
.blue-2-bg { background: var(--blue-2) !important; }
|
||||
.blue-3-bg { background: var(--blue-3) !important; }
|
||||
.blue-4-bg { background: var(--blue-4) !important; }
|
||||
.blue-5-bg { background: var(--blue-5) !important; }
|
||||
.blue-6-bg { background: var(--blue-6) !important; }
|
||||
.blue-7-bg { background: var(--blue-7) !important; }
|
||||
.blue-8-bg { background: var(--blue-8) !important; }
|
||||
.blue-9-bg { background: var(--blue-9) !important; }
|
||||
.cyan-1-fg { color: var(--cyan-1) !important; }
|
||||
.cyan-2-fg { color: var(--cyan-2) !important; }
|
||||
.cyan-3-fg { color: var(--cyan-3) !important; }
|
||||
.cyan-4-fg { color: var(--cyan-4) !important; }
|
||||
.cyan-5-fg { color: var(--cyan-5) !important; }
|
||||
.cyan-6-fg { color: var(--cyan-6) !important; }
|
||||
.cyan-7-fg { color: var(--cyan-7) !important; }
|
||||
.cyan-8-fg { color: var(--cyan-8) !important; }
|
||||
.cyan-9-fg { color: var(--cyan-9) !important; }
|
||||
.cyan-1-bg { background: var(--cyan-1) !important; }
|
||||
.cyan-2-bg { background: var(--cyan-2) !important; }
|
||||
.cyan-3-bg { background: var(--cyan-3) !important; }
|
||||
.cyan-4-bg { background: var(--cyan-4) !important; }
|
||||
.cyan-5-bg { background: var(--cyan-5) !important; }
|
||||
.cyan-6-bg { background: var(--cyan-6) !important; }
|
||||
.cyan-7-bg { background: var(--cyan-7) !important; }
|
||||
.cyan-8-bg { background: var(--cyan-8) !important; }
|
||||
.cyan-9-bg { background: var(--cyan-9) !important; }
|
||||
.teal-1-fg { color: var(--teal-1) !important; }
|
||||
.teal-2-fg { color: var(--teal-2) !important; }
|
||||
.teal-3-fg { color: var(--teal-3) !important; }
|
||||
.teal-4-fg { color: var(--teal-4) !important; }
|
||||
.teal-5-fg { color: var(--teal-5) !important; }
|
||||
.teal-6-fg { color: var(--teal-6) !important; }
|
||||
.teal-7-fg { color: var(--teal-7) !important; }
|
||||
.teal-8-fg { color: var(--teal-8) !important; }
|
||||
.teal-9-fg { color: var(--teal-9) !important; }
|
||||
.teal-1-bg { background: var(--teal-1) !important; }
|
||||
.teal-2-bg { background: var(--teal-2) !important; }
|
||||
.teal-3-bg { background: var(--teal-3) !important; }
|
||||
.teal-4-bg { background: var(--teal-4) !important; }
|
||||
.teal-5-bg { background: var(--teal-5) !important; }
|
||||
.teal-6-bg { background: var(--teal-6) !important; }
|
||||
.teal-7-bg { background: var(--teal-7) !important; }
|
||||
.teal-8-bg { background: var(--teal-8) !important; }
|
||||
.teal-9-bg { background: var(--teal-9) !important; }
|
||||
.green-1-fg { color: var(--green-1) !important; }
|
||||
.green-2-fg { color: var(--green-2) !important; }
|
||||
.green-3-fg { color: var(--green-3) !important; }
|
||||
.green-4-fg { color: var(--green-4) !important; }
|
||||
.green-5-fg { color: var(--green-5) !important; }
|
||||
.green-6-fg { color: var(--green-6) !important; }
|
||||
.green-7-fg { color: var(--green-7) !important; }
|
||||
.green-8-fg { color: var(--green-8) !important; }
|
||||
.green-9-fg { color: var(--green-9) !important; }
|
||||
.green-1-bg { background: var(--green-1) !important; }
|
||||
.green-2-bg { background: var(--green-2) !important; }
|
||||
.green-3-bg { background: var(--green-3) !important; }
|
||||
.green-4-bg { background: var(--green-4) !important; }
|
||||
.green-5-bg { background: var(--green-5) !important; }
|
||||
.green-6-bg { background: var(--green-6) !important; }
|
||||
.green-7-bg { background: var(--green-7) !important; }
|
||||
.green-8-bg { background: var(--green-8) !important; }
|
||||
.green-9-bg { background: var(--green-9) !important; }
|
||||
.lime-1-fg { color: var(--lime-1) !important; }
|
||||
.lime-2-fg { color: var(--lime-2) !important; }
|
||||
.lime-3-fg { color: var(--lime-3) !important; }
|
||||
.lime-4-fg { color: var(--lime-4) !important; }
|
||||
.lime-5-fg { color: var(--lime-5) !important; }
|
||||
.lime-6-fg { color: var(--lime-6) !important; }
|
||||
.lime-7-fg { color: var(--lime-7) !important; }
|
||||
.lime-8-fg { color: var(--lime-8) !important; }
|
||||
.lime-9-fg { color: var(--lime-9) !important; }
|
||||
.lime-1-bg { background: var(--lime-1) !important; }
|
||||
.lime-2-bg { background: var(--lime-2) !important; }
|
||||
.lime-3-bg { background: var(--lime-3) !important; }
|
||||
.lime-4-bg { background: var(--lime-4) !important; }
|
||||
.lime-5-bg { background: var(--lime-5) !important; }
|
||||
.lime-6-bg { background: var(--lime-6) !important; }
|
||||
.lime-7-bg { background: var(--lime-7) !important; }
|
||||
.lime-8-bg { background: var(--lime-8) !important; }
|
||||
.lime-9-bg { background: var(--lime-9) !important; }
|
||||
.yellow-1-fg { color: var(--yellow-1) !important; }
|
||||
.yellow-2-fg { color: var(--yellow-2) !important; }
|
||||
.yellow-3-fg { color: var(--yellow-3) !important; }
|
||||
.yellow-4-fg { color: var(--yellow-4) !important; }
|
||||
.yellow-5-fg { color: var(--yellow-5) !important; }
|
||||
.yellow-6-fg { color: var(--yellow-6) !important; }
|
||||
.yellow-7-fg { color: var(--yellow-7) !important; }
|
||||
.yellow-8-fg { color: var(--yellow-8) !important; }
|
||||
.yellow-9-fg { color: var(--yellow-9) !important; }
|
||||
.yellow-1-bg { background: var(--yellow-1) !important; }
|
||||
.yellow-2-bg { background: var(--yellow-2) !important; }
|
||||
.yellow-3-bg { background: var(--yellow-3) !important; }
|
||||
.yellow-4-bg { background: var(--yellow-4) !important; }
|
||||
.yellow-5-bg { background: var(--yellow-5) !important; }
|
||||
.yellow-6-bg { background: var(--yellow-6) !important; }
|
||||
.yellow-7-bg { background: var(--yellow-7) !important; }
|
||||
.yellow-8-bg { background: var(--yellow-8) !important; }
|
||||
.yellow-9-bg { background: var(--yellow-9) !important; }
|
||||
.orange-1-fg { color: var(--orange-1) !important; }
|
||||
.orange-2-fg { color: var(--orange-2) !important; }
|
||||
.orange-3-fg { color: var(--orange-3) !important; }
|
||||
.orange-4-fg { color: var(--orange-4) !important; }
|
||||
.orange-5-fg { color: var(--orange-5) !important; }
|
||||
.orange-6-fg { color: var(--orange-6) !important; }
|
||||
.orange-7-fg { color: var(--orange-7) !important; }
|
||||
.orange-8-fg { color: var(--orange-8) !important; }
|
||||
.orange-9-fg { color: var(--orange-9) !important; }
|
||||
.orange-1-bg { background: var(--orange-1) !important; }
|
||||
.orange-2-bg { background: var(--orange-2) !important; }
|
||||
.orange-3-bg { background: var(--orange-3) !important; }
|
||||
.orange-4-bg { background: var(--orange-4) !important; }
|
||||
.orange-5-bg { background: var(--orange-5) !important; }
|
||||
.orange-6-bg { background: var(--orange-6) !important; }
|
||||
.orange-7-bg { background: var(--orange-7) !important; }
|
||||
.orange-8-bg { background: var(--orange-8) !important; }
|
||||
.orange-9-bg { background: var(--orange-9) !important; }
|
157
wwwroot/css/lol/icons/omg.lol-glyphs.css
Normal file
157
wwwroot/css/lol/icons/omg.lol-glyphs.css
Normal file
|
@ -0,0 +1,157 @@
|
|||
.omg-anilist:before { content: "\e044"; }
|
||||
.omg-archiveofourown:before { content: "\e045"; }
|
||||
.omg-basic-attention-token:before { content: "\e046"; }
|
||||
.omg-bookshop:before { content: "\e047"; }
|
||||
.omg-buymeacoffee:before { content: "\e048"; }
|
||||
.omg-cash-app:before { content: "\e049"; }
|
||||
.omg-clarus:before { content: "\e061"; }
|
||||
.omg-clubhouse:before { content: "\e052"; }
|
||||
.omg-coindrop:before { content: "\e050"; }
|
||||
.omg-eyeem:before { content: "\e051"; }
|
||||
.omg-fastmail:before { content: "\e001"; }
|
||||
.omg-fediverse:before { content: "\e053"; }
|
||||
.omg-geotastic:before { content: "\e056"; }
|
||||
.omg-giphy:before { content: "\e002"; }
|
||||
.omg-gumroad:before { content: "\e003"; }
|
||||
.omg-hackerone:before { content: "\e004"; }
|
||||
.omg-hey:before { content: "\e054"; }
|
||||
.omg-honk:before { content: "\e005"; }
|
||||
.omg-instapaper:before { content: "\e055"; }
|
||||
.omg-keyoxide:before { content: "\e006"; }
|
||||
.omg-ko-fi:before { content: "\e060"; }
|
||||
.omg-liberapay:before { content: "\e008"; }
|
||||
.omg-lichess:before { content: "\e009"; }
|
||||
.omg-litecoin:before { content: "\e010"; }
|
||||
.omg-literal:before { content: "\e011"; }
|
||||
.omg-lobsters:before { content: "\e012"; }
|
||||
.omg-matrix:before { content: "\e013"; }
|
||||
.omg-mediawiki:before { content: "\e065"; }
|
||||
.omg-musicboard:before { content: "\e014"; }
|
||||
.omg-myanimelist:before { content: "\e015"; }
|
||||
.omg-ninegag:before { content: "\e043"; }
|
||||
.omg-nintendo-switch:before { content: "\e016"; }
|
||||
.omg-notion:before { content: "\e017"; }
|
||||
.omg-opensea:before { content: "\e018"; }
|
||||
.omg-osk:before { content: "\e019"; }
|
||||
.omg-osu:before { content: "\e057"; }
|
||||
.omg-pinboard:before { content: "\e020"; }
|
||||
.omg-plutonium:before { content: "\e021"; }
|
||||
.omg-polywork:before { content: "\e022"; }
|
||||
.omg-postype:before { content: "\e023"; }
|
||||
.omg-prami:before { content: "\e042"; }
|
||||
.omg-procreate:before { content: "\e059"; }
|
||||
.omg-pronounspage:before { content: "\e058"; }
|
||||
.omg-rainbow-me:before { content: "\e024"; }
|
||||
.omg-rarible:before { content: "\e025"; }
|
||||
.omg-ravencoin:before { content: "\e026"; }
|
||||
.omg-revue:before { content: "\e027"; }
|
||||
.omg-roblox:before { content: "\e028"; }
|
||||
.omg-session:before { content: "\e062"; }
|
||||
.omg-signal-app:before { content: "\e029"; }
|
||||
.omg-sourcehut:before { content: "\e066"; }
|
||||
.omg-spacehey:before { content: "\e030"; }
|
||||
.omg-spark-ar:before { content: "\e031"; }
|
||||
.omg-tetrio:before { content: "\e032"; }
|
||||
.omg-threema:before { content: "\e033"; }
|
||||
.omg-tinyletter:before { content: "\e034"; }
|
||||
.omg-toss:before { content: "\e035"; }
|
||||
.omg-venmo:before { content: "\e036"; }
|
||||
.omg-verified:before { content: "\e063"; }
|
||||
.omg-vero:before { content: "\e037"; }
|
||||
.omg-wattpad:before { content: "\e038"; }
|
||||
.omg-well:before { content: "\e039"; }
|
||||
.omg-wikimedia-community:before { content: "\e064"; }
|
||||
.omg-writeas:before { content: "\e040"; }
|
||||
.omg-xmpp:before { content: "\e041"; }
|
||||
.omg-codeberg:before { content: "\e073"; }
|
||||
.omg-sudomemo:before { content: "\e067"; }
|
||||
.omg-rate-your-music:before { content: "\e068"; }
|
||||
.omg-read-cv:before { content: "\e069"; }
|
||||
.omg-revolt:before { content: "\e070"; }
|
||||
.omg-vukky:before { content: "\e071"; }
|
||||
.omg-laker:before { content: "\e072"; }
|
||||
.omg-neatnik:before { content: "\e074"; }
|
||||
.omg-credly:before { content: "\e075"; }
|
||||
.omg-pixelfed:before { content: "\e076"; }
|
||||
.omg-passkey:before { content: "\e077"; }
|
||||
.omg-ecosia:before { content: "\e078"; }
|
||||
.omg-mltshp:before { content: "\e080"; }
|
||||
.omg-andycarolan:before { content: "\e081"; }
|
||||
.omg-cohost:before { content: "\e082"; }
|
||||
.omg-json-feed:before { content: "\e083"; }
|
||||
.omg-zioibi:before { content: "\e084"; }
|
||||
.omg-fandom:before { content: "\e085"; }
|
||||
.omg-tor:before { content: "\e086"; }
|
||||
.omg-niconico:before { content: "\e087"; }
|
||||
.omg-robb:before { content: "\e088"; }
|
||||
.omg-bunny-omg-lol:before { content: "\e089"; }
|
||||
.omg-prami-staff:before { content: "\e090"; }
|
||||
.omg-peertube:before { content: "\e091"; }
|
||||
.omg-trakt:before { content: "\e092"; }
|
||||
.omg-buttondown:before { content: "\e093"; }
|
||||
.omg-tellonym:before { content: "\e094"; }
|
||||
.omg-savvycal:before { content: "\e095"; }
|
||||
.omg-oku:before { content: "\e096"; }
|
||||
.omg-open-source-hardware:before { content: "\e097"; }
|
||||
.omg-bunny-net:before { content: "\e098"; }
|
||||
.omg-framework:before { content: "\e099"; }
|
||||
.omg-songish:before { content: "\e100"; }
|
||||
.omg-proven:before { content: "\e101"; }
|
||||
.omg-boardgamegeek:before { content: "\e102"; }
|
||||
.omg-home-assistant:before { content: "\e103"; }
|
||||
.omg-dreamwidth:before { content: "\e104"; }
|
||||
.omg-gog:before { content: "\e105"; }
|
||||
.omg-bananas:before { content: "\e106"; }
|
||||
.omg-banana:before { content: "\e107"; }
|
||||
.omg-banano:before { content: "\e108"; }
|
||||
.omg-vsco:before { content: "\e109"; }
|
||||
.omg-byemc:before { content: "\e110"; }
|
||||
.omg-lemmy:before { content: "\e111"; }
|
||||
.omg-bookwyrm:before { content: "\e112"; }
|
||||
.omg-funkwhale:before { content: "\e113"; }
|
||||
.omg-sarajoy:before { content: "\e114"; }
|
||||
.omg-discord-online:before { content: "\e115"; }
|
||||
.omg-discord-offline:before { content: "\e116"; }
|
||||
.omg-discord-idle:before { content: "\e117"; }
|
||||
.omg-discord-dnd:before { content: "\e118"; }
|
||||
.omg-atari:before { content: "\e120"; }
|
||||
.omg-kbin:before { content: "\e121"; }
|
||||
.omg-os2:before { content: "\e122"; }
|
||||
.omg-misskey:before { content: "\e123"; }
|
||||
.omg-x-com:before { content: "\e124"; }
|
||||
.omg-firefish:before { content: "\e125"; }
|
||||
.omg-creativepool:before { content: "\e126"; }
|
||||
.omg-pebble:before { content: "\e127"; }
|
||||
.omg-pokeball:before { content: "\e128"; }
|
||||
.omg-probably-blog:before { content: "\e129"; }
|
||||
.omg-probably-fm:before { content: "\e130"; }
|
||||
.omg-ooni:before { content: "\e131"; }
|
||||
.omg-nebula:before { content: "\e132"; }
|
||||
.omg-nuthatch:before { content: "\e133"; }
|
||||
.omg-bluesky:before { content: "\e134"; }
|
||||
.omg-playdate:before { content: "\e135"; }
|
||||
.omg-peloton:before { content: "\e136"; }
|
||||
.omg-eighteen-plus:before { content: "\e137"; }
|
||||
.omg-bento:before { content: "\e138"; }
|
||||
.omg-sewing-machine:before { content: "\e139"; }
|
||||
.omg-thread-needle:before { content: "\e140"; }
|
||||
.omg-thread-spool:before { content: "\e141"; }
|
||||
.omg-yarn-ball:before { content: "\e142"; }
|
||||
.omg-knitting-needle:before { content: "\e143"; }
|
||||
.omg-crochet-hook:before { content: "\e144"; }
|
||||
.omg-neovim:before { content: "\e145"; }
|
||||
.omg-statamic:before { content: "\e147"; }
|
||||
.omg-obsidian:before { content: "\e148"; }
|
||||
.omg-three-arrows:before { content: "\e149"; }
|
||||
.omg-onepassword:before { content: "\e150"; }
|
||||
.omg-daisydisk:before { content: "\e151"; }
|
||||
.omg-raycast:before { content: "\e152"; }
|
||||
.omg-arc-browser:before { content: "\e153"; }
|
||||
.omg-pro-tools:before { content: "\e154"; }
|
||||
.omg-bereal:before { content: "\e155"; }
|
||||
.omg-puzzmo:before { content: "\e156"; }
|
||||
.omg-joplin:before { content: "\e157"; }
|
||||
.omg-mahjong:before { content: "\e158"; }
|
||||
.omg-crunchyroll:before { content: "\e159"; }
|
||||
.omg-lego:before { content: "\e160"; }
|
||||
.omg-fediverse-alt:before { content: "\e161"; }
|
35
wwwroot/css/lol/icons/omg.lol-icons.css
Normal file
35
wwwroot/css/lol/icons/omg.lol-icons.css
Normal file
|
@ -0,0 +1,35 @@
|
|||
/* omg.lol Icon Type */
|
||||
|
||||
@import url('/css/lol/icons/omg.lol-glyphs.css');
|
||||
|
||||
@font-face {
|
||||
font-family: 'omg.lol Icons';
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
font-display: block;
|
||||
src: url('/css/lol/icons/omg.lol-icons.woff2') format('woff2');
|
||||
}
|
||||
|
||||
.omg-icon {
|
||||
font-family: 'omg.lol Icons';
|
||||
font-weight: 900;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
display: inline-block;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
line-height: 1;
|
||||
text-rendering: auto;
|
||||
}
|
||||
|
||||
.omg-li {
|
||||
left: calc(var(--omg-li-width, 2em) * -1);
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
width: var(--omg-li-width, 2em);
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
:root, :host {
|
||||
--omg-font-regular: normal 900 1em/1 'omg.lol Icons';
|
||||
}
|
BIN
wwwroot/css/lol/icons/omg.lol-icons.woff2
Normal file
BIN
wwwroot/css/lol/icons/omg.lol-icons.woff2
Normal file
Binary file not shown.
141
wwwroot/css/lol/prism.css
Normal file
141
wwwroot/css/lol/prism.css
Normal file
|
@ -0,0 +1,141 @@
|
|||
/* PrismJS 1.25.0
|
||||
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+markdown */
|
||||
/**
|
||||
* prism.js omg.lol theme for JavaScript, CSS and HTML
|
||||
* Based on Panic Dark
|
||||
* @author Neatnik
|
||||
*/
|
||||
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
color: #eee;
|
||||
background: none;
|
||||
font-family: 'MD IO 0.4';
|
||||
font-size: 1em;
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
word-spacing: normal;
|
||||
word-break: normal;
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
-moz-tab-size: 4;
|
||||
-o-tab-size: 4;
|
||||
tab-size: 4;
|
||||
-webkit-hyphens: none;
|
||||
-moz-hyphens: none;
|
||||
-ms-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
|
||||
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
|
||||
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
|
||||
code[class*="language-"]::selection, code[class*="language-"] ::selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
|
||||
@media print {
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Code blocks */
|
||||
pre[class*="language-"] {
|
||||
padding: 1em;
|
||||
margin: .5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
:not(pre) > code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
background: #1F2122;
|
||||
}
|
||||
|
||||
/* Inline code */
|
||||
:not(pre) > code[class*="language-"] {
|
||||
padding: .1em;
|
||||
border-radius: .3em;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.token.comment,
|
||||
.token.prolog,
|
||||
.token.doctype,
|
||||
.token.cdata {
|
||||
color: #667F99;
|
||||
}
|
||||
|
||||
.token.punctuation {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.token.namespace {
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
.token.property,
|
||||
.token.tag,
|
||||
.token.boolean,
|
||||
.token.constant,
|
||||
.token.symbol,
|
||||
.token.deleted {
|
||||
color: #CBA3F4;
|
||||
}
|
||||
|
||||
.token.number {
|
||||
color: #E4CE88;
|
||||
}
|
||||
|
||||
.token.selector,
|
||||
.token.attr-name,
|
||||
.token.string,
|
||||
.token.char,
|
||||
.token.builtin,
|
||||
.token.inserted {
|
||||
color: #FF8A7F;
|
||||
}
|
||||
|
||||
.token.operator,
|
||||
.token.entity,
|
||||
.token.url,
|
||||
.language-css .token.string,
|
||||
.style .token.string {
|
||||
color: #8CB2D8;
|
||||
}
|
||||
|
||||
.token.atrule,
|
||||
.token.attr-value,
|
||||
.token.keyword {
|
||||
color: #F4A3CC;
|
||||
}
|
||||
|
||||
.token.function,
|
||||
.token.class-name {
|
||||
color: #30E8AA;
|
||||
}
|
||||
|
||||
.token.regex,
|
||||
.token.important,
|
||||
.token.variable {
|
||||
color: #CBA3F4;
|
||||
}
|
||||
|
||||
.token.important,
|
||||
.token.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.token.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.token.entity {
|
||||
cursor: help;
|
||||
}
|
979
wwwroot/css/lol/style.css
Normal file
979
wwwroot/css/lol/style.css
Normal file
|
@ -0,0 +1,979 @@
|
|||
@import url('/css/lol/type.css');
|
||||
@import url('/css/lol/color.css');
|
||||
@import url('/css/lol/prism.css');
|
||||
|
||||
/* Foundational */
|
||||
|
||||
:root {
|
||||
--spacing: 1.5rem;
|
||||
--radius: .75em;
|
||||
--small-radius: .13em;
|
||||
--color: var(--white);
|
||||
--background: var(--gray-8);
|
||||
--shadow: var(--black);
|
||||
--button-shadow: var(--gray-7);
|
||||
}
|
||||
|
||||
*:focus:not(:focus-visible) {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 3px solid var(--yellow-5);
|
||||
outline-offset: 0;
|
||||
border-radius: var(--small-radius);
|
||||
}
|
||||
|
||||
*:active {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: var(--yellow-4);
|
||||
color: var(--gray-9);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* default (dark) */
|
||||
.dark-mode, body {
|
||||
background: var(--gray-8) !important;
|
||||
color: var(--gray-1) !important;
|
||||
|
||||
:root {
|
||||
--border: var(--gray-1);
|
||||
--background-border: var(--gray-8);
|
||||
}
|
||||
}
|
||||
|
||||
/* light */
|
||||
.light-mode {
|
||||
background: var(--gray-0) !important;
|
||||
color: var(--gray-8) !important;
|
||||
|
||||
:root {
|
||||
--border: var(--gray-8);
|
||||
--background-border: var(--gray-0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
body {
|
||||
background: var(--gray-1) !important;
|
||||
color: var(--gray-9) !important;
|
||||
}
|
||||
}
|
||||
|
||||
#color_mode_button:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
html {
|
||||
scrollbar-gutter: stable;
|
||||
-moz-text-size-adjust: none;
|
||||
-webkit-text-size-adjust: none;
|
||||
text-size-adjust: none;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--gray-8);
|
||||
color: var(--gray-1);
|
||||
font-family: 'Lato';
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
small {
|
||||
display: inline-block;
|
||||
line-height: 130%;
|
||||
}
|
||||
|
||||
.breakable {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
|
||||
#service-nav {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.dark-mode #service-nav {
|
||||
background: var(--black);
|
||||
color: var(--gray-1);
|
||||
}
|
||||
|
||||
.light-mode #service-nav {
|
||||
background: var(--blue-2);
|
||||
color: var(--gray-9);
|
||||
}
|
||||
|
||||
#service-nav ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#service-nav ul:after {
|
||||
content: " ";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#service-nav li {
|
||||
white-space: nowrap;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: inline;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#service-nav li i {
|
||||
margin-right: .18em;
|
||||
}
|
||||
|
||||
#service-nav li:after {
|
||||
font-family: "Font Awesome 6 Pro";
|
||||
font-weight: 900;
|
||||
content: '\f356';
|
||||
margin: 0 .5em 0 .75em;
|
||||
opacity: .3;
|
||||
}
|
||||
|
||||
#service-nav li:last-child:after, #service-nav li:nth-last-child(2):after {
|
||||
content: none;
|
||||
}
|
||||
|
||||
#service-nav li:last-child { /* Help nav item */
|
||||
float: right;
|
||||
display: block;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
#service-nav a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#service-nav span {
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
#service-nav span:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#service-info {
|
||||
display: none;
|
||||
font-size: 95%;
|
||||
padding-top: 1em;
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
|
||||
.dark-mode .dashboard { color: var(--blue-3); }
|
||||
.light-mode .dashboard { color: var(--blue-8); }
|
||||
|
||||
.dark-mode .default { background: var(--gray-8); color: var(--gray-1); }
|
||||
.light-mode .default { background: var(--gray-1); color: var(--gray-8); }
|
||||
|
||||
/* Decorative */
|
||||
|
||||
.info-hover {
|
||||
border-bottom: 1px dotted #000;
|
||||
}
|
||||
|
||||
.info-hover:hover {
|
||||
/*cursor: help;*/
|
||||
}
|
||||
|
||||
.debug {
|
||||
border: 1px dashed yellow;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 0;
|
||||
height: 0;
|
||||
margin: 1.5em 0;
|
||||
border-top: 1px solid var(--color);
|
||||
}
|
||||
|
||||
hr.light {
|
||||
border-top: 1px solid var(--gray-3);
|
||||
}
|
||||
|
||||
hr.dark {
|
||||
border-top: 1px solid var(--gray-6);
|
||||
}
|
||||
|
||||
/* Notice */
|
||||
|
||||
#notice {
|
||||
padding: .5em .5em .6em .5em;
|
||||
font-size: 1em;
|
||||
text-align: center;
|
||||
color: var(--gray-9);
|
||||
background: repeating-linear-gradient(130deg, var(--yellow-3), var(--yellow-3) 10px, var(--yellow-4) 10px, var(--yellow-4) 20px);
|
||||
}
|
||||
|
||||
#notice p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#notice_omg {
|
||||
padding: .5em .5em .6em .5em;
|
||||
font-size: 1em;
|
||||
text-align: center;
|
||||
color: var(--white);
|
||||
background: repeating-linear-gradient(130deg, var(--red-9), var(--red-9) 10px, var(--red-8) 10px, var(--red-8) 20px);
|
||||
}
|
||||
|
||||
#notice_omg p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Messages */
|
||||
|
||||
.message {
|
||||
background: var(--blue-9);
|
||||
color: var(--white);
|
||||
padding: var(--spacing);
|
||||
padding-left: 5em;
|
||||
border-radius: 0;
|
||||
margin-bottom: var(--spacing);
|
||||
margin-top: var(--spacing);
|
||||
box-shadow: 10px 10px var(--black);
|
||||
position: relative;
|
||||
min-height: 5em;
|
||||
}
|
||||
|
||||
.message p {
|
||||
line-height: 120%;
|
||||
}
|
||||
|
||||
.message:before {
|
||||
font-family: "Font Awesome 6 Pro";
|
||||
font-weight: 900;
|
||||
content: "\f05a";
|
||||
font-size: 3em;
|
||||
padding: 0 var(--spacing) var(--spacing) 0;
|
||||
position: absolute;
|
||||
top: .3em;
|
||||
left: .3em;
|
||||
}
|
||||
|
||||
.message.error {
|
||||
background: var(--red-3);
|
||||
color: var(--black);
|
||||
}
|
||||
|
||||
.message.error:before {
|
||||
color: var(--red-9);
|
||||
content: "\f071";
|
||||
}
|
||||
|
||||
.message.ok {
|
||||
background: var(--green-3);
|
||||
color: var(--black);
|
||||
}
|
||||
|
||||
.message.ok:before {
|
||||
color: var(--green-6);
|
||||
content: "\f058";
|
||||
}
|
||||
|
||||
/* Cards */
|
||||
|
||||
.card {
|
||||
transition: transform .1s ease-in-out, box-shadow .05s ease-in-out, background .05s ease-in-out;
|
||||
-webkit-transform-style: preserve-3d;
|
||||
-webkit-transform: translate3d(0,0,0);
|
||||
-webkit-backface-visibility: hidden;
|
||||
-moz-backface-visibility: hidden;
|
||||
-ms-backface-visibility: hidden;
|
||||
box-shadow: 1px 4px 7px -5px rgba(0,0,0,0.75);
|
||||
}
|
||||
.card:hover {
|
||||
transform: scale(1.03) translate3d(0,0,0);
|
||||
-webkit-backface-visibility: hidden;
|
||||
-moz-backface-visibility: hidden;
|
||||
-ms-backface-visibility: hidden;
|
||||
box-shadow: 1px 16px 29px -5px rgba(0,0,0,0.75);
|
||||
}
|
||||
|
||||
.card.disabled:hover {
|
||||
background: #555 !important;
|
||||
color: #fff !important;
|
||||
cursor: not-allowed;
|
||||
transform: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
a.card {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.card.container {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Containers */
|
||||
|
||||
.container {
|
||||
margin-bottom: var(--spacing);
|
||||
padding: var(--spacing);
|
||||
border-radius: var(--small-radius);
|
||||
}
|
||||
|
||||
.transparent {
|
||||
background: inherit !important;
|
||||
}
|
||||
|
||||
.dark-mode main .container, .dark-mode main .box {
|
||||
background: var(--gray-9);
|
||||
}
|
||||
|
||||
.light-mode main .container, .light-mode main .box {
|
||||
background: var(--gray-3);
|
||||
}
|
||||
|
||||
.container p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.container:last-child {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.padded {
|
||||
padding: var(--spacing);
|
||||
}
|
||||
|
||||
.nowrap {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.flex {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--spacing);
|
||||
margin-bottom: var(--spacing);
|
||||
border-radius: var(--small-radius);
|
||||
}
|
||||
|
||||
.box {
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
flex-basis: 0;
|
||||
padding: var(--spacing);
|
||||
border-radius: var(--small-radius);
|
||||
}
|
||||
|
||||
.unpadded {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.fully-unpadded {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.box.basis {
|
||||
flex-basis: var(--basis);
|
||||
}
|
||||
|
||||
.centered-vertically {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Box Styles */
|
||||
|
||||
.rounded {
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
|
||||
.container.top-half {
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
margin-bottom: -1px;
|
||||
}
|
||||
|
||||
.container.bottom-half {
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
|
||||
.shadowed {
|
||||
box-shadow: 10px 10px var(--shadow);
|
||||
}
|
||||
|
||||
/* Flex Overrides */
|
||||
|
||||
header .flex {
|
||||
align-items: center;
|
||||
margin: 0 var(--spacing);
|
||||
}
|
||||
|
||||
header .box {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.gapped {
|
||||
gap: calc(var(--spacing) * 2);
|
||||
}
|
||||
|
||||
.gapless {
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.container .flex .box {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.padded {
|
||||
padding: var(--spacing) !important;
|
||||
}
|
||||
|
||||
.buttoned {
|
||||
position: relative;
|
||||
padding-bottom: calc(var(--spacing)*5) !important;
|
||||
}
|
||||
|
||||
.buttoned button, .buttoned .button {
|
||||
position: absolute;
|
||||
bottom: calc(var(--spacing)/2);
|
||||
left: var(--spacing);
|
||||
}
|
||||
|
||||
.flex.gap {
|
||||
gap: var(--gap);
|
||||
}
|
||||
|
||||
header, main, footer {
|
||||
display: block;
|
||||
margin: var(--spacing);
|
||||
}
|
||||
|
||||
header {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
header p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
header a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
footer a:link,
|
||||
footer a:visited,
|
||||
footer a:hover,
|
||||
footer a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
footer li {
|
||||
line-height: 200% !important;
|
||||
}
|
||||
|
||||
footer section {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
footer {
|
||||
margin-top: 3em;
|
||||
padding-top: 2em;
|
||||
border-top: 1px solid var(--gray-7);
|
||||
margin-bottom: 3em;
|
||||
}
|
||||
|
||||
footer .fa-mastodon:hover { color: var(--violet-6); }
|
||||
footer .fa-github:hover { color: var(--gray-5); }
|
||||
footer .fa-youtube:hover { color: var(--red-7); }
|
||||
footer .fa-ul li a:hover .fa-newspaper { color: var(--orange-5); }
|
||||
footer .fa-ul li a:hover .fa-wave-pulse { color: var(--red-5); }
|
||||
footer .fa-ul li a:hover .fa-brackets-curly { color: var(--cyan-5); }
|
||||
footer .fa-ul li a:hover .fa-handshake-angle { color: var(--green-5); }
|
||||
footer .fa-ul li a:hover .fa-scale-balanced { color: var(--grape-5); }
|
||||
|
||||
main {
|
||||
padding: 0 var(--spacing);
|
||||
}
|
||||
|
||||
aside.right {
|
||||
float: right;
|
||||
margin: 0 0 var(--spacing) var(--spacing);
|
||||
}
|
||||
|
||||
header ul {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.fixed {
|
||||
max-width: var(--width);
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.area {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--spacing);
|
||||
border-radius: var(--small-radius);
|
||||
}
|
||||
|
||||
footer .area {
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.area .space {
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
flex-basis: 0;
|
||||
border-radius: var(--small-radius);
|
||||
}
|
||||
|
||||
/* Type */
|
||||
|
||||
p, li {
|
||||
line-height: 160%;
|
||||
}
|
||||
|
||||
p, ul, ol {
|
||||
margin-bottom: var(--spacing);
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
margin-left: var(--spacing);
|
||||
}
|
||||
|
||||
li {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.mono {
|
||||
font-family: 'MD IO 0.4';
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
.smallcaps {
|
||||
font-size: 90%;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.important {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Headings */
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
font-family: 'VC Honey Deck', serif;
|
||||
margin: var(--spacing) 0;
|
||||
}
|
||||
|
||||
h1:first-child, h2:first-child, h3:first-child { margin-top: 0px; }
|
||||
|
||||
h1 {
|
||||
font-size: 2.3em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.8em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
h1 a { text-decoration: none; }
|
||||
|
||||
/* Lists */
|
||||
|
||||
.horizontal {
|
||||
list-style-type: none;
|
||||
margin-left: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.horizontal li {
|
||||
display: inline;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.horizontal li:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.fa-ul {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
/* Alignment */
|
||||
|
||||
.left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.centered {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Logotype */
|
||||
|
||||
.logotype {
|
||||
color: var(--pink-4);
|
||||
font-family: 'VC Honey Black Banner';
|
||||
}
|
||||
|
||||
.logotype img {
|
||||
width: 1.3em;
|
||||
margin-bottom: -.3em;
|
||||
}
|
||||
|
||||
header .logotype {
|
||||
font-size: 1.7em;
|
||||
margin-top: .2em;
|
||||
}
|
||||
|
||||
footer .logotype {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
|
||||
label {
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
margin-right: .5em;
|
||||
}
|
||||
|
||||
label span {
|
||||
font-weight: normal;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.note {
|
||||
font-size: 80%;
|
||||
display: block;
|
||||
line-height: 120%;
|
||||
}
|
||||
|
||||
.utility-icon {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.utility-icon:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
input[type="text"]:disabled:hover {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
select, input[type="submit"], button, .button {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
select, input[type="text"], input[type="password"], input[type="submit"], button, .button, textarea {
|
||||
font-family: 'Lato';
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
font-size: 100%;
|
||||
margin: .5em 0;
|
||||
padding: .4em .5em .5em .5em;
|
||||
background: var(--background);
|
||||
color: var(--color);
|
||||
border: 0;
|
||||
border-radius: var(--small-radius);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
button, .button, input[type="submit"] {
|
||||
color: var(--white) !important;
|
||||
border-radius: var(--radius);
|
||||
display: inline-block;
|
||||
margin: .2em 0;
|
||||
margin-right: .7em;
|
||||
padding: .4em .6em;
|
||||
box-shadow: 0 5px 0 0 var(--button-shadow);
|
||||
transition: transform .07s ease-in-out, opacity .07s ease-in-out, box-shadow 0.1s ease-in-out, color 0.1s ease-in-out, background 0.1s ease-in-out;
|
||||
line-height: 120%;
|
||||
margin-bottom: 1em;
|
||||
-webkit-transform-style: preserve-3d;
|
||||
-webkit-transform: translate3d(0,0,0);
|
||||
-webkit-backface-visibility: hidden;
|
||||
-moz-backface-visibility: hidden;
|
||||
-ms-backface-visibility: hidden;
|
||||
}
|
||||
|
||||
button.inline, .button.inline {
|
||||
margin: 0 .4em;
|
||||
padding: .3em .6em;
|
||||
}
|
||||
|
||||
button i, .button i {
|
||||
margin-right: .2em;
|
||||
}
|
||||
|
||||
button:hover, .button:hover, input[type="submit"]:hover {
|
||||
color: var(--white) !important;
|
||||
transform: scale(.98, .98);
|
||||
-webkit-backface-visibility: hidden;
|
||||
-moz-backface-visibility: hidden;
|
||||
-ms-backface-visibility: hidden;
|
||||
}
|
||||
|
||||
button.plain, .button.plain, button:hover.plain, .button:hover.plain {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
button.plain:active, .button.plain:active {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
button:active, .button:active, input[type="submit"]:active {
|
||||
transform: scale(.9, .9);
|
||||
}
|
||||
|
||||
select, input[type="text"], input[type="password"], textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
textarea, textarea:focus-visible, textarea:focus {
|
||||
outline: none !important;
|
||||
outline-color: transparent;
|
||||
outline-style: none;
|
||||
outline-width: 0;
|
||||
}
|
||||
|
||||
select:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input[type=radio] {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
input[type=radio] ~ label:before {
|
||||
font-family: 'Font Awesome 6 Pro';
|
||||
display: inline-block;
|
||||
content: "\f111"; /* unselected, idle */
|
||||
font-weight: 400;
|
||||
letter-spacing: 10px;
|
||||
font-size: 1.2em;
|
||||
color: var(--oc-black);
|
||||
width: 1.4em;
|
||||
}
|
||||
|
||||
input[type=radio]:checked ~ label:before {
|
||||
content: "\f058"; /* selected */
|
||||
font-weight: 800;
|
||||
font-size: 1.2em;
|
||||
color: var(--oc-blue-7);
|
||||
letter-spacing: 5px;
|
||||
}
|
||||
input[type=radio]:focus ~ label:before,
|
||||
input[type=radio]:focus ~ label {
|
||||
/*color: #0f62fe;*/
|
||||
}
|
||||
|
||||
input[type=checkbox] {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
input[type=checkbox] ~ label:before {
|
||||
font-family: 'Font Awesome 6 Pro';
|
||||
display: inline-block;
|
||||
content: "\f0c8"; /* unselected, idle */
|
||||
font-weight: 400;
|
||||
letter-spacing: 10px;
|
||||
font-size: 1.2em;
|
||||
color: var(--oc-black);
|
||||
width: 1.4em;
|
||||
}
|
||||
|
||||
input[type=checkbox]:checked ~ label:before {
|
||||
content: "\f14a"; /* selected */
|
||||
font-weight: 800;
|
||||
font-size: 1.2em;
|
||||
color: var(--oc-blue-7);
|
||||
letter-spacing: 5px;
|
||||
}
|
||||
input[type=checkbox]:focus ~ label:before,
|
||||
input[type=checkbox]:focus ~ label {
|
||||
/*color: #0f62fe;*/
|
||||
}
|
||||
|
||||
ul.bulletless {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.bulletless li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.normal {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* Pre & Code */
|
||||
|
||||
code {
|
||||
background: var(--gray-4);
|
||||
padding: .2em .3em;
|
||||
border-radius: var(--small-radius);
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
pre, code {
|
||||
font-family: 'MD IO 0.4';
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
pre code {
|
||||
background: var(--gray-4);
|
||||
display: inline-block;
|
||||
padding: 1em;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
pre {
|
||||
border-radius: var(--small-radius);
|
||||
margin-bottom: var(--spacing);
|
||||
}
|
||||
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
-moz-tab-size: 4;
|
||||
-o-tab-size: 4;
|
||||
tab-size: 4;
|
||||
|
||||
-webkit-hyphens: none;
|
||||
-moz-hyphens: none;
|
||||
-ms-hyphens: none;
|
||||
hyphens: none;
|
||||
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: break-word;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
/* Tables */
|
||||
|
||||
.table-container {
|
||||
overflow-x: auto;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 1em;
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
||||
a:link, a:visited, a:hover, a:active {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Responsiveness */
|
||||
|
||||
.help i {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 800px) {
|
||||
:root {
|
||||
--spacing: 1rem;
|
||||
--radius: .5em;
|
||||
}
|
||||
body {
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
||||
header, main, footer {
|
||||
display: block;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 500px) {
|
||||
.dashboard-label {
|
||||
display: none;
|
||||
}
|
||||
.help-label {
|
||||
display: none;
|
||||
}
|
||||
.help i {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 450px) {
|
||||
:root {
|
||||
--spacing: 1rem;
|
||||
--radius: .5em;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 410px) {
|
||||
.logotype img {
|
||||
display: none;
|
||||
}
|
||||
}
|
11
wwwroot/css/lol/type.css
Normal file
11
wwwroot/css/lol/type.css
Normal file
|
@ -0,0 +1,11 @@
|
|||
@import url('/css/lol/type/font-honey.css?v=20230829');
|
||||
@import url('/css/lol/type/font-lato-regular.css');
|
||||
@import url('/css/lol/type/font-lato-bold.css');
|
||||
@import url('/css/lol/type/font-lato-italic.css');
|
||||
@import url('/css/lol/type/font-md-io.css');
|
||||
@import url('/css/lol/type/fontawesome-free/css/all.css');
|
||||
@import url('/css/lol/icons/omg.lol-icons.css');
|
||||
|
||||
* {
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
15
wwwroot/css/lol/type/font-honey.css
Normal file
15
wwwroot/css/lol/type/font-honey.css
Normal file
File diff suppressed because one or more lines are too long
7
wwwroot/css/lol/type/font-lato-bold.css
Normal file
7
wwwroot/css/lol/type/font-lato-bold.css
Normal file
File diff suppressed because one or more lines are too long
7
wwwroot/css/lol/type/font-lato-italic.css
Normal file
7
wwwroot/css/lol/type/font-lato-italic.css
Normal file
File diff suppressed because one or more lines are too long
7
wwwroot/css/lol/type/font-lato-regular.css
Normal file
7
wwwroot/css/lol/type/font-lato-regular.css
Normal file
File diff suppressed because one or more lines are too long
15
wwwroot/css/lol/type/font-md-io.css
Normal file
15
wwwroot/css/lol/type/font-md-io.css
Normal file
File diff suppressed because one or more lines are too long
165
wwwroot/css/lol/type/fontawesome-free/LICENSE.txt
Normal file
165
wwwroot/css/lol/type/fontawesome-free/LICENSE.txt
Normal file
|
@ -0,0 +1,165 @@
|
|||
Fonticons, Inc. (https://fontawesome.com)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Font Awesome Free License
|
||||
|
||||
Font Awesome Free is free, open source, and GPL friendly. You can use it for
|
||||
commercial projects, open source projects, or really almost whatever you want.
|
||||
Full Font Awesome Free license: https://fontawesome.com/license/free.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
|
||||
|
||||
The Font Awesome Free download is licensed under a Creative Commons
|
||||
Attribution 4.0 International License and applies to all icons packaged
|
||||
as SVG and JS file types.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
# Fonts: SIL OFL 1.1 License
|
||||
|
||||
In the Font Awesome Free download, the SIL OFL license applies to all icons
|
||||
packaged as web and desktop font files.
|
||||
|
||||
Copyright (c) 2024 Fonticons, Inc. (https://fontawesome.com)
|
||||
with Reserved Font Name: "Font Awesome".
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
SIL OPEN FONT LICENSE
|
||||
Version 1.1 - 26 February 2007
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting — in part or in whole — any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
# Code: MIT License (https://opensource.org/licenses/MIT)
|
||||
|
||||
In the Font Awesome Free download, the MIT license applies to all non-font and
|
||||
non-icon files.
|
||||
|
||||
Copyright 2024 Fonticons, Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in the
|
||||
Software without restriction, including without limitation the rights to use, copy,
|
||||
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
and to permit persons to whom the Software is furnished to do so, subject to the
|
||||
following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
# Attribution
|
||||
|
||||
Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font
|
||||
Awesome Free files already contain embedded comments with sufficient
|
||||
attribution, so you shouldn't need to do anything additional when using these
|
||||
files normally.
|
||||
|
||||
We've kept attribution comments terse, so we ask that you do not actively work
|
||||
to remove them from files, especially code. They're a great way for folks to
|
||||
learn about Font Awesome.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
# Brand Icons
|
||||
|
||||
All brand icons are trademarks of their respective owners. The use of these
|
||||
trademarks does not indicate endorsement of the trademark holder by Font
|
||||
Awesome, nor vice versa. **Please do not use brand logos for any purpose except
|
||||
to represent the company, product, or service to which they refer.**
|
8030
wwwroot/css/lol/type/fontawesome-free/css/all.css
Normal file
8030
wwwroot/css/lol/type/fontawesome-free/css/all.css
Normal file
File diff suppressed because it is too large
Load diff
9
wwwroot/css/lol/type/fontawesome-free/css/all.min.css
vendored
Normal file
9
wwwroot/css/lol/type/fontawesome-free/css/all.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
wwwroot/css/lol/type/fontawesome-free/webfonts/fa-brands-400.ttf
Normal file
BIN
wwwroot/css/lol/type/fontawesome-free/webfonts/fa-brands-400.ttf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
wwwroot/css/lol/type/fontawesome-free/webfonts/fa-solid-900.ttf
Normal file
BIN
wwwroot/css/lol/type/fontawesome-free/webfonts/fa-solid-900.ttf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
wwwroot/favicon.png
Normal file
BIN
wwwroot/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
30
wwwroot/index.html
Normal file
30
wwwroot/index.html
Normal file
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
|
||||
<title>Neighbourhood.omg.lol</title>
|
||||
<base href="/" />
|
||||
<link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="css/app.css" />
|
||||
<link rel="stylesheet" href="Neighbourhood.omg.lol.styles.css" />
|
||||
<link rel="icon" type="image/png" href="favicon.png" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="status-bar-safe-area"></div>
|
||||
|
||||
<div id="app">Loading...</div>
|
||||
|
||||
<div id="blazor-error-ui">
|
||||
An unhandled error has occurred.
|
||||
<a href="" class="reload">Reload</a>
|
||||
<a class="dismiss">🗙</a>
|
||||
</div>
|
||||
|
||||
<script src="_framework/blazor.webview.js" autostart="false"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in a new issue