style(news): improved news styles

This commit is contained in:
SethBurkart123
2024-11-29 14:38:41 +11:00
parent 547caabc45
commit 430f158957
2 changed files with 43 additions and 32 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ export function OpenWhatsNewPopup() {
let video = document.createElement('video')
let source = document.createElement('source')
// Perhaps we host this on a server and then grab it instead of having it locally?
source.setAttribute('src', 'https://raw.githubusercontent.com/BetterSEQTA/BetterSEQTA-Plus/main/src/resources/update-video.mp4')
video.autoplay = true
video.muted = true
+31 -20
View File
@@ -2188,44 +2188,55 @@ li.MessageList__unread___3imtO {
overflow: hidden;
width: 100%;
padding: 0 !important;
margin: 0px auto 30px !important;
background: var(--background-primary) !important;
color: var(--text-primary);
display: flex;
flex-direction: row;
-webkit-box-shadow: 0px 5px 16px 6px rgba(0, 0, 0, 0.3);
box-shadow: 0px 5px 16px 6px rgba(0, 0, 0, 0.3);
}
.articleimage {
width: 35%;
background-position: center;
background-size: cover;
min-height: 18em;
background-repeat: no-repeat;
}
.NewsArticle img {
width: 35%;
}
.ArticleText a {
&:hover {
.ArticleText a {
text-decoration: underline;
}
}
.ArticleText a {
padding: 10px 20px;
margin: 0;
font-weight: 800;
font-size: 2em;
background: none;
}
.NewsArticle:hover > .ArticleText a {
text-decoration: underline;
}
.ArticleText p {
}
.ArticleText p {
padding: 10px 20px;
margin: 0;
font-size: 1.5em;
}
.ArticleText {
}
.ArticleText {
display: flex;
flex-direction: column;
width: 65%;
height: 100%;
}
.articleimage {
width: 35%;
background-position: center;
background-size: cover;
min-height: 18em;
background-repeat: no-repeat;
}
}
#news-container {
gap: 16px;
> h1 {
margin-bottom: 12px;
}
}
.editmenu {
position: absolute;