mirror of
https://github.com/mastodon/mastodon.git
synced 2026-05-07 06:18:50 -05:00
Some checks failed
Check i18n / check-i18n (push) Has been cancelled
Chromatic / Check for relevant changes (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
CodeQL / Analyze (ruby) (push) Has been cancelled
Crowdin / Upload translations / upload-translations (push) Has been cancelled
Check formatting / lint (push) Has been cancelled
CSS Linting / lint (push) Has been cancelled
Haml Linting / lint (push) Has been cancelled
JavaScript Linting / lint (push) Has been cancelled
Ruby Linting / lint (push) Has been cancelled
JavaScript Testing / test (push) Has been cancelled
Historical data migration test / test (14-alpine) (push) Has been cancelled
Historical data migration test / test (15-alpine) (push) Has been cancelled
Historical data migration test / test (16-alpine) (push) Has been cancelled
Historical data migration test / test (17-alpine) (push) Has been cancelled
Ruby Testing / build (production) (push) Has been cancelled
Ruby Testing / build (test) (push) Has been cancelled
Chromatic / Run Chromatic (push) Has been cancelled
Ruby Testing / test (.ruby-version) (push) Has been cancelled
Ruby Testing / test (3.2) (push) Has been cancelled
Ruby Testing / test (3.3) (push) Has been cancelled
Ruby Testing / End to End testing (.ruby-version) (push) Has been cancelled
Ruby Testing / End to End testing (3.2) (push) Has been cancelled
Ruby Testing / End to End testing (3.3) (push) Has been cancelled
Ruby Testing / Elastic Search integration testing (.ruby-version, docker.elastic.co/elasticsearch/elasticsearch:7.17.29) (push) Has been cancelled
Ruby Testing / Elastic Search integration testing (.ruby-version, docker.elastic.co/elasticsearch/elasticsearch:8.19.2) (push) Has been cancelled
Ruby Testing / Elastic Search integration testing (.ruby-version, opensearchproject/opensearch:2) (push) Has been cancelled
Ruby Testing / Elastic Search integration testing (3.2, docker.elastic.co/elasticsearch/elasticsearch:7.17.29) (push) Has been cancelled
Ruby Testing / Elastic Search integration testing (3.3, docker.elastic.co/elasticsearch/elasticsearch:7.17.29) (push) Has been cancelled
Bundler Audit / security (push) Has been cancelled
167 lines
2.6 KiB
SCSS
167 lines
2.6 KiB
SCSS
@use 'variables' as *;
|
|
|
|
.container-alt {
|
|
width: 700px;
|
|
margin: 0 auto;
|
|
|
|
@media screen and (width <= 740px) {
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.logo-container {
|
|
margin: 50px auto;
|
|
|
|
a {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: min-content;
|
|
margin: 0 auto;
|
|
padding: 12px 16px;
|
|
color: var(--color-text-primary);
|
|
text-decoration: none;
|
|
outline: 0;
|
|
line-height: 32px;
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
|
|
&:focus-visible {
|
|
outline: var(--outline-focus-default);
|
|
}
|
|
}
|
|
|
|
.logo {
|
|
height: 42px;
|
|
margin-inline-end: 10px;
|
|
}
|
|
}
|
|
|
|
.compose-standalone {
|
|
.compose-form {
|
|
width: 400px;
|
|
margin: 0 auto;
|
|
padding: 10px 0;
|
|
padding-bottom: 20px;
|
|
box-sizing: border-box;
|
|
|
|
@media screen and (width <= 400px) {
|
|
width: 100%;
|
|
padding: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.account-header {
|
|
width: 400px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
box-sizing: border-box;
|
|
padding: 20px 0;
|
|
margin-top: 40px;
|
|
margin-bottom: 10px;
|
|
border-bottom: 1px solid var(--color-border-primary);
|
|
|
|
@media screen and (width <= 440px) {
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 20px;
|
|
}
|
|
|
|
.avatar {
|
|
width: 48px;
|
|
height: 48px;
|
|
flex: 0 0 auto;
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
margin: 0;
|
|
border-radius: var(--avatar-border-radius);
|
|
}
|
|
}
|
|
|
|
.name {
|
|
flex: 1 1 auto;
|
|
color: var(--color-text-primary);
|
|
|
|
.username {
|
|
display: block;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
color: var(--color-text-primary);
|
|
}
|
|
}
|
|
|
|
.logout-link {
|
|
display: block;
|
|
font-size: 32px;
|
|
line-height: 40px;
|
|
flex: 0 0 auto;
|
|
}
|
|
}
|
|
|
|
.redirect {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
font-size: 14px;
|
|
line-height: 18px;
|
|
|
|
&__logo {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 30px;
|
|
|
|
img {
|
|
height: 48px;
|
|
}
|
|
}
|
|
|
|
&__message {
|
|
text-align: center;
|
|
|
|
h1 {
|
|
font-size: 17px;
|
|
line-height: 22px;
|
|
font-weight: 700;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 30px;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
a {
|
|
color: var(--color-text-brand);
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__link {
|
|
margin-top: 15px;
|
|
}
|
|
}
|