-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
149 lines (148 loc) · 2.86 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
/* Start without margin and padding, setting colors */
body {
margin: 0;
padding: 0;
background-color: rgb(78, 84, 84);
color: cornsilk;
font-family: sans-serif;
}
/*Settings for all the sematic elements*/
header, nav, article, footer {
width: 80%;
margin: auto;
margin-top: 20px;
border: cornsilk solid 1px;
border-radius: 10px;
background-color: black;
padding: 20px;
}
#content {
margin: auto;
padding: 10px;
}
header, footer {
justify-content: center;
}
header {
height: 5%;
}
footer {
margin-bottom: 20px;
}
/*Headings*/
h1{
margin: auto;
font-family: 'Tangerine', cursive;
font-size: 5em;
justify-content: center;
display: flex;
}
h2 {
font-family: 'Amatic SC';
font-size: 2em;
text-decoration: none;
text-align: center;
}
/*media rules for h1 size on smaller screens*/
@media only screen and (max-width: 600px) {
h1 {
font-size: 3em;
}
}
@media only screen and (max-width: 360px) {
h1 {
font-size: 2em;
}
}
/*round image, as a block elemant*/
img {
display: block;
margin: auto;
border: cornsilk solid 2px;
border-radius: 50%;
}
/*Styling tables, dotted border, collapse border */
table {
width: 80%;
margin: auto;
margin-bottom: 20px;
color: cornsilk;
font-family: 'Amatic SC';
font-size: 1.2em;
text-align: center;
}
table,td {
border: rgb(44, 46, 46) dotted;
border-collapse: collapse;
}
/*italic*/
span {
font-style: italic;
font-weight: lighter;
}
/*icons*/
i {
font-size: 2ex;
font-weight: lighter;
}
/*smaler text for copyright*/
#copy {
font-size: 10px;
text-align: center;
}
/*almost like a logo*/
#copy span {
font-family: 'Tangerine', cursive;
font-size: x-large;
}
/*Flexbox settings, center*/
.flex-container{
display: flex;
justify-content: center;
}
/*unordered list, flex, wrap*/
.flex-container ul {
width: 100%;
display: flex;
flex-wrap: wrap;
}
/*list items, grow, no bulletpoints*/
.flex-container ul li {
flex-grow: 1;
list-style: none;
}
/*buttons*/
.flex-container button{
margin: 5px;
border: cornsilk solid 2px;
border-radius: 10%;
background-color: rgb(38, 39, 41);
color: cornsilk;
font-family: 'Amatic SC';
font-size: 2em;
text-decoration: none;
}
/*changes buttons when hoover*/
.flex-container ul li button:hover {
background-color: cornsilk;
color: black;
}
/* link text, color, no underline */
.flex-container a {
color: cornsilk;
font-family: 'Amatic SC';
/* font-size: 2em; */
text-decoration: none;
}
/*changes link text when hoover*/
.flex-container a:hover {
background-color: cornsilk;
color: black;
}
/*Images, rouded corners, flex, wrap*/
.flex-container img {
display: flex;
flex-wrap: wrap;
margin: 10px auto;
border-radius: 25%;
}