Commit 3dc17446 authored by Haj Rezvan's avatar Haj Rezvan

Change Search background to google background.

parent d3bb5264
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Document</title>
<style type="text/css">
.box {
width: 50%;
margin-left: 10%;
margin-top: 1rem;
font: icon;
font-size: 1rem;
}
<!-- Bootstrap CSS --> p {
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" display: -webkit-box;
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> -webkit-line-clamp: 2;
<link href="../static/file.css" rel="stylesheet"> -webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
margin: 0;
color: #555;
}
<title>موتور جست و جوی فارس</title> a {
text-decoration: none;
font-size: 1.2rem;
}
</style>
</head> </head>
<body> <body>
<h1> <div>
موتور جست و جوی فارس <img src=" {{ url_for('static', filename='amirkabir.png') }}" style="width: 7%" alt=""/>
</h1> <input
<form action="{{ url_for('index') }}" method="POST"> style="
<h4> border-radius: 1rem;
عبارت خود را برای جست و جو وارد کنید width: 50%;
</h4> height: 2rem;
<label> outline: none;
<input type="text" name="query"/> border: 1px solid #8080804a;
</label><br> margin-left: 2rem;
<input type="submit" name="submit" value="جست و جو" class="mt-1"> position: absolute;
</form> top: 1rem;
box-shadow: 0 2px 5px 1px rgba(64, 60, 67, 0.16);
<table id="results" class="table table-striped table-hover ms-1 me-1"> padding: 0 1rem;
<thead class="table-light"> "
<tr> type="text"
<th scope="row" style="font-family: 'B Titr',monospace">عنوان</th> name=""
<th scope="row" style="font-family: 'B Titr',monospace">گزیده</th> id=""
<th scope="row" style="font-family: 'B Titr',monospace">آدرس</th> />
</tr> <img
</thead> src="{{ url_for('static', filename='farsnewslogo.png') }}"
<tbody> style="width: 17%; position: absolute; right: 2rem; top: 1rem"
alt=""
/>
<hr style="color: #80808024"/>
{% for row in data %} {% for row in data %}
<tr class="text-light"> <div class="box">
<td class="ellipsis">{{ row[1] }}</td> <span>{{ row[3] }}</span>
<td class="content">{{ row[2] }}</td> <br/>
<td class="ellipsis">{{ row[3] }}</td> <a href={{ row[3] }}>{{ row[1] }}</a>
</tr> <p>
{{ row[2] }}
</p>
</div>
{% endfor %} {% endfor %}
</tbody> </div>
</table>
</body> </body>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment