РАСКУРx3

This commit is contained in:
fox 2021-01-12 22:16:32 +03:00
parent 3b5e88055c
commit dcfaf13c08
No known key found for this signature in database
GPG Key ID: 1E36ED1DFB6FDE78
8 changed files with 19 additions and 19 deletions

View File

@ -46,25 +46,27 @@ body {
flex-direction: row; flex-direction: row;
} }
.btn-container button { .btn-container .btn {
width: 69px; width: 69px;
height: 69px; height: 69px;
margin: 10px; margin: 10px;
background: #222; background: #222;
color: white; color: white;
border-radius: 15px; border-radius: 15px;
border: none; text-decoration: none;
outline: none; display: flex;
justify-content:center;
align-items:center;
} }
.btn-container button:hover { .btn-container .btn:hover {
transform: scale(1.2); transform: scale(1.2);
-webkit-transition: transform 0.5s ease-in-out; -webkit-transition: transform 0.5s ease-in-out;
background: white; background: white;
color: green; color: green;
} }
.btn-container button:active { .btn-container .btn:active {
transform: scale(0.8); transform: scale(0.8);
-webkit-transition: transform 0.2s ease-in-out; -webkit-transition: transform 0.2s ease-in-out;
} }
@ -136,5 +138,3 @@ body {
margin-top: 20px; margin-top: 20px;
margin-bottom: 20px; margin-bottom: 20px;
} }
.

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

Before

Width:  |  Height:  |  Size: 778 B

After

Width:  |  Height:  |  Size: 778 B

View File

@ -1,8 +1,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="ru"> <html lang="ru">
<head> <head>
<link rel="stylesheet" href="{{ url_for('static', filename='assets/css/fonts.css') }}"> <link rel="stylesheet" href="{{ url_for('static', filename='css/fonts.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='assets/css/style.css') }}"> <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
<title>thematdev</title> <title>thematdev</title>
</head> </head>
<body> <body>
@ -12,15 +12,15 @@
<p> Тут можно подпись какую-то сделать </p> <p> Тут можно подпись какую-то сделать </p>
<p> Ваш IQ: {{ random_number }}</p> <p> Ваш IQ: {{ random_number }}</p>
<div class="btn-container"> <div class="btn-container">
<button onclick="location.href='{{texlink}}'" type="button" class="btn-tex"> <a href="{{texlink}}" class="btn btn-tex">
<p> TeX </p> TeX
</button> </a>
<button type="button"> <a class="btn">
Wiki Wiki
</button> </a>
<button onclick="location.href='https://t.me/thematdev'" type="button"> <a class="btn" href="https://t.me/thematdev">
TG TG
</button> </a>
</div> </div>
</div> </div>
</div> </div>
@ -31,7 +31,7 @@
{% for project in projects %} {% for project in projects %}
<div class="project-element"> <div class="project-element">
<h1> {{ project.title }}</h1> <h1> {{ project.title }}</h1>
<img src="{{ url_for('static', filename='assets/{0}'.format(project.image))}}" width=200 height=200> <img src="{{ url_for('static', filename=project.image)}}" width=200 height=200>
<p> {{ project.description }} </p> <p> {{ project.description }} </p>
</div> </div>
{% endfor %} {% endfor %}

View File

@ -3,8 +3,8 @@
<head> <head>
<title>thematdev</title> <title>thematdev</title>
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="stylesheet" href="static/assets/css/fonts.css"> <link rel="stylesheet" href="/static/css/fonts.css">
<link rel="stylesheet" href="static/assets/css/teststyle.css"> <link rel="stylesheet" href="/static/css/teststyle.css">
<script> <script>
MathJax = { MathJax = {
tex: { tex: {