mirror of https://github.com/mastodon/mastodon
Adjusting design of profile and entry pages, linkify mentions in statuses
parent
6045b6cb18
commit
ab80ebdeec
@ -1,39 +1,40 @@
|
|||||||
.card {
|
.card {
|
||||||
display: flex;
|
background: $primary-color image-url('background-photo.jpeg');
|
||||||
background: $primary-color;
|
background-size: cover;
|
||||||
box-shadow: 4px 3px 0 rgba(0, 0, 0, 0.1);
|
padding: 80px 0;
|
||||||
|
padding-bottom: 30px;
|
||||||
|
border-radius: 4px 4px 0 0;
|
||||||
|
|
||||||
.bio {
|
.bio {
|
||||||
flex-grow: 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
|
display: block;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
line-height: 18px * 1.5;
|
line-height: 18px * 1.5;
|
||||||
color: $quaternary-color;
|
color: #fff;
|
||||||
|
font-weight: 500;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
small {
|
small {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: $quaternary-color;
|
color: #2b90d9;
|
||||||
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.avatar {
|
.avatar {
|
||||||
width: 96px;
|
width: 120px;
|
||||||
float: left;
|
margin: 0 auto;
|
||||||
margin-right: 10px;
|
margin-bottom: 15px;
|
||||||
padding: 10px;
|
|
||||||
padding-right: 0;
|
|
||||||
padding-left: 9px;
|
|
||||||
margin-top: -30px;
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 94px;
|
width: 120px;
|
||||||
height: 94px;
|
height: 120px;
|
||||||
display: block;
|
display: block;
|
||||||
border-radius: 5px;
|
border-radius: 120px;
|
||||||
box-shadow: 4px 3px 0 rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
- content_for :content do
|
||||||
|
= yield
|
||||||
|
.footer
|
||||||
|
.domain= Rails.configuration.x.local_domain
|
||||||
|
|
||||||
|
= render template: "layouts/application"
|
Loading…
Reference in New Issue