summaryrefslogtreecommitdiff
path: root/app/static/styles/yes.css
blob: 3e8e61471c4859601ec2e8972e5477ce877201dd (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
/* Main page components. */
.main {
    height: 100%;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

/* Feeds. */
.feed-message {
    height: 100%;
    width: 30%;
    position: relative;
    float: left;
    overflow: auto;
}
.feed-post {
    height: 100%;
    width: 30%;
    position: relative;
    float: left;
    overflow: auto;
}
.feed-ads {
    height: 100%;
    width: 20%;
    position: relative;
    float: left;
    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 {
    background: white;
    border-radius: 14px;
    padding: 1rem;
    margin: 0.5rem;
}
.news:hover {
    background: linear-gradient(to left, var(--no) 50%, var(--yes) 50%);
    cursor: pointer;
    transition: 0.8s;
    color: white;
}

/* 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