РАСКУР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;
}
.btn-container button {
.btn-container .btn {
width: 69px;
height: 69px;
margin: 10px;
background: #222;
color: white;
border-radius: 15px;
border: none;
outline: none;
text-decoration: none;
display: flex;
justify-content:center;
align-items:center;
}
.btn-container button:hover {
.btn-container .btn:hover {
transform: scale(1.2);
-webkit-transition: transform 0.5s ease-in-out;
background: white;
color: green;
}
.btn-container button:active {
.btn-container .btn:active {
transform: scale(0.8);
-webkit-transition: transform 0.2s ease-in-out;
}
@ -136,5 +138,3 @@ body {
margin-top: 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>
<html lang="ru">
<head>
<link rel="stylesheet" href="{{ url_for('static', filename='assets/css/fonts.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='assets/css/style.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/fonts.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
<title>thematdev</title>
</head>
<body>
@ -12,15 +12,15 @@
<p> Тут можно подпись какую-то сделать </p>
<p> Ваш IQ: {{ random_number }}</p>
<div class="btn-container">
<button onclick="location.href='{{texlink}}'" type="button" class="btn-tex">
<p> TeX </p>
</button>
<button type="button">
<a href="{{texlink}}" class="btn btn-tex">
TeX
</a>
<a class="btn">
Wiki
</button>
<button onclick="location.href='https://t.me/thematdev'" type="button">
</a>
<a class="btn" href="https://t.me/thematdev">
TG
</button>
</a>
</div>
</div>
</div>
@ -31,7 +31,7 @@
{% for project in projects %}
<div class="project-element">
<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>
</div>
{% endfor %}

View File

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