-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
98 lines (91 loc) · 2.08 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
/* Here I will need to implement horizontal alignment of the website */
*, :after, :before {
-webkit-box-sizing: inherit;
box-sizing: inherit;
}
body {
display: block;
margin: 8px;
}
html {
overflow-y: scroll;
min-height: 100%;
-webkit-font-smoothing: antialiased;
}
@media(max-width:768px) {
.background{
}
}
/* Do not use divs for background as it has to be over all of other difs and would mean just BODY. Instead use img tag to implement the background later in img section here. */
.background-scroll {
display: inline-block;
vertical-align: top;
overflow: visible;
position: relative;
background-color: rgb(71, 63, 63);
width: auto;
height: 100%;
z-index: 2;
}
#background1,
#background2,
#background3 {
aspect-ratio: 16/ 9;
border-left: 50px;
border-color: grey;
padding-right: 100px;
}
div {
}
/* Testing selectors here */
h1 {
color: white;
}
/* This one is "class" connected */
.introduction {
font-weight: bold;
}
/* This one is connected to the "id" */
#expectations {
color: red;
border: 2px solid;
}
img {
max-height: auto;
margin: auto;
}
/* This example shows, that on small "rank" we have a selector.
First goes id which is # in CSS. Then comes class which is period in the CSS world.
Then goes type selectors which is written as they are like "p" from CSS to HTML is <p></p> */
.introduction,
.tools_and_background,
.the_purpose_of_the_website,
.interpretation {
white-space: nowrap;
}
/* This is an example of chaining selectors together into something new.*/
.interpretation#steps_of_production {
align-items: center;
}
.introduction {
display: inline-flex;
flex-direction: row;
position: fixed;
max-height: 1080px;
height: 700px;
top: 0px;
width: auto;
margin-left: 20px;
}
.tools_and_background {
display: -ms-inline-grid;
flex-direction: row;
overflow: auto;
flex-wrap: wrap;
position: absolute;
float: left;
align-items: center;
height: 700px;
max-height: 1080px;
width: 1500px;
}