Tidy up css

This commit is contained in:
Frankie B 2023-08-16 14:10:19 +01:00
commit f7d589aad4
7 changed files with 38 additions and 153 deletions

View file

@ -7,7 +7,7 @@
$highlighted = $hl->highlight($lang, Storage::disk('local')->get($file_path));
$file_size = Storage::disk('local')->size($file_path);
@endphp
<div class="codeblock">
<div class="code-block">
<h1>{{ $file_name }} <small>{{ $file_size}} bytes</small></h1>
<hr>
<code class="hljs {{$highlighted->language}}">{!! $highlighted->value !!}</code>

View file

@ -11,7 +11,7 @@
@endphp
@foreach ($categories as $category)
<table class="infotable">
<table class="info-table">
<caption>
<h1>{{ $category->name }}</h1>

View file

@ -2,13 +2,13 @@
@section('title', 'Guestbook')
@section('content')
<br>
<table class="gb-entryform-container">
<table class="gb-entry-form-container">
<tr>
<td>
<form method="POST" action="/guestbook">
@csrf
<x-honeypot />
<table class="gb-entryform">
<table class="gb-entry-form">
<tr>
<td>
<label for="name"><strong>Name:</strong></label>

View file

@ -4,7 +4,7 @@
@section('content')
<p>Hi! This my personal homepage on the <strong>W</strong>orld <strong>W</strong>ide <strong>W</strong>eb.
<table class="infotable">
<table class="info-table">
<caption>
<h1>Fun Facts</h1>
<hr>
@ -21,10 +21,13 @@
<tr>
<td>&#9670; Some people say I suck at PHP, but that's clearly wrong :P</td>
</tr>
<tr>
<td>&#9670; Some of my favorite games are: OneShot, Minecraft, Stardew Valley, N++ and Starbound</td>
</tr>
</table>
<br>
<table class="infotable">
<table class="info-table">
<caption>
<h1>Interests</h1>
<hr>
@ -44,7 +47,7 @@
</table>
<br>
<table class="infotable">
<table class="info-table">
<caption>
<h1>Contact &amp; social</h1>
<hr>

View file

@ -11,7 +11,7 @@
$top_tracks = json_decode(file_get_contents($api_root . '/lastfm/top'));
$count = 0;
@endphp
<table class="infotable">
<table class="info-table">
<tr>
<td colspan="4">
<h2>Last/Current Track:</h2>
@ -32,8 +32,7 @@
<h2>Top {{ $cfg['toptracks'] }} Tracks (Last 7 days)</h2>
</td>
</tr>
<tr
">
<tr>
<td style="text-align: right"><b>#</b></td>
<td><b>Track</b></td>
<td><b>Artist</b></td>

View file

@ -17,7 +17,7 @@ function degreesToCompassDirection($degrees) {
$updated = gmdate('H:i Y-m-d', $data->updated);
$data = $data->current;
@endphp
<table class="infotable">
<table class="info-table">
<caption>
<h1>Local Weather</h1>
<hr>