generated from nicolas-van/bootstrap-4-github-pages
-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
130 lines (108 loc) · 1.71 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
body, html {
margin: 0;
font-family: Arial, sans-serif;
font-size: 0.75vw;
width: 100%;
text-align: center;
color:#333;
}
h1{
font-size: 4rem;
}
h2{
font-size: 3rem;
}
h3{
font-size: 2rem;
}
h4{
font-size: 1.5rem;
font-weight: normal;
font-style: italic;
}
p{
font-size: 2rem;
text-align: left;
line-height: 1.5;
}
hr{
border-width:0;
}
img{
text-align: center;
width: 50%;
}
/*----------------- navbar ------------------- */
.navbar {
background-color: #fff;
padding: 1.5vw 3vw;
color: #333;
position: sticky;
top: 0;
z-index: 100;
display: flex;
justify-content: center;
align-items: center;
border-bottom: 1px solid #333;
/* border: 2px solid red; */
}
.nav-links {
font-size: 1.5rem;
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
}
.nav-links li {
margin-left: 2vw;
transition: transform 0.1s ease-in-out;
}
.nav-links li:hover{
transform:scale(1.1);
}
.nav-links a {
text-decoration: none;
color: #333;
font-weight: normal;
}
/*----------------- blocks ------------------- */
.block{
margin: 0vw 12vw;
}
.materials p{
text-align: center;
}
.headshots{
display:flex;
margin: 5vw;
}
.headshot-block{
flex:1;
text-align: center;
}
.headshot-block img{
border-radius: 50%;
}
.code_link{
color:#333;
font-size: 3rem;
font-weight:bold;
}
.ref-links{
list-style-type: none;
font-size:2rem;
}
.ref-links li a{
text-align: center;
/* text-decoration: none; */
color:#333;
}
.configs{
display:flex;
justify-content: center;
}
.configs img{
flex:1;
margin: 1vw;
width: 20%;
}