@axium/server 0.3.11 → 0.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/server",
3
- "version": "0.3.11",
3
+ "version": "0.3.12",
4
4
  "author": "James Prevett <axium@jamespre.dev> (https://jamespre.dev)",
5
5
  "funding": {
6
6
  "type": "individual",
@@ -75,3 +75,11 @@ button:hover {
75
75
  color: #bbbb;
76
76
  font-size: 0.9em;
77
77
  }
78
+
79
+ .flex-content {
80
+ display: flex;
81
+ align-items: center;
82
+ flex-direction: column;
83
+ gap: 1em;
84
+ overflow-y: scroll;
85
+ }
@@ -18,9 +18,9 @@
18
18
  <title>Account</title>
19
19
  </svelte:head>
20
20
 
21
- <div id="content">
22
- <img id="pfp" src={image} alt="User profile" />
23
- <p id="greeting">Welcome, {user.name}</p>
21
+ <div class="flex-content">
22
+ <img class="pfp" src={image} alt="User profile" />
23
+ <p class="greeting">Welcome, {user.name}</p>
24
24
  <div class="account-section main">
25
25
  <div class="account-item">
26
26
  <p class="subtle">Name</p>
@@ -36,21 +36,13 @@
36
36
  <p class="subtle">User ID <dfn title="This is your UUID."><Icon id="regular/circle-info" /></dfn></p>
37
37
  <p>{user.id}</p>
38
38
  </div>
39
- <a id="signout" href="/auth/signout"><button>Sign out</button></a>
39
+ <a class="signout" href="/auth/signout"><button>Sign out</button></a>
40
40
  </div>
41
41
  {@render children()}
42
42
  </div>
43
43
 
44
44
  <style>
45
- #content {
46
- display: flex;
47
- align-items: center;
48
- flex-direction: column;
49
- gap: 1em;
50
- overflow-y: scroll;
51
- }
52
-
53
- #pfp {
45
+ .pfp {
54
46
  width: 100px;
55
47
  height: 100px;
56
48
  border-radius: 50%;
@@ -58,11 +50,11 @@
58
50
  margin-top: 3em;
59
51
  }
60
52
 
61
- #greeting {
53
+ .greeting {
62
54
  font-size: 2em;
63
55
  }
64
56
 
65
- #signout {
57
+ .signout {
66
58
  margin-top: 2em;
67
59
  }
68
60
  </style>