-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
76 lines (61 loc) · 1.09 KB
/
style.css
File metadata and controls
76 lines (61 loc) · 1.09 KB
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
html {
box-sizing: border-box;
font-family: 'helvitica neue';
background-color: rgb(236, 152, 16);
font-size: 20px;
font-weight: 200;
background: url('./pattern.svg');
}
body {
margin: 0;
}
*, *:before, *:after {
box-sizing: inherit;
}
/* made custom scrollbar*/
::-webkit-scrollbar {
width: 15px;
}
::-webkit-scrollbar-track {
background: #bf5da2;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: #a00d74;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #5f0845;
}
.container {
max-width: 700px;
background: white;
margin: 100px auto;
padding: 40px;
text-align: justify;
}
h1 {
margin-top: 0;
}
.align-left {
float: left;
margin-right: 20px;
}
.align-right {
float: right;
margin-left: 20px;
}
.slide-in {
opacity: 0;
transition: all .5s;
}
.align-left.slide-in {
transform: translateX(-30%) scale(0.95);
}
.align-right.slide-in {
transform: translateX(30%) scale(0.95);
}
.slide-in.active {
opacity: 1;
transform: translateX(0%) scale(1);
}