summaryrefslogtreecommitdiff
path: root/assets/styles/announcement.css
blob: 85ef9b89a6dcaabc1ed39bf00d33e9670e36835b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#announcement {
    z-index: 9999;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(139deg, var(--theme-announcement-1), var(--theme-announcement-2), var(--theme-announcement-3), var(--theme-announcement-4));
    color: var(--theme-main-bg);
}

#announcement-inner {
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    min-height: 0;
    min-width: 0;
}

.announcement-clickable #announcement-inner {
    color: inherit;
    text-decoration: inherit;
}

#announcement-chevron {
    font-size: 12px;
    vertical-align: middle;
    margin-left: 5px;
}