forked from giotsere/minimalist-portfolio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
104 lines (90 loc) · 1.49 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
/* global */
@import url('https://fonts.googleapis.com/css?family=Roboto');
.grid-2{
display: grid;
grid-template-columns: repeat(2,1fr);
}
body{
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
background-color: #101214;
color: #7A7C80;
}
h2,.white{
color: #fff;
}
a{
color: #7A7C80;
text-decoration: none;
}
/* section 1 */
.section-1{
padding-top: 40vh;
text-align: center;
}
.section-1 p{
font-size: 1.1rem;
padding-bottom: 10px;
margin:0;
}
.section-1 h2{
font-size: 1.7rem;
margin-bottom: 10px;
}
.section-1 a{
font-size: 1.5rem;
padding: 10px;
}
/* section 2 */
.section-2{
padding-top: 10vh;
width: 70%;
}
.section-2 h2{
font-size: 1.7rem;
margin-bottom: 10px;
}
.section-2 p{
font-size: 1.1rem;
padding-bottom: 10px;
margin:0;
}
.section-2 a{
display: block;
padding: 5px;
font-size: 1.2rem;
padding-left: 0;
width: 100px;
}
/* animations / utilities */
.section-2 a:hover{
font-size: 1.3rem;
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;
}
}