-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
104 lines (89 loc) · 1.4 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
* {
box-sizing: border-box;
}
body{
margin: 0;
padding: 0;
font-family: "Comic Sans MS", cursive, sans-serif;
}
.row{
margin-top: 5%;
margin-bottom: 5%;
}
h1 {
margin-bottom: 15px;
text-align: center;
color: #ff4532;
font-size: 50px;
}
.box{
width: 100%;
overflow: none;
}
.content-name{
overflow: none;
text-align: center;
border: 4px solid black;
width: 100px;
height: 40px;
padding: 5px;
float: right;
margin-right: 36px;
margin-top: 0px;
font-weight: bold;
position: relative;
}
.content{
border: 5px solid black;
width: 90%;
height: auto;
margin: 2.5%;
color: black
font-size: 25px;
padding: 2%;
padding-top: 55px;
background-color: rgba(0,0,0,0.3);
}
.name1{
background-color: #FFB6C1;
}
.name2{
color: white;
background-color: #FF0000;
}
.name3{
background-color: #FFFF00;
}
/********** Large devices only **********/
@media (min-width: 992px) {
.col-lg-4 {
float: left;
width: 33.33%;
}
}
/********** Medium devices only **********/
@media (min-width: 768px) and (max-width: 991px) {
.col-md-6,.col-md-12 {
float: left;
}
.col-md-6 {
width: 50%;
}
.col-md-12 {
margin-left: -10px;
width: 100%;
}
.name3{
margin-right: 65px;
width: 100px;
}
}
@media (min-width: 0px) and (max-width: 767px) {
.col-sm-12 {
float: left;
width: 100%;
}
.content-name{
margin-right: 30px;
}
}