forked from ceciliaxli/ceciliaxli.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
106 lines (92 loc) · 1.56 KB
/
style.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
/* global */
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono');
.grid-2{
display: grid;
grid-template-columns: repeat(2,1fr);
}
body{
margin: 0;
padding: 0;
font-family: 'Roboto Mono', sans-serif;
background-color: #101214;
color: #7A7C80;
}
h2,.white{
color: #fff;
}
a{
/*color: #7A7C80;*/
color: #fff;
text-decoration: none;
}
/* section 1 */
.section-1{
padding-top: 35vh;
/*padding-bottom: 40vh;*/
padding-left: 20vw;
text-align: center;
}
.section-1 p{
font-size: 1rem;
padding-bottom: 10px;
margin:0;
}
.section-1 h2{
font-size: 1.6rem;
margin-bottom: 10px;
}
.section-1 a{
font-size: 1.4rem;
padding: 10px;
}
/* section 2 */
.section-2{
padding-top: 25vh;
/*padding-bottom: 25vh;*/
width: 70%;
}
.section-2 h2{
font-size: 1rem;
margin-bottom: 10px;
}
.section-2 p{
font-size: 0.8rem;
padding-bottom: 10px;
margin:0;
}
.section-2 a{
font-size: 0.8rem;
padding-left: 0;
width: 100px;
}
/* animations / utilities */
.section-2 a:hover{
font-size: 0.9rem;
color: #fff;
cursor: pointer;
transition: 0.2s;
}
.section-1 a:hover{
color: #fff;
cursor: pointer;
transition: 0.3s;
}
.white:hover{
position: relative;
padding-left: 10px;
}
/* media queres */
@media(max-width:780px){
.grid-2{
grid-template-columns: 1fr;
}
.section-1{
padding:0;
padding-top: 5rem;
}
.section-2{
padding: 0;
padding-left: 1.5rem;
padding-top: 2rem;
}
}