refs #237 Set font-size based on root font-size
This commit is contained in:
parent
89a7985124
commit
daee409755
|
@ -62,6 +62,8 @@ html, body, #app {
|
|||
a:focus {
|
||||
color: #409eff;
|
||||
}
|
||||
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
html, body, #app, #global_header {
|
||||
|
|
|
@ -99,7 +99,7 @@ function findLink (target) {
|
|||
|
||||
.action-detail {
|
||||
margin-left: 10px;
|
||||
font-size: 14px;
|
||||
font-size: 1rem;
|
||||
float: left;
|
||||
max-width: 80%;
|
||||
|
||||
|
@ -140,19 +140,19 @@ function findLink (target) {
|
|||
.toot-header {
|
||||
.user {
|
||||
float: left;
|
||||
font-size: 14px;
|
||||
font-size: 1rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.timestamp {
|
||||
font-size: 14px;
|
||||
font-size: 1rem;
|
||||
text-align: right;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
font-size: 14px;
|
||||
font-size: 1rem;
|
||||
margin: 4px 0 8px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -99,7 +99,7 @@ function findLink (target) {
|
|||
|
||||
.action-detail {
|
||||
margin-left: 10px;
|
||||
font-size: 14px;
|
||||
font-size: 1rem;
|
||||
float: left;
|
||||
max-width: 80%;
|
||||
|
||||
|
@ -140,18 +140,18 @@ function findLink (target) {
|
|||
.toot-header {
|
||||
.user {
|
||||
float: left;
|
||||
font-size: 14px;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.timestamp {
|
||||
font-size: 14px;
|
||||
font-size: 1rem;
|
||||
text-align: right;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
font-size: 14px;
|
||||
font-size: 1rem;
|
||||
margin: 4px 0 8px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -228,7 +228,7 @@ function findLink (target) {
|
|||
.toot-header {
|
||||
.user {
|
||||
float: left;
|
||||
font-size: 14px;
|
||||
font-size: 1rem;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
max-width: 100%;
|
||||
|
@ -247,7 +247,7 @@ function findLink (target) {
|
|||
}
|
||||
|
||||
.timestamp {
|
||||
font-size: 14px;
|
||||
font-size: 1rem;
|
||||
text-align: right;
|
||||
width: 100%;
|
||||
color: #909399;
|
||||
|
@ -255,7 +255,7 @@ function findLink (target) {
|
|||
}
|
||||
|
||||
.content {
|
||||
font-size: 14px;
|
||||
font-size: 1rem;
|
||||
color: var(--theme-primary-color);
|
||||
margin: 4px 0 8px;
|
||||
word-wrap: break-word;
|
||||
|
@ -287,7 +287,7 @@ function findLink (target) {
|
|||
}
|
||||
|
||||
.reblogger-name {
|
||||
font-size: 12px;
|
||||
font-size: 0.86rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -184,7 +184,7 @@ function findLink (target) {
|
|||
padding: 12px;
|
||||
box-sizing: border-box;
|
||||
word-wrap: break-word;
|
||||
font-size: 14px;
|
||||
font-size: 1rem;
|
||||
|
||||
.follow-follower {
|
||||
.follower-status {
|
||||
|
@ -214,7 +214,7 @@ function findLink (target) {
|
|||
|
||||
.menu-list {
|
||||
padding: 0;
|
||||
font-size: 0.8em;
|
||||
font-size: 0.8rem;
|
||||
list-style-type: none;
|
||||
line-height: 20px;
|
||||
text-align: left;
|
||||
|
@ -246,7 +246,7 @@ function findLink (target) {
|
|||
.username {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-size: 24px;
|
||||
font-size: 1.71rem;
|
||||
margin: 0 auto 12px auto;
|
||||
}
|
||||
|
||||
|
@ -271,13 +271,13 @@ function findLink (target) {
|
|||
}
|
||||
|
||||
.title {
|
||||
font-size: 11px;
|
||||
font-size: 0.8rem;
|
||||
color: #909399;
|
||||
}
|
||||
|
||||
.count {
|
||||
font-weight: 800;
|
||||
font-size: 16px;
|
||||
font-size: 1.14rem;
|
||||
color: var(--theme-primary-color);
|
||||
}
|
||||
}
|
||||
|
@ -296,7 +296,7 @@ function findLink (target) {
|
|||
}
|
||||
|
||||
.timeline {
|
||||
font-size: 12px;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -85,6 +85,7 @@ export default {
|
|||
left: 65px;
|
||||
width: 180px;
|
||||
height: 70px;
|
||||
font-size: 16px;
|
||||
|
||||
.profile {
|
||||
color: #ffffff;
|
||||
|
|
Loading…
Reference in New Issue