summaryrefslogtreecommitdiff
path: root/app/static/styles/yes.css
blob: fa6b917dd0f5b001ee4a1423565441c6ad80c9aa (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/* Main page area. */
.main {
    height: 100%;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

/* Feeds. */
.feed-message {
    height: 100%;
    width: 25%;
    position: relative;
    float: left;
    overflow: auto;
}
.feed-news {
    height: 100%;
    width: 55%;
    display: flex;
    position: relative;
    float: left;
    flex-wrap: wrap;
    overflow: auto;
    justify-content: space-between;
}
.feed-ads {
    height: 100%;
    width: 20%;
    position: relative;
    float: right;
    overflow: auto;
}

/* Tabs. */
.tab-no {
    height: 100%;
    width: 3%;
    float: right;
    position: relative;
    background: var(--no);
}
.tab-home {
    height: 100%;
    width: 3%;
    float: right;
    position: relative;
    background: var(--home);
}
.tab-home:hover {
    width: 4%;
    transition: 0.2s;
}
.tab-no:hover ~ .tab-home {
    width: 5%;
    transition: 0.2s;
}
.tab-no:hover {
    width: 4%;
    transition: 0.2s;
}

/* Messages. */
.message {
    background: white;
    border-radius: 14px;
    padding: 1rem;
    margin: 0.5rem;
}
.message:hover {
    background: linear-gradient(to left, var(--no) 50%, var(--yes) 50%);
    cursor: pointer;
    transition: 0.8s;
    color: white;
}

/* News. */
.news {
    max-height: 10%;
    max-width: 50%;
    background: white;
    position: relative;
    border-radius: 14px;
    padding: 1rem;
    margin: 0.5rem;
    overflow: hidden;
}
.news:hover {
    background: linear-gradient(to left, var(--no) 50%, var(--yes) 50%);
    cursor: pointer;
    transition: 0.8s;
    color: white;
    overflow: auto;
}

/* Ads. */
.ad {
    background: white;
    border-radius: 14px;
    padding: 1rem;
    margin: 0.5rem;
}
.ad:hover {
    background: linear-gradient(to left, var(--no) 50%, var(--yes) 50%);
    cursor: pointer;
    transition: 0.8s;
    color: white;
}
Copyright 2019--2024 Marius PETER