add title to mastodon TL
This commit is contained in:
+25
-1
@@ -206,10 +206,34 @@ img {
|
|||||||
width: 50%;
|
width: 50%;
|
||||||
height: 400px;
|
height: 400px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mt-header {
|
||||||
|
padding: 12px 15px;
|
||||||
|
background: linear-gradient(45deg, #000000, #333333);
|
||||||
|
border-top-left-radius: 8px;
|
||||||
|
border-top-right-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mt-title {
|
||||||
|
color: white;
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 600;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 10px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mt-title i {
|
||||||
|
color: var(--primary-red);
|
||||||
}
|
}
|
||||||
|
|
||||||
.mt-body {
|
.mt-body {
|
||||||
height: 100%;
|
height: calc(100% - 50px);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -102,6 +102,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="mt-container" class="mt-container">
|
<div id="mt-container" class="mt-container">
|
||||||
|
<div class="mt-header">
|
||||||
|
<h2 class="mt-title">Fil d'actualités <i class="fab fa-mastodon"></i></h2>
|
||||||
|
</div>
|
||||||
<div class="mt-body" role="feed">
|
<div class="mt-body" role="feed">
|
||||||
<div class="mt-loading-spinner"></div>
|
<div class="mt-loading-spinner"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user