Source code
Revision control
Copy as Markdown
Other Tools
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
:host {
--header-avatar-size: 72px;
}
:root {
background-color: var(--newtab-background-color, var(--background-color-canvas));
}
html,
body {
min-width: 100%;
width: fit-content;
min-height: 100vh;
}
body {
display: flex;
justify-content: center;
}
edit-profile-card,
delete-profile-card,
new-profile-card {
display: block;
margin: var(--space-xxlarge) var(--space-large);
@media only screen and (width >= 700px) {
width: 672px;
}
@media only screen and (width >= 830px) {
width: 680px;
margin: calc(1.5 * var(--space-xxlarge)) 0;
}
@media only screen and (width >= 1366px) {
margin: calc(2 * var(--space-xxlarge)) 0;
}
}
#edit-profile-card,
#delete-profile-card {
display: flex;
gap: var(--space-xxlarge);
padding: var(--space-large);
@media only screen and (width <= 830px) {
flex-direction: column;
}
& h1 {
word-break: break-all;
}
}
#profile-content {
display: flex;
flex-direction: column;
gap: var(--space-xlarge);
& h1,
& p {
margin-block: 0;
}
}
#header-avatar,
.avatar-image-container {
width: var(--header-avatar-size);
height: var(--header-avatar-size);
}
#header-avatar {
-moz-context-properties: fill, stroke;
border-radius: var(--border-radius-circle);
}
#more-themes {
width: fit-content;
}
.sub-header {
font-size: var(--font-size-large);
color: var(--text-color-deemphasized);
}
.disable-text-selection {
user-select: none;
}