-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
163 lines (142 loc) · 2.98 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
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
155
156
157
158
159
160
161
162
163
body {
width: 75%;
margin: auto;
font-family: Trebuchet MS, Helvetica, sans-serif;
}
section {
margin: 10em 0em; /* breaks up sections vertically */
/*border: 2px solid red; temporary for visual help. REMOVE BEFORE SUBMISSION*/
}
header div {
padding: 2em;
border: 0.1em solid black;
background: url("images/background.jpg") no-repeat center center fixed; /* "fixed" gives the window effect as you scroll by */
background-size: cover; /* Resize the background image to cover the entire container */
background-color: #e5dce2; /* backup background if image is unavailable*/
}
footer {
text-align: center;
}
/* Text and content */
p {
font-size: 1em;
line-height: 1.5em;
}
li {
margin-bottom: 1em; /* gives list items some breathing room */
}
.centered {
text-align: center;
}
/* navigation */
nav {
margin-bottom: 1em; /* give a little breathing room for nav and hr*/
}
nav h3 {
color: #b8bfb0;
margin-bottom: -0.3em;
}
nav ol {
list-style-type: none; /* clears default styles from nav list*/
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
justify-content: center;
}
nav li {
margin: 0.5em; /* creates space between nav items*/
background-color: #ebede9;
border-radius: 1em; /*rounds the corners of nav item bg*/
text-align: center;
}
nav li a {
padding: 0.5em; /* increases size of background for each nav item*/
display: block; /* makes entire area clickable */
letter-spacing: 0.3em;
}
@media all and (min-width: 700px) {
nav ol {
display: flex;
flex-direction: row;
justify-content: space-between;
}
nav li {
flex: 1; /* nav item backgrounds fill full width of nav bar */
}
}
/* Headings */
h3,
h2,
h1 {
text-align: center; /* center all headings*/
}
h2 {
color: grey;
letter-spacing: 0.4em;
}
/* containers for flexbox */
.group {
display: flex;
flex-direction: column;
/*border: 2px solid green; temporary for visual help. REMOVE BEFORE SUBMISSION*/
}
@media all and (min-width: 700px) {
.group {
flex-direction: row;
}
}
.item {
flex: 1;
/*border: 2px solid #EBEDE9; temporary to visualize my flexbox layout */
margin: 2px; /*temporary to give some room to visualize my flexbox layout */
padding: 5px; /* gives space between item border and contents. temporary depending on how item borders change in future versions */
}
.project {
border: 2px solid #ebede9;
}
/* Images */
.centered-image {
margin: auto;
width: 100%;
max-width: 20em;
display: block;
/*border: 2px dotted blue; temporary for visual help. REMOVE BEFORE SUBMISSION*/
}
.small {
max-width: 5em;
}
.ghost {
opacity: 0.75;
}
.ghost2 {
opacity: 0.05;
}
.mat {
background-color: #ebede9;
}
/* Link styling */
a {
text-decoration: none; /* removes underline */
}
a:link {
color: blue;
}
nav a:link {
color: black;
}
a:visited {
color: purple;
}
a:hover {
color: green;
cursor: pointer;
}
/* a:active {
color: rgb(13, 63, 34);
} */
/* Contact Form */
form input,
form textarea {
width: 100%;
}