This commit is contained in:
Andrew Barba 2023-03-07 19:51:04 -05:00 committed by GitHub
commit e7c7c759db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 79 additions and 15 deletions

View File

@ -15,6 +15,9 @@
import TokamakCore
public let tokamakStyles = """
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}

View File

@ -88,6 +88,7 @@ public final class StaticHTMLRenderer: Renderer {
public func render(shouldSortAttributes: Bool = false) -> String {
"""
<!DOCTYPE html>
<html>
<head>
<title>\(title)</title>\(

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -1,8 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title>Tokamak 2</title>
<style>
._tokamak-stack {
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}
._tokamak-hstack {

View File

@ -1,8 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title>Tokamak 2</title>
<style>
._tokamak-stack {
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}
._tokamak-hstack {

View File

@ -1,8 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
._tokamak-stack {
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}
._tokamak-hstack {

View File

@ -1,8 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
._tokamak-stack {
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}
._tokamak-hstack {

View File

@ -1,8 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
._tokamak-stack {
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}
._tokamak-hstack {

View File

@ -1,8 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
._tokamak-stack {
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}
._tokamak-hstack {

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html>
<head>
<title></title>
@ -6,7 +7,10 @@
<meta property="og:image" content="https://image.png">
<meta http-equiv="refresh" content="60">
<style>
._tokamak-stack {
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}
._tokamak-hstack {

View File

@ -1,9 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<style>
._tokamak-stack {
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}
._tokamak-hstack {

View File

@ -1,9 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<style>
._tokamak-stack {
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}
._tokamak-hstack {

View File

@ -1,8 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
._tokamak-stack {
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}
._tokamak-hstack {

View File

@ -1,8 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
._tokamak-stack {
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}
._tokamak-hstack {

View File

@ -1,8 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
._tokamak-stack {
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}
._tokamak-hstack {

View File

@ -1,8 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title>Tokamak 3</title>
<style>
._tokamak-stack {
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}
._tokamak-hstack {

View File

@ -1,8 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title>Tokamak</title>
<style>
._tokamak-stack {
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}
._tokamak-hstack {

View File

@ -1,8 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title>Tokamak</title>
<style>
._tokamak-stack {
html {
height: 100%;
}
._tokamak-stack {
display: grid;
}
._tokamak-hstack {