-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
172 lines (143 loc) · 2.77 KB
/
style.css
File metadata and controls
172 lines (143 loc) · 2.77 KB
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
*, ::before, ::after{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 1rem;
font-weight: 400;
line-height: 1.4;
scroll-behavior: smooth;
}
@media only screen and (max-width: 600px) {
.main-nav{
font-size: 0.5em;
padding: 0;
}
}
.main-nav{
display: flex;
list-style: none;
font-size: 1.5em;
margin: 0;
padding-right: 50px;
background-color: dimgray;
}
.push{
margin-right: auto;
padding-left: 50px;
}
.main-nav li{
padding: 20px;
}
.perks li {
margin: 0 10px;
}
a{
color: white;
text-decoration: none;
}
.mainContainer {
max-width: 1920px;
margin: auto;
padding: 0 60px;
}
h2 {
text-align: center;
margin: 30px;
}
table {
border-collapse: collapse;
border: 1px solid gainsboro;
width: 100%;
}
.programmingLanguages P {
margin-bottom: 20px;
}
.latestVersion {
text-align: center;
}
.content {
padding-left: 30px;
}
.syntax {
padding: 0 50px;
text-align: center;
}
.cssSelectors p, .tableReference p {
text-align: center;
padding-bottom: 10px;
}
.tableHeader, .tableTags, .tableAttributes {
background-color: lightslategray;
}
.tableReference p {
margin: 20px 0;
}
table {
border-collapse: collapse;
width: 100%;
}
td, th {
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: gainsboro;
}
th {
height: 70px;
padding: 10px;
}
td {
padding: 10px;
text-align: left;
}
.example {
margin: 0 10px;
list-style-position: inside;
}
.example .globalValues {
list-style: none;
}
.semicolon {
list-style-type: square;
/* list-style: georgian outside url('/non-existent.svg'); */
}
/* FOOTER */
.footer {
margin-top: 50px;
background-color: dimgray;
color: white;
font-size: 1.1rem;
height: 70px;
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
right: 0;
left: 0;
bottom: 0;
}
.footer strong {
color: turquoise;
}
#myBtn {
display: none; /* Hidden by default */
position: fixed; /* Fixed/sticky position */
bottom: 73px; /* Place the button at the bottom of the page */
right: 10px; /* Place the button 30px from the right */
z-index: 99; /* Make sure it does not overlap */
border: none; /* Remove borders */
outline: none; /* Remove outline */
background-color: black; /* Set a background color */
color: white; /* Text color */
cursor: pointer; /* Add a mouse pointer on hover */
padding: 3px 10px; /* Some padding */
border-radius: 10px; /* Rounded corners */
font-size: 30px; /* Increase font size */
}
#myBtn:hover {
background-color: slategray; /* Add a dark-grey background on hover */
}