-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
108 lines (81 loc) · 1.44 KB
/
styles.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
* {
box-sizing: border-box;
}
body {
font-family: 'Montserrat', sans-serif;
line-height: 1.8;
margin: 1;
min-height: 100vh;
}
h2,
h3,
a {
color: #34495e;
}
/*------------ header and navbar --------*/
.header {
top: 0;
position: fixed;
width: 98%;
background-color: #020202;
border: 0px solid #020202;
padding-top: .0em;
padding-bottom: .0em;
-webkit-box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.75);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 2px;
}
.menuItem {
text-decoration: none;
}
.main-nav {
margin-top: 1px;
margin: 0;
padding: 0;
list-style: none;
}
.main-nav a {
color: #919090;
font-size: .89em;
padding: 1px 10px;
text-transform: uppercase;
text-align: center;
display: block;
}
.main-nav a:hover {
color: #fafafd;
}
/* Adaptive image size
https://stackoverflow.com/questions/15458650/make-an-image-responsive-the-simplest-way
*/
.responsive-image {
height: auto;
width: 100%;
}
/* =================================
Media Queries
==================================== */
@media (min-width: 769px) {
.header,
.main-nav {
display: flex;
}
.header {
flex-direction: column;
align-items: center;
.header{
width: 80%;
margin: 0 auto;
max-width: 1150px;
}
}
}
@media (min-width: 1025px) {
.header {
flex-direction: row;
justify-content: space-between;
}
}