-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
154 lines (129 loc) · 2.34 KB
/
main.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
@import url("https://fonts.googleapis.com/css?family=Muli:400,600,700");
html {
--black: #353535;
--blue: #00b0ff;
--pink: #ff0083;
--orange: #ff8c00;
--gray: #afafaf;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
color: var(--black);
height: 100vh;
}
a {
text-decoration: none;
color: inherit;
}
.home-grid {
display: grid;
width: 80%;
margin: 0 auto;
grid-template-columns: repeat(12, 1fr);
grid-template-rows: repeat(4, 1fr);
grid-gap: 20px;
}
.home-content {
grid-column-start: 2;
grid-column-end: -2;
grid-row-start: 3;
grid-row-end: 5;
}
.my-image {
grid-column-start: 2;
grid-row-start: 2;
border-radius: 5px;
}
.desc {
display: grid;
grid-template-columns: 0.1fr 0.8fr 0.5fr 0.2fr 1fr;
grid-gap: 10px;
justify-content: center;
}
h2.role {
color: var(--blue);
}
h2.adjective {
color: var(--pink);
}
h2.stuff {
color: var(--orange);
}
nav {
display: grid;
grid-template-columns: repeat(4, 1fr);
text-transform: uppercase;
font-weight: 800;
color: var(--gray);
padding-top: 100px;
}
nav div {
-moz-transition: all 100ms ease;
-webkit-transition: all 100ms ease;
-o-transition: all 100ms ease;
transition: all 100ms ease;
cursor: pointer;
}
nav .nav-item-dev:hover {
color: var(--blue);
}
nav .nav-item-des:hover {
color: var(--pink);
}
nav .nav-item-hir:hover {
color: var(--orange);
}
nav .nav-item-con:hover {
color: var(--black);
}
nav a {
justify-self: center;
align-self: center;
}
.line {
position: absolute;
}
.roles {
padding-top: 20px;
}
span#role {
color: var(--blue);
}
span#work {
color: var(--pink);
}
@media only screen and (max-width: 600px) {
body {
padding-top: 20px;
}
nav {
display: grid;
grid-template-columns: 200px;
}
.home-content {
grid-row-start: 2;
}
.my-image {
grid-column-start: 2;
grid-row-start: 1;
}
}
.portfolio-image {
border: 2px solid;
}
.portfolio {
padding: 50px;
}
.button {
padding: 10px;
color: white;
background: #00b0ff;
border-radius: 4px;
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
}