forked from majid-amini/whatsAPP_test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
general.css
106 lines (88 loc) · 2 KB
/
general.css
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
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
scroll-behavior: smooth;
}
*::selection {
color: #111;
background-color: #6cc4bc;
}
:root {
--main-bg: linear-gradient(to top, var(--white3) 80%, var(--primary-color) 20%);
--main-height: 95vh;
--main-width: 95vw;
--side-width: 30%;
--side-upper-height: 18%;
--side-search-input-width: 75%;
--side-lower-height: calc(100% - var(var(--side-upper-height)));
--side-contact-height: 6rem;
--header-height: 6.5rem;
--header-profile-image: 4.5rem;
--chat-width: 70%;
--chat-action-height: 6rem;
--chat-action-input-width: 90%;
--chat-action-input-height: 4rem;
--chat-main-height: calc(var(--main-height) - var(--header-height) - var(--chat-action-height));
}
html {
font-size: 62.5%;
--svg-circle: 50%;
--white1: #fefefe;
--white2: #f7f7f7;
--white3: #fdfdfd;
--gray: #919191;
--chat-bg: #ddd8d5;
--header-bg-color: #ebefef;
--chat-action-bgcolor: #efefef;
--chat-msg-me: #caebe8;
--hover-bgcolor: #ebefef;
--active-bgcolor: #dcdddd;
--primary-color: #049588;
--primary-dark: #134e49;
--primary-light: #71ddb9;
--font-lg: 1.8rem;
--font-md: 1.6rem;
--font-sm: 1.4rem;
--font-xs: 1.2rem;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-weight: 400;
height: 100vh;
color: #333;
background-image: var(--main-bg);
display: flex;
align-items: center;
justify-content: center;
}
main {
width: var(--main-width);
height: var(--main-height);
background-color: var(--white1);
box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.25);
border-radius: 6px;
overflow: hidden;
display: flex;
flex-direction: row;
}
svg {
fill: #333;
}
a:link {
font-family: monospace;
color: #049588;
text-decoration: none;
}
a:hover {
color: #0b7068 !important;
text-decoration: underline;
}
a:active {
color: #153532 !important;
}
a:visited {
color: #049588;
}