add css
This commit is contained in:
parent
a7a46bddbb
commit
f97b776d7d
Binary file not shown.
6
app.py
6
app.py
|
|
@ -15,6 +15,12 @@ def differentiation():
|
||||||
if not request.form.get("function"):
|
if not request.form.get("function"):
|
||||||
return apology("must provide a function", 400)
|
return apology("must provide a function", 400)
|
||||||
f = request.form.get("function")
|
f = request.form.get("function")
|
||||||
|
"""
|
||||||
|
TODO:
|
||||||
|
take Function
|
||||||
|
analyse to find most common letter (our variable)
|
||||||
|
set that as the basis for symbols
|
||||||
|
"""
|
||||||
x = symbols('x')
|
x = symbols('x')
|
||||||
f = sympify(f)
|
f = sympify(f)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,47 @@
|
||||||
|
nav .navbar-brand
|
||||||
|
{
|
||||||
|
/* size for brand */
|
||||||
|
font-size: xx-large;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* colors for brand */
|
||||||
|
nav .navbar-brand .blue
|
||||||
|
{
|
||||||
|
color: #537fbe;
|
||||||
|
}
|
||||||
|
nav .navbar-brand .red
|
||||||
|
{
|
||||||
|
color: #ea433b;
|
||||||
|
}
|
||||||
|
nav .navbar-brand .yellow
|
||||||
|
{
|
||||||
|
color: #f5b82e;
|
||||||
|
}
|
||||||
|
nav .navbar-brand .green
|
||||||
|
{
|
||||||
|
color: #2e944b;
|
||||||
|
}
|
||||||
|
|
||||||
|
main .form-control
|
||||||
|
{
|
||||||
|
/* center form controls */
|
||||||
|
display: inline-block;
|
||||||
|
|
||||||
|
/* override Bootstrap's 100% width for form controls */
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
main
|
||||||
|
{
|
||||||
|
/* scroll horizontally as needed */
|
||||||
|
overflow-x: auto;
|
||||||
|
|
||||||
|
/* center contents */
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
main img
|
||||||
|
{
|
||||||
|
/* constrain images on small screens */
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<!-- https://favicon.io/emoji-favicons/money-mouth-face/ -->
|
<!-- https://favicon.io/emoji-favicons/money-mouth-face/ -->
|
||||||
<link href="/static/favicon.ico" rel="icon">
|
<link href="/static/favicon.ico" rel="icon">
|
||||||
<link href="/static/styles.css" rel="stylesheet">
|
<link href="{{ url_for('static', filename='styles.css')}}" rel="stylesheet">
|
||||||
|
|
||||||
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
|
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue