Skip to content

Commit cbf8f37

Browse files
committed
allowedhosts
1 parent c54e154 commit cbf8f37

2 files changed

Lines changed: 122 additions & 1 deletion

File tree

hello/static/cover.css

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
/*
2+
* Globals
3+
*/
4+
5+
/* Links */
6+
a,
7+
a:focus,
8+
a:hover {
9+
color: #fff;
10+
}
11+
12+
/* Custom default button */
13+
.btn-secondary,
14+
.btn-secondary:hover,
15+
.btn-secondary:focus {
16+
color: #333;
17+
text-shadow: none; /* Prevent inheritance from `body` */
18+
background-color: #fff;
19+
border: .05rem solid #fff;
20+
}
21+
22+
23+
/*
24+
* Base structure
25+
*/
26+
27+
html,
28+
body {
29+
height: 100%;
30+
background-color: #333;
31+
}
32+
33+
body {
34+
display: -ms-flexbox;
35+
display: -webkit-box;
36+
display: flex;
37+
-ms-flex-pack: center;
38+
-webkit-box-pack: center;
39+
justify-content: center;
40+
color: #fff;
41+
text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
42+
box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
43+
}
44+
45+
.cover-container {
46+
max-width: 42em;
47+
}
48+
49+
50+
/*
51+
* Header
52+
*/
53+
.masthead {
54+
margin-bottom: 2rem;
55+
}
56+
57+
.masthead-brand {
58+
margin-bottom: 0;
59+
}
60+
61+
.nav-masthead .nav-link {
62+
padding: .25rem 0;
63+
font-weight: 700;
64+
color: rgba(255, 255, 255, .5);
65+
background-color: transparent;
66+
border-bottom: .25rem solid transparent;
67+
}
68+
69+
.nav-masthead .nav-link:hover,
70+
.nav-masthead .nav-link:focus {
71+
border-bottom-color: rgba(255, 255, 255, .25);
72+
}
73+
74+
.nav-masthead .nav-link + .nav-link {
75+
margin-left: 1rem;
76+
}
77+
78+
.nav-masthead .active {
79+
color: #fff;
80+
border-bottom-color: #fff;
81+
}
82+
83+
@media (min-width: 48em) {
84+
.masthead-brand {
85+
float: left;
86+
}
87+
.nav-masthead {
88+
float: right;
89+
}
90+
}
91+
92+
93+
/*
94+
* Cover
95+
*/
96+
.cover {
97+
padding: 0 1.5rem;
98+
}
99+
.cover .btn-lg {
100+
padding: .75rem 1.25rem;
101+
font-weight: 700;
102+
}
103+
104+
#ex1Slider .slider-selection {
105+
background: #BABABA;
106+
}
107+
108+
.slider.slider-horizontal{
109+
width:240px; /* sample value - set it as you like*/
110+
}
111+
112+
.progrss {
113+
width:240px;
114+
}
115+
116+
/*
117+
* Footer
118+
*/
119+
.mastfoot {
120+
color: rgba(255, 255, 255, .5);
121+
}

hello/templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<!-- <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet"> -->
2222

2323
<!-- Custom styles for this template -->
24-
<link href="{% static 'css/cover.css'%}" rel="stylesheet">
24+
<link href="{% static 'cover.css'%}" rel="stylesheet">
2525
</head>
2626

2727
<body class="text-center">

0 commit comments

Comments
 (0)