forked from kokonior/CSS-Projects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
habicrb.css
138 lines (114 loc) · 2.23 KB
/
habicrb.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
body{
background-color: #00ffff;
background-image: linear-gradient(90deg, #FF69B4 0%, #faa6bb 65%, #00ffff 200%);
}
.container{
padding-left: 4vw;
}
.post-footer-line>*:first-child{
margin-left: 0
}
.container .timeline{
border-left: 4px solid #FF00BF;
padding: 0.5EM 2em;
cursor: pointer;
position: relative;
}
header {
background-color: #26d0c9;
width: 100%;
height: 90px;
}
.header-text {
font-size: 36px;
color: #fff;
float: left;
padding-top: 20px;
padding-bottom: 20px;
margin-left: 40px;
margin-right: 40px;
}
.header-list li {
display: inline;
color: #fff;
margin: 20px;
}
.header-list ul {
padding: 33px;
}
.main {
margin: 100px 80px;
}
.content h1 {
font-size: 140px;
}
.content h2 {
font-size: 60px;
}
.content span {
color: red;
opacity: 0.6;
}
.title {
border-bottom: 2px solid #dee7ec;
font-size: 28px;
padding-bottom: 15px;
margin-bottom: 50px;
}
.secitem {
height: 500px;
margin-top: 100px;
}
.items {
float: left;
margin-right: 40px;
}
.item p {
margin-top: 30px;
font-size: 24px;
}
.container .timeline .timeline-content{
margin: 1.5em;
box-shadow: 0px 3px 6px -2px rgba(0, 0, 0, 0.2);
max-width: 40vw;
padding: 0.5em;
}
.container .timeline .timeline-content h1{
border-bottom: 1px solid #FF00BF;
font-size: 2rem;
color: rgb(3, 44, 121);
}
.container .timeline::before{
content: " ";
height: 1em;
width: 1em;
border: 2px solid #FF00BF;
position: absolute;
left: -0.6em;
border-radius: 50%;
top: 50%;
/* transform: translateY(50%); */
background: #FF69B4;
transition: all 0.5s;
}
.container .timeline .timeline-content:hover{
box-shadow: 0 3px 16px 1px rgba(0, 0, 0, 0.1);
}
.container .timeline:hover::before{
background: aquamarine;
}
.container .timeline .timeline-date{
position: absolute;
left: -4em;
top: 48%;
/* transform: translateY(50%); */
}
@media(max-width:900px){
body{
background-color: #00ffff;
background-image: linear-gradient(90deg, #FF69B4 0%, #FF69B4 65%, #FF69B4 200%);
}
.container .timeline .timeline-content{
max-width: 100%;
}
}