mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
style(news): improved news styles
This commit is contained in:
+1
-1
@@ -145,7 +145,7 @@ export function OpenWhatsNewPopup() {
|
|||||||
|
|
||||||
let video = document.createElement('video')
|
let video = document.createElement('video')
|
||||||
let source = document.createElement('source')
|
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')
|
source.setAttribute('src', 'https://raw.githubusercontent.com/BetterSEQTA/BetterSEQTA-Plus/main/src/resources/update-video.mp4')
|
||||||
video.autoplay = true
|
video.autoplay = true
|
||||||
video.muted = true
|
video.muted = true
|
||||||
|
|||||||
+24
-13
@@ -2188,24 +2188,19 @@ li.MessageList__unread___3imtO {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
margin: 0px auto 30px !important;
|
|
||||||
background: var(--background-primary) !important;
|
background: var(--background-primary) !important;
|
||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
-webkit-box-shadow: 0px 5px 16px 6px rgba(0, 0, 0, 0.3);
|
-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);
|
box-shadow: 0px 5px 16px 6px rgba(0, 0, 0, 0.3);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
.ArticleText a {
|
||||||
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
.articleimage {
|
|
||||||
width: 35%;
|
|
||||||
background-position: center;
|
|
||||||
background-size: cover;
|
|
||||||
min-height: 18em;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
}
|
|
||||||
.NewsArticle img {
|
|
||||||
width: 35%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ArticleText a {
|
.ArticleText a {
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -2213,20 +2208,36 @@ li.MessageList__unread___3imtO {
|
|||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
.NewsArticle:hover > .ArticleText a {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
.ArticleText p {
|
.ArticleText p {
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ArticleText {
|
.ArticleText {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 65%;
|
width: 65%;
|
||||||
height: 100%;
|
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 {
|
.editmenu {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user