-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdemo3.css
36 lines (30 loc) · 987 Bytes
/
demo3.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
/* This is how you write a comment in CSS! */
/* Make the navbar links sliiide to their targets, instead of jumping. */
html {
scroll-behavior: smooth;
}
/* Color the background and add some space to the sides of the main column. */
.container-fluid {
background-color: #F8B003;
/* We use !important to override the padding setting that Bootstrap already put for the container-fluid class. */
padding-left: 10% !important;
padding-right: 10% !important;
}
/* Color the main column background white. */
.col {
background-color: white;
}
/* Put a nice frame with smoothened corners and a soft shadow around all images on the page. */
img {
border: 4px solid white;
border-radius: 4px;
box-shadow: 0px 4px 8px rgba(17,17,17,0.2);
}
/* Color the second (photography) section's background light gray for contrast. */
#photography {
background-color: whitesmoke;
}
/* Space out the photos in our gallery a little. */
.thumbnail {
margin: 4%;
}