-
Notifications
You must be signed in to change notification settings - Fork 0
/
modulw2styles.css
86 lines (75 loc) · 1.32 KB
/
modulw2styles.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
* {
box-sizing: border-box;
}
h1 {
font-size: 27px;
font-family: Georgia serif;
text-align: center;
color: rgb(0, 0, 0);
margin-bottom: 30px;
}
p {
padding: 15px 5px 0px 5px;
font-family: Georgia sans-serif;
font-size: 16px;
position: relative;
}
.section {
background-color: rgb(150, 150, 150);
border: 2px solid black;
margin-top: 20px;
margin-right: 20px;
padding: 3px;
text-align: justify;
position: relative;
}
span {
font-size: 20px;
width: 150px;
border: 1px solid black;
font-weight: bold;
text-align: center;
float: right; top :0; right: 0; margin: 0;
position: absolute;
}
#nr1 {
background-color: rgb(250, 150, 150);
color: rgb(0, 0, 0);
}
#nr2 {
background-color: rgb(250, 0, 0);
color: rgb(250, 250, 250);
}
#nr3 {
background-color: rgb(200, 200, 100);
color: rgb(0, 0, 0);
}
}
.row {
width: 100%;
}
/* Desktop PC view */
@media (min-width: 992px) {
.col-lg-4 {
width: 33.33%;
float: left;
}
}
/* Tablet PC view */
@media (min-width: 768px) and (max-width: 991px) {
.col-md-6 {
width: 50%;
float: left;
}
.col-md-12 {
width: 100%;
float: left;
}
}
/* Cell phone view */
@media (max-width: 767px) {
.col-sx-12 {
float: left;
width: 100%;
}
}