summaryrefslogtreecommitdiff
path: root/app/static/styles/yes.css
blob: bcaf7a463168a81d45119a4bb22e542bb8b89f89 (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
109
110
111
112
113
/* Main page area. */
:root {background: var(--yes);}

.main {
    height: 100%;
    position: relative;
    z-index: 0;
    overflow: hidden;
    /* animation-name: yes-refresh; */
    /* animation-duration: var(--slow-speed); */
}

/* Tabs. */
.tab-no {
    height: 100%;
    width: 3%;
    position: absolute;
    right: 0;
    background: var(--no);
    /* animation-name: yes-refresh; */
    /* animation-duration: var(--slow-speed); */
}
.tab-home {
    height: 100%;
    width: 3%;
    float: right;
    position: absolute;
    /* background: var(--home); */
    /* animation-name: yes-refresh; */
    animation-duration: var(--slow-speed);
}
.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;
}


/* Feeds. */
.feed-message {
    height: 100%;
    width: 25%;
    position: relative;
    float: left;
    overflow: auto;
}
.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;
}

.feed-news {
    height: 100%;
    width: 55%;
    display: flex;
    position: relative;
    float: left;
    flex-wrap: wrap;
    overflow: auto;
    justify-content: space-between;
}
.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;
}

.feed-ads {
    height: 100%;
    width: 20%;
    position: relative;
    float: right;
    overflow: auto;
}
.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