-
Notifications
You must be signed in to change notification settings - Fork 42
/
latex.css
99 lines (88 loc) · 2.19 KB
/
latex.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
/*Formatting button used to scroll to top*/
.toTop{
position: fixed;
width: 60px;
height: 60px;
background-color: rgba(0, 0, 0, 0.3);
z-index: 9999;
float: right;
margin-top: 300px;
transition: all ease-in-out 0.5s;
}
/*Alters the position of scroll button for mobile screens*/
@media screen and (max-width: 500px) {
.toTop{
margin-top: 100px;
}
}
/*Creates the arrow used in the scroll to top button*/
.arrow {
border: solid rgba(0,0,0,0.7);
border-width: 0 3px 3px 0;
display: inline-block;
padding: 3px;
transform: rotate(-135deg) scale(2);
transition: all ease-in-out 0.5s;
}
/*Centers arrow inside the toTop Div*/
.center {
margin: auto;
margin-left: 25%;
margin-top: 25%;
padding: 10px;
}
/*Desktop view*/
@media screen and (min-width: 700px) {
.latexContainer{
width: 70%;
height: auto;
position: relative;
margin: auto;
margin-top: 20px;
margin-bottom: 40px;
transform: translateY(20px);
background-color: rgba(255, 255, 255, 0.925);
border-radius: 10px;
padding-bottom: 10px;
box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
}
/*Mobile view*/
@media screen and (max-width: 700px) {
.latexContainer{
width: 95%;
height: auto;
position: relative;
margin: auto;
margin-bottom: 70px;
transform: translateY(20px);
background-color: rgba(255, 255, 255, 0.925);
border-radius: 10px;
padding-bottom: 10px;
box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
}
/*Formatting for the containers holding pages content*/
.latexContainer h1{
text-align: center;
padding: 15px;
padding-top: 30px;
}
.latexContainer h3{
text-align: left;
padding: 15px;
padding-top: 30px;
padding-left: 50px;
}
.latexContainer p{
padding-left: 60px;
padding-right: 60px;
text-align: left;
}
.latexContainer ul{
list-style-type: circle;
align-content: center;
text-align: left;
list-style-position: inside;
padding-left: 60px;
}